How to Use a Button to add a Page Link in a Table (also how to access thisPage)

If you would like to be able to press a button and have my current page added as a link in a table, this is how you do it.

I can easily use links to access pages from other pages:

I would like to be able to create links to other pages inside of a table by pressing a button.

You would think this would work:

But that seems to cause an error. To get around this, you can create a formula named thisPage that looks something like this:

Then you can reference thisPage in your button like this:

Sure enough, clicking the button adds a link to your table:

Bit hacky, but nice to know!

4 Likes

I think the keyword thisPage should become a first class member, just like thisRow is in tables, and then I would be able to access table names on that particular page. Hopefully that sort of namespace control is coming.

1 Like

Great insight! How do go and create a formula? Do you do this inside our outside of the table?

Thanks!

You can create a formula with the equal sign = both in and out of tables

El El jue, oct. 1, 2020 a la(s) 4:54 a. m., Thomas Guyon via The Coda Community <coda1@discoursemail.com> escribió: