Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2022-10-19 04:13 PM
Hello,
Does anyone know if there's a way to determine the layout being shown? (E.g. chosen by an AWF node.)
Thanks in advance,
Rus
2022-10-20 11:30 AM
I generally put a text box and permission only for Admins that has the name of the layout (on every layout). You could use that in a script if needed as well.
Andrea
2022-10-20 08:18 AM
Cannot it be seen from AWF modeler of the application in Application Builder directly on the User Action node for example?
2022-10-20 09:15 AM
Ilya,
I mean from javascript can the layout be determined? I've looked through page source and see no obvious way.
Its not that big a deal as I'm sure I can determine it another way, but wanted to check.
Rus
2022-10-20 09:17 AM
Nope, I do not think it is possible with API call currently. As for JS call, if you have some clear evidence defined in each layout, like you defined some unique text value per layout during design phase, then such can be extracted by JS to help end user to identify current layout. Though it is only per user interaction.
2022-10-20 11:30 AM
I generally put a text box and permission only for Admins that has the name of the layout (on every layout). You could use that in a script if needed as well.
Andrea
2022-10-21 08:52 AM
Thanks Andrea. That's similar to what I was thinking.
Rus