<?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 Relationship Queries Not Returning Results After Publishing Layer in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/relationship-queries-not-returning-results-after/m-p/1570948#M16041</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m encountering an issue with a published feature layer that includes a polygon layer and several related tables.&lt;/P&gt;&lt;P&gt;The relationships work perfectly in both PostgreSQL (the database) and ArcGIS Pro. I can see all related records without any problem. However, after publishing the layer as a feature service, the relationships appear in the table as expected, but clicking the link to view related records returns nothing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arc_ticodex_1-1734963649027.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122352i7E882CCA8176BA65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arc_ticodex_1-1734963649027.png" alt="arc_ticodex_1-1734963649027.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arc_ticodex_2-1734963665597.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122353i7F540FCC1B8B23F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arc_ticodex_2-1734963665597.png" alt="arc_ticodex_2-1734963665597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When checking the server logs, I found two errors:&amp;nbsp;Error: Invalid query;&amp;nbsp;Unable to perform query operation&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arc_ticodex_0-1734963454869.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122351i628019D3FA990614/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arc_ticodex_0-1734963454869.png" alt="arc_ticodex_0-1734963454869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I’ve tried various troubleshooting steps but haven’t been able to resolve this. Does anyone have an idea of what might be causing this or suggestions on how to fix it?&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Dec 2024 14:26:28 GMT</pubDate>
    <dc:creator>arc_ticodex</dc:creator>
    <dc:date>2024-12-23T14:26:28Z</dc:date>
    <item>
      <title>Relationship Queries Not Returning Results After Publishing Layer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/relationship-queries-not-returning-results-after/m-p/1570948#M16041</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m encountering an issue with a published feature layer that includes a polygon layer and several related tables.&lt;/P&gt;&lt;P&gt;The relationships work perfectly in both PostgreSQL (the database) and ArcGIS Pro. I can see all related records without any problem. However, after publishing the layer as a feature service, the relationships appear in the table as expected, but clicking the link to view related records returns nothing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arc_ticodex_1-1734963649027.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122352i7E882CCA8176BA65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arc_ticodex_1-1734963649027.png" alt="arc_ticodex_1-1734963649027.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arc_ticodex_2-1734963665597.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122353i7F540FCC1B8B23F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arc_ticodex_2-1734963665597.png" alt="arc_ticodex_2-1734963665597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When checking the server logs, I found two errors:&amp;nbsp;Error: Invalid query;&amp;nbsp;Unable to perform query operation&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arc_ticodex_0-1734963454869.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122351i628019D3FA990614/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arc_ticodex_0-1734963454869.png" alt="arc_ticodex_0-1734963454869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I’ve tried various troubleshooting steps but haven’t been able to resolve this. Does anyone have an idea of what might be causing this or suggestions on how to fix it?&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 14:26:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/relationship-queries-not-returning-results-after/m-p/1570948#M16041</guid>
      <dc:creator>arc_ticodex</dc:creator>
      <dc:date>2024-12-23T14:26:28Z</dc:date>
    </item>
  </channel>
</rss>

