<?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>idea Hosted Feature Layer View: View Definition Query respects table relationships in ArcGIS Online Ideas</title>
    <link>https://community.esri.com/t5/arcgis-online-ideas/hosted-feature-layer-view-view-definition-query/idi-p/1003097</link>
    <description>&lt;P&gt;When you set a View Definition Query on a Hosted Feature Layer View it would be nice if only the related records from related tables persisted in the View.&lt;/P&gt;&lt;P&gt;Scenario: I have a Hosted Feature Layer with a feature layer and a related table. The feature layer is transportation incidents, the related table is log notes from field workers (1-to-many based on globalID:parentGlobalID relationship). I create a Hosted Feature Layer View from this service with the View Definition Query "Company = 'Company A'" (many different companies in the incident feature layer which need to be parsed out and shared securely/separately). The resulting Feature Layer View has the incidents for Company A properly, but contains every record from the related log notes table; records which are sensitive and cannot be shown to Company A, only the company they pertain to.&lt;/P&gt;&lt;P&gt;There needs to be a solution to respect the table relationships when setting a View Definition Query: "Only give me records from related tables where parentglobalID is equal to globalID in base table".&lt;/P&gt;</description>
    <pubDate>Thu, 19 Nov 2020 19:08:40 GMT</pubDate>
    <dc:creator>Vince_ERAC</dc:creator>
    <dc:date>2020-11-19T19:08:40Z</dc:date>
    <item>
      <title>Hosted Feature Layer View: View Definition Query respects table relationships</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/hosted-feature-layer-view-view-definition-query/idi-p/1003097</link>
      <description>&lt;P&gt;When you set a View Definition Query on a Hosted Feature Layer View it would be nice if only the related records from related tables persisted in the View.&lt;/P&gt;&lt;P&gt;Scenario: I have a Hosted Feature Layer with a feature layer and a related table. The feature layer is transportation incidents, the related table is log notes from field workers (1-to-many based on globalID:parentGlobalID relationship). I create a Hosted Feature Layer View from this service with the View Definition Query "Company = 'Company A'" (many different companies in the incident feature layer which need to be parsed out and shared securely/separately). The resulting Feature Layer View has the incidents for Company A properly, but contains every record from the related log notes table; records which are sensitive and cannot be shown to Company A, only the company they pertain to.&lt;/P&gt;&lt;P&gt;There needs to be a solution to respect the table relationships when setting a View Definition Query: "Only give me records from related tables where parentglobalID is equal to globalID in base table".&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 19:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/hosted-feature-layer-view-view-definition-query/idi-p/1003097</guid>
      <dc:creator>Vince_ERAC</dc:creator>
      <dc:date>2020-11-19T19:08:40Z</dc:date>
    </item>
  </channel>
</rss>

