AnsweredAssumed Answered

Set layer definition on Webmap through URL?

Question asked by RWinter85 on Feb 1, 2013
Latest reply on Feb 1, 2013 by JGravois-esristaff
My question is that is it possible to set a layer definition on a Webmap through the URL? 

What I am essentially trying to do is I am building an app that has a profile page with a link to an AGOL webmap.  When the user clicks the link I would not only like to be able to take them to a webmap but also set a layer definition on the layer in the webmap. Each profile page is for a specific district and there are tons of districts over the whole country, can I link them to the webmap and pass in a definition expression, say something like 'DistrictId = 240042' and have that set on the map on load.