<?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: Definition Query based on relate in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532461#M23413</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/6022"&gt;Robert Borchert&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was there ever any resolution to this?&amp;nbsp; I need to run a definition query on a layer, based on attributes in the related record.&amp;nbsp; Mine is for Watermain Breaks.&amp;nbsp; I need to query out all of the breaks (a 1:1 relate to WaterMains), where the Watermain has a LININGINSTALLDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The join (in SDE, versioned) is there and working, but I just can't figure out how to write the Definition Query in ArcPro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, how is your Maximo implementation going?&amp;nbsp; Did you have to write any custom code to update the MXCREATIONSTATE as you edit your data??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Nov 2019 14:05:14 GMT</pubDate>
    <dc:creator>BrianBulla1</dc:creator>
    <dc:date>2019-11-22T14:05:14Z</dc:date>
    <item>
      <title>Definition Query based on relate</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532455#M23407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcGIS Pro.&amp;nbsp; I have a point feature that contains site locations.&amp;nbsp; &amp;nbsp;They each have a unique LocationID (Maximo Location to be specific)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that is downloaded from Maximo that contains all the active Project #'s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The projects #'s table contains asset numbers and the device name.&amp;nbsp; There will be multiple unique asset numbers with the same project #&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to update Install Date and Status on the Project #'s table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To that end I have created a relationship of 1 (Site Locations)&amp;nbsp; to many (Project #'s) based on Location.&lt;/P&gt;&lt;P&gt;When I start an edit session the relationship works and I can edit the fields I need to edit in the Project # table&lt;/P&gt;&lt;P&gt;However, I have 1606 unique sites.&amp;nbsp; I only have 26 unique location numbers in the Project # table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know how I can create a definition query to only show the Site Locations that have a&amp;nbsp;relation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would work with a Join, but&amp;nbsp; a join will not show a many&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 13:55:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532455#M23407</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-04-22T13:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query based on relate</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532456#M23408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that a join won't show the one-to-many relationship in ArcGIS Pro?&amp;nbsp; Last time I checked, this is a difference between ArcMap and ArcGIS Pro.&amp;nbsp; i.e. say you're working in a file gdb in ArcMap and have a 1:M join.&amp;nbsp; Only the first record will show in the attribute table.&amp;nbsp; However, in ArcGIS Pro, one record will show in the attribute table for each feature-joined record.&amp;nbsp; So one point feature with 10 joined records would show 10 lines in the attribute table.&amp;nbsp; Maybe that fact alone would help you accomplish what you need to in Pro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 14:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532456#M23408</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-04-22T14:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query based on relate</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532457#M23409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried a Join in Pro and it displays&amp;nbsp; [Different Values] in the fields.&amp;nbsp; You can see below as the Locations are the same it shows the Location.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/442587_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 14:09:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532457#M23409</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-04-22T14:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query based on relate</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532458#M23410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working in SDE with a versioned dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 14:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532458#M23410</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-04-22T14:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query based on relate</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532459#M23411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see.&amp;nbsp; I was thinking about the attribute table itself, not the Attributes Pane.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 14:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532459#M23411</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-04-22T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query based on relate</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532460#M23412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The end result is I have to get it working in Collector for field crews. If it was a matter for in office uses the user could select the table showing selected objects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could work around by doing a join first and populating a field in the Sites toggle visibility but the desire is to set up a reconcile back to Maximo with updates on completed work and a new export of Project #'s.&amp;nbsp; I suppose if there is not a way to do this I will have to opt for a python script to run after the export to field calculate the visibility field&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 14:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532460#M23412</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-04-22T14:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query based on relate</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532461#M23413</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/6022"&gt;Robert Borchert&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was there ever any resolution to this?&amp;nbsp; I need to run a definition query on a layer, based on attributes in the related record.&amp;nbsp; Mine is for Watermain Breaks.&amp;nbsp; I need to query out all of the breaks (a 1:1 relate to WaterMains), where the Watermain has a LININGINSTALLDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The join (in SDE, versioned) is there and working, but I just can't figure out how to write the Definition Query in ArcPro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, how is your Maximo implementation going?&amp;nbsp; Did you have to write any custom code to update the MXCREATIONSTATE as you edit your data??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 14:05:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-based-on-relate/m-p/532461#M23413</guid>
      <dc:creator>BrianBulla1</dc:creator>
      <dc:date>2019-11-22T14:05:14Z</dc:date>
    </item>
  </channel>
</rss>

