How to pass input parameter in javascript?
Application Type

Hi all,

I passing input parameter in javascript(Data type-Text). i tried this way also "'"+$parameters.Poly+"'" but not worked in output.

But i was sent Hardcode value in javascript showing in output


Sathish R

Hi Sathish,

It seems like you are trying to pass an array as input parameter into the JavaScript widget. Since your array is simple (only X and Y coordinates per array item), I would just generate my own array manually with an action. You can find an example in the attached oml.



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.