I have a client startup script that sets a couple navigation index tags and should swap to the correct screen, but the swapping part doesn't seem to be working.
The script that is called is in the project library. Basically,
- Read client tag that determines area based on IP (1,8,10,15, or 19)
- Write tier 1 index based on the area and tier 2 index to 0.
- Swap to the correct page.
Numbers 1 and 2 complete no problem, and I can see my tier 1 navigation displaying the correct "selected screen." However, the swap to does not seem to execute, or it executes before the screen that is marked as the "startup screen" opens - is that why it's not working?
I'm guessing the correct approach here is going to be to unmark the "open on startup" window and manually do it with the startup script, every time.