I'm trying to create the return navigation for multiple Layouts, I'd like to be able to return to the correct layout.
Would the function "GetLayoutObjectAttribute be a good stating place?
If you use scripted navigation you can record the layout number as you leave the layout
set variable [$$layoutNumber ; get(layoutNumber)]
then go back to that layout using
go to layout[ by calculation = $$layoutNumber ]
You might find this useful.
You can build a list of layout names or numbers in a variable as you move from layout to layout. Then remove a listed item each time the user clicks a "back button"
Exit Script [. ]
Set Variable [$$LayoutList ; value: List ( $$LayoutList ; Get ( LayoutName ) ]
Clicking the Back button:
Set Variable [ $$TriggersOff ; True ]
Go To Layout [ Get Value ( $$LayoutList ; valueCount ( $$LayoutList ) ]
Set Variable [ $$LayoutList ; value: LeftValues ( $$LayoutList ; valueCount ( $$LayoutList ) - 1 ) ]
Set Variable [ $$TriggersOff ; False ]
Retrieving data ...