Select to view content in your preferred language

I want to open a portal app passing coordinates from another application

795
1
07-28-2020 11:41 PM
JanSimpson
New Contributor

Hi. 

I have built a number of integrations from ArcGIS portal to other applications using pop-up and hyperlinks.

I now want to do the opposite. That is, I want to pass coordinates to the portal app (in the form of a url) that will open the portal at that specific location and place a marker at that point on the map. I also want to be able to define the scale of the map window.

This is easily achieved in Google Map or Google Earth by sending a url containing the details.

Can I do the same with ArcGIS Portal (Enterprise)?

If so, could you please provide details and/or where to locate relevant documentation 

Tags (1)
0 Kudos
1 Reply
dgreenin
Emerging Contributor

Yes, you can accomplish the same with Portal for ArcGIS.

 

Web Maps: 'Use URL parameters to create and modify maps'

https://enterprise.arcgis.com/en/portal/11.1/use/use-url-parameters.htm

Example: Open the web map of interest and append the following to the end of the URL: &center=20,45&level=4

 

Experience Builder: 'Pass lat/long coords to URL of Exp Builder webapp'

https://community.esri.com/t5/arcgis-experience-builder-questions/pass-lat-long-coords-to-url-of-exp...

Example: Open an experience builder of interest and append the following to the end of the URL: #widget_6=center:20%2C40%2C4326,scale:4500000

*To get the correct widget ID (Example: widget_6) for the app of interest, enter Experience Builder in Edit mode, go to Settings, and under Body toggle Map 'On'. Now when you open Experience Builder for the app of interest, pan the map and you will see the widget ID within the URL.

 

0 Kudos