Referencing string values in tFileInputJson using URL

Four Stars

Referencing string values in tFileInputJson using URL

Hi kind people, 

 

I'm trying to use a sting value inside a URL in a tFileInputJson and get the following error:

 

The method coords(String) is undefined for the type. 

 

coords is a string value 

 

Please help me, what am I doing wrong?Screen Shot 2018-08-07 at 13.38.22.png

Seven Stars

Re: Referencing string values in tFileInputJson using URL

You URL needs to have the globalMap.get() outside of the literal text of the URL, something like:

 

"https://maps................" + (String)globalMap.get("row1.coords") + "&key=XXXXXXX"

Regards

David

Don't forget to give Kudos when an answer is helpful or the solution.