How to have application go to map extent of queried feature first

96
1
02-14-2019 11:58 AM
ChristineSharp
New Contributor

I have a map url using the query parameter to go to a given selected feature (the value of the feature is passed from a script).  The application first draws the default map extent and then changes to the queried feature extent.  How do I have it skip the map's default extent and go straight to the selected feature:

My url:

https://*****.org/portal/apps/webappviewer/index.html?id=##############&query=LAYER_5623%2Cfield%2Cv...

THanks

0 Kudos
1 Reply
DerekLaw
Community Moderator

Hi MaryBeth,

It might help if you could clarify, which app in Portal for ArcGIS are you using? Is it one of the configurable app templates? or a Web AppBuilder for ArcGIS app? Which release of Portal for ArcGIS are you using?

If it is Web AppBuilder for ArcGIS, you may want to take a look at this help topic,

Use URL parameters—Web AppBuilder for ArcGIS | ArcGIS 

Hope this helps,

0 Kudos