Repository navigation
How to create a tab? #3735
|
I'm using I found that there's a method
Indeed, the filled Then I thought that if create didn't work, maybe
And that's where I stopped, not knowing what else to do. Which of these methods creates a new tab???
So if I don't provide it, text will just be placed in the first tab. If I do provide tabId, it's allowed only to be the same tabId as the first tab, meaning I just can't create new tab with text using |
Replies: 1 comment
|
Hello @horhulenko From what I found, you can now use The new tab's Official doc : https://developers.google.com/workspace/docs/api/how-tos/tabs |
Hello @horhulenko
From what I found, you can now use
addDocumentTabinbatchUpdateto create a new tab.documents.createstill ignores thetabsfield because those fields are output-only.The new tab's
tabIdis returned inaddDocumentTabresponse. You can then use thattabIdwithinsertText.Official doc : https://developers.google.com/workspace/docs/api/how-tos/tabs