<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using Feature Search in Embed Map URL in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124839#M6019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The app uses feature layers (individual sub layers) to search so the layers need to be added separately. One solution (although I realize its not optimal) might be to add the search layers individually with the visiblity turned off. I think the feature search should still work in this scenario. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 21:29:52 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2016-02-02T21:29:52Z</dc:date>
    <item>
      <title>Using Feature Search in Embed Map URL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124838#M6018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&amp;nbsp; I would like to configure my web map to support "feature=layerID;searchfield;searchvalue" parameter of the apps/Embed URL.&amp;nbsp; It seems to be pretty straightforward until I want to search two layers within the same map service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I set up a “By Layer” find location capability for each layer in the web map and it looks like this under the hood:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;"search":{"enabled":true,"disablePlaceFinder":false,"hintText":"Place, Address, TIP#","layers":[{"id":"&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #3d3d3d; text-decoration: underline;"&gt;NCDOT_STIP_1732&lt;/SPAN&gt;&lt;/SPAN&gt;","field":{"name":"TIP","exactMatch":false,"type":"esriFieldTypeString"},"subLayer":0},{"id":"&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #3d3d3d; text-decoration: underline;"&gt;NCDOT_STIP_1732&lt;/SPAN&gt;&lt;/SPAN&gt;","field":{"name":"TIP","exactMatch":false,"type":"esriFieldTypeString"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think because the web map references the map service, the map service id is duplicated as the search layer id instead of creating unique ids.&amp;nbsp; As a result, the URL does not find the feature in either layer.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/apps/Embed/index.html?webmap=cb02f4f828974670ad01bb83be91b18c&amp;amp;feature=NCDOT_STIP_1732;TIP;B-5339" title="http://www.arcgis.com/apps/Embed/index.html?webmap=cb02f4f828974670ad01bb83be91b18c&amp;amp;feature=NCDOT_STIP_1732;TIP;B-5339"&gt;http://www.arcgis.com/apps/Embed/index.html?webmap=cb02f4f828974670ad01bb83be91b18c&amp;amp;feature=NCDOT_STIP_1732;TIP;B-5339&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I can tell, in order to make this search work, I have to add the map service layers to the web map separately.&amp;nbsp; However, the power of referencing a map service in a web map is that all layers are grouped together.&amp;nbsp; I lose that if I add the layers separately (until AGOL supports service/layer grouping in the web map).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I’m wondering if anyone knows how to make the feature= capability work without referencing each layer separately in the web map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this makes sense.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="usertext"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="usertext"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 17:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124838#M6018</guid>
      <dc:creator>MaryEllen_Perko</dc:creator>
      <dc:date>2016-02-02T17:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Feature Search in Embed Map URL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124839#M6019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The app uses feature layers (individual sub layers) to search so the layers need to be added separately. One solution (although I realize its not optimal) might be to add the search layers individually with the visiblity turned off. I think the feature search should still work in this scenario. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:29:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124839#M6019</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2016-02-02T21:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using Feature Search in Embed Map URL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124840#M6020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the quick reply and idea.&amp;nbsp; Can you explain what you mean by turning the visibility off in a feature layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:34:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124840#M6020</guid>
      <dc:creator>MaryEllen_Perko</dc:creator>
      <dc:date>2016-02-02T21:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using Feature Search in Embed Map URL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124841#M6021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just mean unchecking the check box next to the layer in the Web Map.&amp;nbsp; So it would look like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://jsapi.maps.arcgis.com/apps/Embed/index.html?webmap=b71b8e95a6744c9094e469cf8ee284b1&amp;amp;feature=NCDOT_STIP_6978;TIP;B-5339" title="http://jsapi.maps.arcgis.com/apps/Embed/index.html?webmap=b71b8e95a6744c9094e469cf8ee284b1&amp;amp;feature=NCDOT_STIP_6978;TIP;B-5339"&gt;http://jsapi.maps.arcgis.com/apps/Embed/index.html?webmap=b71b8e95a6744c9094e469cf8ee284b1&amp;amp;feature=NCDOT_STIP_6978;TIP;B-5339&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test App&lt;IMG alt="Screen Shot 2016-02-02 at 1.42.22 PM.png" class="image-1 jive-image" src="/legacyfs/online/177038_Screen Shot 2016-02-02 at 1.42.22 PM.png" style="width: 620px; height: 415px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/apps/Embed/index.html?webmap=b71b8e95a6744c9094e469cf8ee284b1&amp;amp;feature=NCDOT_STIP_6978;TIP;B-5339" title="http://www.arcgis.com/apps/Embed/index.html?webmap=b71b8e95a6744c9094e469cf8ee284b1&amp;amp;feature=NCDOT_STIP_6978;TIP;B-5339"&gt;http://www.arcgis.com/apps/Embed/index.html?webmap=b71b8e95a6744c9094e469cf8ee284b1&amp;amp;feature=NCDOT_STIP_6978;TIP;B-5339&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:42:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124841#M6021</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2016-02-02T21:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Feature Search in Embed Map URL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124842#M6022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay.&amp;nbsp; I see.&amp;nbsp; The map also needs to work in the AGOL map viewer.&amp;nbsp; But I'll file the idea away.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:55:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-feature-search-in-embed-map-url/m-p/124842#M6022</guid>
      <dc:creator>MaryEllen_Perko</dc:creator>
      <dc:date>2016-02-02T21:55:16Z</dc:date>
    </item>
  </channel>
</rss>

