Select to view content in your preferred language

Passing lat long from one App to another

219
2
Jump to solution
05-22-2024 09:38 AM
Scott_Shenberger
New Contributor II

I am trying to pass one location from one app to another. I have the following code:

var url = "https://myportal/portal/apps/webappviewer/index.html?id=bdaa341db0b545a29df20d85d93b051f&center=" + text(Longitude) + "," + text(Latitude)+"&"+ "scale="+text(Scale);

return url

I can pass to this web app from another web app with no issues but when I try to pass to another web app that has a url of "https://myportal:3344/webappbilder/apps/5" the process errors out. Can I pass to a url with the above format?

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
BrianLeroux
Regular Contributor
0 Kudos
2 Replies
BrianLeroux
Regular Contributor
0 Kudos
Scott_Shenberger
New Contributor II

That worked perfect! Thank you!

0 Kudos