<?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 Is it possible to style AGSFeatureTableLayer using attributes from a related table? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-style-agsfeaturetablelayer-using/m-p/311528#M2764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any means to apply a unique value renderer to an AGSFeatureTableLayer used in an AGSMapView, and have the unique values for the renderer be derived an attribute in a related table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcMap, this would be accomplished by joining the features to the table, then applying the style using the joined attribute in the unique value configuration.&amp;nbsp; Using the ArcGIS API for JavaScript, I could achieve the same effect by using a UniqueValueRenderer that returns an anonymous function instead of a field name for the first field in the Unique Value Renderer object (where this function can lookup and return the value of an attribute from a related table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I do not see the equivalent option in iOS.&amp;nbsp; I'm working with a feature class and a table that exist in a local geodatabase (created from a sync-enabled feature service).&amp;nbsp; Is there a way to join the features, or somehow create a view in the local SQLite geodatabase file that accomplishes this?&amp;nbsp; Or...is there a way I could perform the equivalent of the JavaScript approach?&amp;nbsp; The iOS runtime SDK documentation doesn't suggest any means to do this (as far as I have been able to determine so far).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps I can sub-class the AGSUniqueValueRenderer object - if I do this, could I just override methods like symbolForGraphic or symbolForFeature, and perform my own logic to return the symbols I need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 14:06:08 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2014-10-29T14:06:08Z</dc:date>
    <item>
      <title>Is it possible to style AGSFeatureTableLayer using attributes from a related table?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-style-agsfeaturetablelayer-using/m-p/311528#M2764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any means to apply a unique value renderer to an AGSFeatureTableLayer used in an AGSMapView, and have the unique values for the renderer be derived an attribute in a related table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcMap, this would be accomplished by joining the features to the table, then applying the style using the joined attribute in the unique value configuration.&amp;nbsp; Using the ArcGIS API for JavaScript, I could achieve the same effect by using a UniqueValueRenderer that returns an anonymous function instead of a field name for the first field in the Unique Value Renderer object (where this function can lookup and return the value of an attribute from a related table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I do not see the equivalent option in iOS.&amp;nbsp; I'm working with a feature class and a table that exist in a local geodatabase (created from a sync-enabled feature service).&amp;nbsp; Is there a way to join the features, or somehow create a view in the local SQLite geodatabase file that accomplishes this?&amp;nbsp; Or...is there a way I could perform the equivalent of the JavaScript approach?&amp;nbsp; The iOS runtime SDK documentation doesn't suggest any means to do this (as far as I have been able to determine so far).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps I can sub-class the AGSUniqueValueRenderer object - if I do this, could I just override methods like symbolForGraphic or symbolForFeature, and perform my own logic to return the symbols I need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 14:06:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-style-agsfeaturetablelayer-using/m-p/311528#M2764</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-10-29T14:06:08Z</dc:date>
    </item>
  </channel>
</rss>

