AnsweredAssumed Answered

How to use parameter as field reference and as string?

Question asked by jeffwirth on Sep 28, 2018
Latest reply on Sep 28, 2018 by jeffwirth

I am passing an optional script parameter to use in two ways in my scripts. I'd like the "Optional script parameter" to contain the fully qualified field reference of tableName::fieldName because this will update, if I change the name of the field. In my script, in addition to using it as a field reference, I also want to programmatically add quotes around the field reference so that it looks like "tableName::fieldName" (including the quotation marks) making it a string to reference in the script when I need it.


Here's my question: In a script, how can I get the fully qualified field name from the optional script parameter and turn it into a text string?


Thanks for any advice you can offer.