3 Replies Latest reply on Dec 1, 2014 10:06 AM by JimO'Connell

    Back Button Troubles

    JimO'Connell

      Title

      Back Button Troubles

      Post

      Hi, I'm trying to make a simple back button for my solution and am having some trouble. The problem in general terms is simply that it does not work, and I can't figure out why.

      Details: My script is incredibly simple

                     Set Variable [$$PreviousLayout; Value:Get ( LayoutName )]

                     Exit Script [Result: True]

      I run that script OnLayoutExit on all of my layouts and then my back button simply goes to layout by calculation with $$PreviousLayout in the calculation field.

      It is worth noting that I did have it working when I was testing it between my Home Layout and Inventory List Layout but as soon as I added it to the rest of my solution it stopped working.

      Through some testing, I've come to the conclusion that the script is somehow running after the layout actually exits. Though I have no idea why this would be true. I also could be entirely wrong.

      Any help would be appreciated.

      Thanks