<?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 Can a maptip call a relationship query? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-a-maptip-call-a-relationship-query/m-p/333866#M8579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How would you go about having a maptip call a relationshipquery on the fly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically I have a feature layer which uses maptips. When a user hover over a feature I want to do a relationship query and add the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; value of a field(s) returned from the relationshipquery to the maptip. I cannot find any good samples. Can anyone post/point me a good sample?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 14:40:42 GMT</pubDate>
    <dc:creator>AngelGonzalez</dc:creator>
    <dc:date>2013-04-10T14:40:42Z</dc:date>
    <item>
      <title>Can a maptip call a relationship query?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-a-maptip-call-a-relationship-query/m-p/333866#M8579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How would you go about having a maptip call a relationshipquery on the fly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically I have a feature layer which uses maptips. When a user hover over a feature I want to do a relationship query and add the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; value of a field(s) returned from the relationshipquery to the maptip. I cannot find any good samples. Can anyone post/point me a good sample?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 14:40:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-a-maptip-call-a-relationship-query/m-p/333866#M8579</guid>
      <dc:creator>AngelGonzalez</dc:creator>
      <dc:date>2013-04-10T14:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can a maptip call a relationship query?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-a-maptip-call-a-relationship-query/m-p/333867#M8580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know for sure, but I don't think that the maptips are really generated on the fly. Keep in mind that (USUALLY) you bind the data in the xaml. So I assume (always dangerous to do so) that the actual generation is done under the hood, and it's not possible to tie a query to the maptip.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think your best would be to dynamically create a maptip for each graphic. Unfortunately this means having to loop through each and every graphic that will have a maptip and assign the maptip value to the result of the specified query. This also means that you have to run the query for each graphic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 14:48:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-a-maptip-call-a-relationship-query/m-p/333867#M8580</guid>
      <dc:creator>PhilipKnight1</dc:creator>
      <dc:date>2013-04-10T14:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can a maptip call a relationship query?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-a-maptip-call-a-relationship-query/m-p/333868#M8581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How would you go about having a maptip call a relationshipquery on the fly?&lt;BR /&gt;&lt;BR /&gt;Basically I have a feature layer which uses maptips. When a user hover over a feature I want to do a relationship query and add the&lt;BR /&gt; value of a field(s) returned from the relationshipquery to the maptip. I cannot find any good samples. Can anyone post/point me a good sample?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know any sample but you could develop your own maptip control and from the attributes of the graphic (the attributes dictionary is set as the datacontext of the maptip), you could retrieve the related object and bind it to your custom maptip.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 05:17:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-a-maptip-call-a-relationship-query/m-p/333868#M8581</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-04-16T05:17:29Z</dc:date>
    </item>
  </channel>
</rss>

