<?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 Query data and display without the user having to create the query in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/query-data-and-display-without-the-user-having-to/m-p/309726#M898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a feature class of sample sites and I would like to generate a map for each sample site.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, the user would click a hotlink for a map showing sample site 1, a map would open, site 1 would be queried and only site 1 displayed on the map.&amp;nbsp; The user would not have to generate the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2013 22:51:42 GMT</pubDate>
    <dc:creator>GerryGabrisch</dc:creator>
    <dc:date>2013-10-11T22:51:42Z</dc:date>
    <item>
      <title>Query data and display without the user having to create the query</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/query-data-and-display-without-the-user-having-to/m-p/309726#M898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a feature class of sample sites and I would like to generate a map for each sample site.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, the user would click a hotlink for a map showing sample site 1, a map would open, site 1 would be queried and only site 1 displayed on the map.&amp;nbsp; The user would not have to generate the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 22:51:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/query-data-and-display-without-the-user-having-to/m-p/309726#M898</guid>
      <dc:creator>GerryGabrisch</dc:creator>
      <dc:date>2013-10-11T22:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Query data and display without the user having to create the query</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/query-data-and-display-without-the-user-having-to/m-p/309727#M899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes that is possible using a behavior. I have done something similar but with a regular tool that a user needs to click to run. You can have your link set with a parameter. &lt;/SPAN&gt;&lt;A href="http://yourserver/map/?SITE=site1" rel="nofollow noopener noreferrer" target="_blank"&gt;http://yourserver/map/?SITE=site1&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The code below&amp;nbsp; will pull the parameter out to a string. Then you can pass this string into your query as needed. Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
string querySite;
public void getParameters()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dictionary&amp;lt;string, string&amp;gt; urlparams = HtmlPage.Document.QueryString as Dictionary&amp;lt;string, string&amp;gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; urlparams.TryGetValue("SITE", out querySite);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:49:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/query-data-and-display-without-the-user-having-to/m-p/309727#M899</guid>
      <dc:creator>BrianLeroux</dc:creator>
      <dc:date>2021-12-11T14:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Query data and display without the user having to create the query</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/query-data-and-display-without-the-user-having-to/m-p/309728#M900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Brian, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the information.&amp;nbsp; Can you point me in the direction of some online help on the subject?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 21:48:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/query-data-and-display-without-the-user-having-to/m-p/309728#M900</guid>
      <dc:creator>GerryGabrisch</dc:creator>
      <dc:date>2013-11-08T21:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query data and display without the user having to create the query</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/query-data-and-display-without-the-user-having-to/m-p/309729#M901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gerry, that is something you will have to program yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another alternative could be to configure the different sites in application builder and then have a html page with hyperlinks to the various sites. Might be the easiest in your case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 10:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/query-data-and-display-without-the-user-having-to/m-p/309729#M901</guid>
      <dc:creator>PietaSwanepoel2</dc:creator>
      <dc:date>2013-11-11T10:58:27Z</dc:date>
    </item>
  </channel>
</rss>

