<?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: queryRelatedRecords - must relates use objectid only? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/queryrelatedrecords-must-relates-use-objectid-only/m-p/176809#M6977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think&amp;nbsp; (I do same in my soe) that Esri uses behind coarse-grained ao method 's MapServer &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/0012/0012000009n1000000.htm"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/0012/0012000009n1000000.htm&lt;/A&gt;&lt;SPAN&gt; (QueryRelatedRecords) so seeing in help create a unique, not null, indexed numeric field in your table (not gdb) and the field will be recognized as a pseudo ObjectID field and so ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2013 10:30:53 GMT</pubDate>
    <dc:creator>nicogis</dc:creator>
    <dc:date>2013-03-25T10:30:53Z</dc:date>
    <item>
      <title>queryRelatedRecords - must relates use objectid only?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/queryrelatedrecords-must-relates-use-objectid-only/m-p/176807#M6975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just have a general question about querying related records from a feature layer in a map or feature service (i.e., using the queryRelatedRecords REST API : &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/rest/apiref/ms_dyn_queryrelatedrecords.html"&gt;http://resources.arcgis.com/en/help/rest/apiref/ms_dyn_queryrelatedrecords.html&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I do this using a relate that is based on objectid fields, everything works fine.&amp;nbsp; But if I'm using a relationship that joins two tables based on globalids, I never get any results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are relationships using globlalids (or any other fields) supported?&amp;nbsp; I haven't found any documentation that indicates that the relationship class must be of a given type, or use specific fields or properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I tested this, I tried using a variety of combinations of objectid and/or globalid values in the 'objectIds' parameter of the queryRelatedRecords request.&amp;nbsp; So far, I only got it to work when with regular objectid values, and when the relationship class used to link the tables is based on their objectid fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the meantime, it looks like it'll be easier for me to just do a regular query directly on the related table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any insight into this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 16:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/queryrelatedrecords-must-relates-use-objectid-only/m-p/176807#M6975</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-19T16:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: queryRelatedRecords - must relates use objectid only?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/queryrelatedrecords-must-relates-use-objectid-only/m-p/176808#M6976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem: relating any tables on fields using GUID's, is not visible to ArcGIS server. Shows up in the REST directory with a relationship ID, but cannot query across the relationship. Kinda wish ESRI would have included this restriction in the help documentation. Adding objectID's to these tables is not an option or a workaround.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 15:28:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/queryrelatedrecords-must-relates-use-objectid-only/m-p/176808#M6976</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2013-03-24T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: queryRelatedRecords - must relates use objectid only?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/queryrelatedrecords-must-relates-use-objectid-only/m-p/176809#M6977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think&amp;nbsp; (I do same in my soe) that Esri uses behind coarse-grained ao method 's MapServer &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/0012/0012000009n1000000.htm"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/0012/0012000009n1000000.htm&lt;/A&gt;&lt;SPAN&gt; (QueryRelatedRecords) so seeing in help create a unique, not null, indexed numeric field in your table (not gdb) and the field will be recognized as a pseudo ObjectID field and so ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 10:30:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/queryrelatedrecords-must-relates-use-objectid-only/m-p/176809#M6977</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2013-03-25T10:30:53Z</dc:date>
    </item>
  </channel>
</rss>

