<?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: How to get the attributes from the relational table by using identify? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280473#M7335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;With ArcGIS Silverlight/WPF API v2.0, you can use QueryTask (similar to the JavaScript sample as Dominique cited below).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;QueryTask qt = new QueryTask(featureLayer.Url); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;qt.DisableClientCaching = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RelationshipParameter rp = new RelationshipParameter();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rp.ObjectIds = new int[] { objectId }; //object id from featureLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rp.OutFields = new string[] { "agree_with_incident" }; //fields from related table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rp.RelationshipId = relationshipId; //can be retrieved from featureLayer's LayerInfo.Relationships&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;qt.ExecuteRelationshipQueryCompleted += qt_ExecuteRelationshipQueryCompleted;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;qt.ExecuteRelationshipQueryAsync(rp);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jennifer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jul 2010 15:30:39 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2010-07-23T15:30:39Z</dc:date>
    <item>
      <title>How to get the attributes from the relational table by using identify?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280468#M7330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Within our map service, one layer has a related table (not join). I want to get the assocated information from this table when using identify. How can this be fulfilled? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, it seems that ADF can fulfill this by using default setting. But I tried with silverlight API, I cannot retrive the related table attributes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 01:16:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280468#M7330</guid>
      <dc:creator>weiliang</dc:creator>
      <dc:date>2010-06-10T01:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the attributes from the relational table by using identify?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280469#M7331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Support for querying related data will be available with ArcGIS Server v10 and the upcoming release of the Silverlight API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 06:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280469#M7331</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-11T06:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the attributes from the relational table by using identify?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280470#M7332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you know if this would be available for the API JavaScript?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280470#M7332</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2010-07-23T09:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the attributes from the relational table by using identify?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280471#M7333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it's available with Javascrip API : see sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_query_related.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_query_related.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:39:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280471#M7333</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-07-23T09:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the attributes from the relational table by using identify?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280472#M7334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for the fast answer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now we are using only Map Services, but no Feature Services, and JavaScript API 1.6, using Identify Task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could we use this with Map Services (not necessary Feature Service), using identify task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is only available in JavaScript API 2.0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 10:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280472#M7334</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2010-07-23T10:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the attributes from the relational table by using identify?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280473#M7335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;With ArcGIS Silverlight/WPF API v2.0, you can use QueryTask (similar to the JavaScript sample as Dominique cited below).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;QueryTask qt = new QueryTask(featureLayer.Url); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;qt.DisableClientCaching = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RelationshipParameter rp = new RelationshipParameter();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rp.ObjectIds = new int[] { objectId }; //object id from featureLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rp.OutFields = new string[] { "agree_with_incident" }; //fields from related table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rp.RelationshipId = relationshipId; //can be retrieved from featureLayer's LayerInfo.Relationships&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;qt.ExecuteRelationshipQueryCompleted += qt_ExecuteRelationshipQueryCompleted;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;qt.ExecuteRelationshipQueryAsync(rp);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jennifer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 15:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-the-attributes-from-the-relational/m-p/280473#M7335</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-07-23T15:30:39Z</dc:date>
    </item>
  </channel>
</rss>

