Can We Pass Variables to the GetLayoutObjectAttribute Function?

Discussion created by jeanphilippel on Jun 16, 2012
Latest reply on Jun 16, 2012 by datastride

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:




Let ([

~LayoutObjectName = Quote(get(scriptParameter))


GetLayoutObjectAttribute(~LayoutObjectName; "content")






Thank you for your help!