<?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: Retrieve records from related table in ArcGIS Runtime SDK for Android in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieve-records-from-related-table-in-arcgis/m-p/317058#M2083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this is a defect...&amp;nbsp; I would reach out to your local esri distributor to get this logged as such.&amp;nbsp; They can then provide you a defect number to track the status of this defect so you can be alerted when it is addressed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Oct 2017 13:15:24 GMT</pubDate>
    <dc:creator>AlexanderNohe1</dc:creator>
    <dc:date>2017-10-27T13:15:24Z</dc:date>
    <item>
      <title>Retrieve records from related table in ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieve-records-from-related-table-in-arcgis/m-p/317057#M2082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with querying related data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a Mobile Map Package (mmpk) with twolayers. &lt;BR /&gt;One layer has lines segments and the other the vertex of those lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table of the &lt;SPAN style="text-decoration: underline;"&gt;segments&lt;/SPAN&gt; layer has the ids of his vertex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="text-align: center;"&gt;&lt;STRONG&gt;OBJECTID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center;"&gt;&lt;STRONG&gt;F_ID_NODE&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center;"&gt;&lt;STRONG&gt;T_ID_NODE&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center;"&gt;&lt;STRONG&gt;SHAPE&amp;nbsp;&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;100&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;101&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;&lt;SPAN&gt;PolyLine&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;And the the table of &lt;SPAN style="text-decoration: underline;"&gt;vertex &lt;/SPAN&gt;has some atrributes like type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="text-align: center;"&gt;&lt;STRONG&gt;OBJECTID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center;"&gt;&lt;STRONG&gt;ID_NODE&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center;"&gt;&lt;STRONG&gt;TYPE&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center;"&gt;&lt;STRONG&gt;SHAPE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;100&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;POINT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;101&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;POINT&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;And i've created 2 relationship classes&lt;/P&gt;&lt;P&gt;Here is the relashionship class properties:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;&lt;STRONG&gt;Relationship Class&lt;/STRONG&gt;&lt;/TH&gt;&lt;TD style="background-color: #ffffff; width: 66.6248%;"&gt;&lt;STRONG&gt;vertex_segments_f_rel&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;Type&lt;/TH&gt;&lt;TH style="width: 66.6248%;"&gt;&lt;SPAN style="font-weight: normal;"&gt;Simple&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;Cardinality&lt;/TH&gt;&lt;TH style="width: 66.6248%;"&gt;&lt;SPAN style="font-weight: normal;"&gt;One to one&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;Notification&lt;/TH&gt;&lt;TH style="width: 66.6248%;"&gt;&lt;SPAN style="font-weight: normal;"&gt;None&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;Origin Name&lt;/TH&gt;&lt;TH style="width: 66.6248%;"&gt;&lt;SPAN style="font-weight: normal;"&gt;vertex&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;Origin Primary Key&lt;/TH&gt;&lt;TH style="width: 66.6248%;"&gt;&lt;STRONG&gt;ID_NODE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;Origin Foreign Key&lt;/TH&gt;&lt;TH style="width: 66.6248%;"&gt;&lt;STRONG&gt;F_ID_NODE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;Destination Name&lt;/TH&gt;&lt;TH style="width: 66.6248%;"&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;SPAN&gt;segments&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;Forward Path Label&lt;/TH&gt;&lt;TD style="width: 66.6248%;"&gt;sefementsf&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left;"&gt;Backward Path Label&lt;/TH&gt;&lt;TH style="width: 66.6248%;"&gt;&lt;SPAN style="font-weight: normal;"&gt;vertexf&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD style="border: inherit solid inherit;"&gt;&lt;TR style="background-color: #efefef; height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;&lt;STRONG&gt;Relationship Class&lt;/STRONG&gt;&lt;/TH&gt;&lt;TD style="background-color: #ffffff; width: 66.6248%; height: 25px;"&gt;&lt;STRONG&gt;vertex_segments_t_rel&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border: inherit solid inherit;"&gt;&lt;TR style="height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;Type&lt;/TH&gt;&lt;TH style="width: 66.6248%; height: 25px;"&gt;&lt;SPAN style="font-weight: normal;"&gt;Simple&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;Cardinality&lt;/TH&gt;&lt;TH style="width: 66.6248%; height: 25px;"&gt;&lt;SPAN style="font-weight: normal;"&gt;One to one&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;Notification&lt;/TH&gt;&lt;TH style="width: 66.6248%; height: 25px;"&gt;&lt;SPAN style="font-weight: normal;"&gt;None&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;Origin Name&lt;/TH&gt;&lt;TH style="width: 66.6248%; height: 25px;"&gt;&lt;SPAN style="font-weight: normal;"&gt;vertex&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;Origin Primary Key&lt;/TH&gt;&lt;TH style="width: 66.6248%; height: 25px;"&gt;&lt;STRONG&gt;ID_NODE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;Origin Foreign Key&lt;/TH&gt;&lt;TH style="width: 66.6248%; height: 25px;"&gt;&lt;STRONG&gt;T_ID_NODE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;Destination Name&lt;/TH&gt;&lt;TH style="width: 66.6248%; height: 25px;"&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;SPAN&gt;segments&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;Forward Path Label&lt;/TH&gt;&lt;TD style="width: 66.6248%; height: 25px;"&gt;sefementst&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TH style="padding-left: 30px; background-color: #efefef; width: 27.478%; text-align: left; height: 25px;"&gt;Backward Path Label&lt;/TH&gt;&lt;TH style="width: 66.6248%; height: 25px;"&gt;&lt;SPAN style="font-weight: normal;"&gt;vertext&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to retrieve the related features with the SDK i have next error:&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Exception occurred: com.esri.arcgisruntime.ArcGISRuntimeException: Item not found in the database. (Table, domain, relationship class, etc.)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the same patern listed here : &lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/master/list-related-features"&gt;https://github.com/Esri/arcgis-runtime-samples-android/tree/master/list-related-features&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is. When i use only one relationship it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I'm missing something.,Its posible to do that or is a bug?&lt;/P&gt;&lt;P&gt;In ArcGis Pro the relations works as expected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK Version :&amp;nbsp;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;100.1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 07:44:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieve-records-from-related-table-in-arcgis/m-p/317057#M2082</guid>
      <dc:creator>deleted-user-M6rwsXZZL0Hq</dc:creator>
      <dc:date>2017-10-27T07:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve records from related table in ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieve-records-from-related-table-in-arcgis/m-p/317058#M2083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this is a defect...&amp;nbsp; I would reach out to your local esri distributor to get this logged as such.&amp;nbsp; They can then provide you a defect number to track the status of this defect so you can be alerted when it is addressed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 13:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieve-records-from-related-table-in-arcgis/m-p/317058#M2083</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-10-27T13:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve records from related table in ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieve-records-from-related-table-in-arcgis/m-p/317059#M2084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/265130"&gt;Jorge Balbuena&lt;/A&gt;‌. Thank you for pointing this out. This is in fact a defect. Can you indicate how pressing an issue this is to being resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An immediate option for getting this to work&amp;nbsp;is to model the relationship differently. Instead of relating vertices and segments via two one-to-one relationships, you can instead relate them&amp;nbsp;with a single many-to-many relationship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presuming that I am understanding your&amp;nbsp;premise&amp;nbsp;correctly (a single line &lt;SPAN style="text-decoration: underline;"&gt;segment&lt;/SPAN&gt; feature may relate to&amp;nbsp;one or more point &lt;SPAN style="text-decoration: underline;"&gt;vertex&lt;/SPAN&gt; features, and a single point &lt;SPAN style="text-decoration: underline;"&gt;vertex&lt;/SPAN&gt; feature may relate to&amp;nbsp;one or more line &lt;SPAN style="text-decoration: underline;"&gt;segment&lt;/SPAN&gt; features), this would entail populating an intermediate table&amp;nbsp;that&amp;nbsp;identifies which origin &lt;SPAN style="text-decoration: underline;"&gt;vertex&lt;/SPAN&gt; features relate to which destination &lt;SPAN style="text-decoration: underline;"&gt;segment&lt;/SPAN&gt; features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this would be useful to you, check out this help article on how to do that:&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/relationships/populating-an-attributed-relationship-class-table-.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/relationships/populating-an-attributed-relationship-class-table-.htm"&gt;Populating an attributed relationship class table (intermediate table)—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 22:59:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieve-records-from-related-table-in-arcgis/m-p/317059#M2084</guid>
      <dc:creator>MikeWilburn</dc:creator>
      <dc:date>2017-10-30T22:59:07Z</dc:date>
    </item>
  </channel>
</rss>

