AnsweredAssumed Answered

Using Javascript to link a user directly to a map feature

Question asked by Geolaird on Jul 22, 2014
Latest reply on Jul 24, 2014 by Geolaird

.     Hi everyone,


I'm currently trying to work out issues with my script in the following thread and it was suggested I make a new one.


The end goal is to be able to send a link to a user, this link would than automatically select and zoom to the feature referenced by the link. This has already been done so we based the script off of a public Esri sample found here: Parcel Locator


We just wanted to get it to work with our data but it seems like we've hit every problem in the book. Now everything's working except the script still will not pull the "OBJECTID" from the URL and use it to select the feature. I suspect the error is within lines 147-164. The script also updates the URL whenever a feature is selected by clicking, this coding can be found within lines 92-106.