7 Replies Latest reply on Jun 22, 2016 2:41 PM by Mike_Mitchell

    Function to determine layout position

    laguna92651

      Is there a script function that allows me to determine if the layout I am on is the base layout or has been called by another layout?

       

      I need to set an "If" condition depending on whether the layout, L100, I'm on is the base layout or if the layout, L100, has been called by a script on another layout, L99? I need to clear some global fields depending on whether the layout, L100, in question was called or not.

       

      In other words if the layout, L100, I am on is the base layout, the function evaluates to 1. (What ever the function uses)

      If the same layout, L100, was called by another layout, L99, via a script it evaluates to 2.