Hi,
I want to insert buttons that send you to the next page in a playbook I am working on in Coda. Is there any better way to do it than by copy-pasting the URL of the page?
And these 2 topics could give you some inspiration too …
As for this …
… I think that instead of using the Doc “internal” url, so the one returned by:
thisDocument.ObjectLink().ToText()
Which outputs something looking like :
https://coda.io/d/_dDoc_ID
You would need to use the published doc URL
https://coda.io/@username/doc-title
… and probably use the published Page IDs (which Coda creates automatically) in the navigation table … or just the full URL of each published page you want to open with your buttons.
But I don’t think the url are automatically updated though … Hence why using a table might be a plus (as you would just need to update each URL once instead of modifying each buttons )