8 Replies Latest reply on Jun 16, 2012 12:11 PM by datastride

    Can We Pass Variables to the GetLayoutObjectAttribute Function?

    jeanphilippel

      To whoever will read this, Hello!

       

      I have been struggling with a problem for quite a while now, and I'm starting to wonder whether that is feasible at all. I was trying to define a variable and then pass that variable to the GetLayoutObjectAttribute's object name parameter. I tried to Quote() it, doesn't work more. Can that be done, or wcan we only pass literal expressions to that function. I could not find help on that subject anywhere, and the explanations for that function are quite limited.

       

      Visually, here's the logic I was using:

       

      <code>

       

      Let ([

      ~LayoutObjectName = Quote(get(scriptParameter))

      ];

      GetLayoutObjectAttribute(~LayoutObjectName; "content")

      )

       

      </code>

       

       

      Thank you for your help!

       

       

      JPL