How to pass input parameter in javascript?
Question
Application Type
Mobile

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

Thanks,

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.

Cheers

MakeCoordinatesArrayOutOfList.oml

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