I have a dynamic object which returns the page a button should be navigated too.
I see there is a context.pages object with a list of all the pages, including an id and path for each. I am trying to use the id for the editor which works and the path for the published app but it isn’t working.
How am I able to bind the page property dynamically?
I also want system to navigate to specific page which is previously saved to a variable.
If I bind page [id] or page path or page itself, it doesn’t redirect even in editor, just doesn’t work.
what exactly from “page” should I save to var and then bind? what am I doing wrong?) thanks in advance.
@Anna.fae Yours won’t be working because you aren’t using the ID. You can see the current value isn’t just the id. You have concatenated the context.pages object.