2 Replies Latest reply on Feb 13, 2015 1:49 PM by AlfredoMolinolo

    Go To Layout using a variable

    AlfredoMolinolo

      Title

      Go To Layout using a variable

      Post

      I'm trying to pass the name of a layout as part of a long string parameter with each string separated by a hard return.

      If I pass just one parameter and I use Go To Layout(Get(ScriptParameter)) it works perfectly. 

      If a use a string parameter with values separated by hard returns and then do Go to Layout(LeftValues(Get(ScriptParameter);1)) it does not; neither does it work if I save the name to a variable Set Variable($Layoutname; Get(ScriptParameter)) or Set Variable($Layoutname; LeftValues(Get(ScriptParameter);1), and then Go To Layout ($LayoutName) 

       

      Any thoughts?

       

      Thanks!