<?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: Is it possible to query Associations for a given asset in UN? in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1027530#M948</link>
    <description>&lt;P&gt;You can access the association information via rest.&amp;nbsp; The tables are part of the service, just hidden from the rest pages.&lt;/P&gt;&lt;P&gt;If you look as the json of the UN layer -&amp;nbsp;&lt;A href="https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/921?f=pjson" target="_blank"&gt;https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/921?f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You will see a system layers section:&lt;/P&gt;&lt;PRE&gt;"systemLayers": {
  "dirtyAreasLayerId": 3,
  "lineErrorsLayerId": 1,
  "pointErrorsLayerId": 0,
  "polygonErrorsLayerId": 2,
  "associationsTableId": 500001,
  "subnetworksTableId": 500002,
  "rulesTableId": 500003,
  "diagramEdgeLayerId": 500005,
  "diagramJunctionLayerId": 500006,
  "diagramContainerLayerId": 500007,
  "temporaryDiagramEdgeLayerId": 500008,
  "temporaryDiagramJunctionLayerId": 500009,
  "temporaryDiagramContainerLayerId": 500010
 },&lt;/PRE&gt;&lt;P&gt;Use the ID to get access to the association table, such as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/500001" target="_blank"&gt;https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/500001&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which you can run a query against to get back info such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;I&gt;objectid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;A href="https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/500001/1" target="_blank"&gt;1&lt;/A&gt;&lt;BR /&gt;&lt;I&gt;fromnetworksourceid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;fromglobalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{4D0259B3-9323-4A31-979D-F81499B5A278}&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;fromterminalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;tonetworksourceid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;toglobalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{B6874CA0-3584-4ED6-8A17-0FAFBA3C3891}&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;toterminalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;associationtype:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;iscontentvisible:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;creationdate:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;1565741744000&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;creator:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;UNADMIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;lastupdate:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;1565741744000&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;updatedby:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;UNADMIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;globalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{1B5E5C18-8493-4D42-B67A-2F3D711EA356}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;objectid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;A href="https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/500001/2" target="_blank"&gt;2&lt;/A&gt;&lt;BR /&gt;&lt;I&gt;fromnetworksourceid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;fromglobalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{4D0259B3-9323-4A31-979D-F81499B5A278}&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;fromterminalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;tonetworksourceid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;toglobalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{08421426-33C5-4DE2-8FBC-134295D81AD6}&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;toterminalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;associationtype:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;iscontentvisible:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;creationdate:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;1565741745000&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;creator:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;UNADMIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;lastupdate:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;1565741745000&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;updatedby:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;UNADMIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;globalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{8B7D620A-B978-48DC-9B44-148925AF4E68}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2021 10:56:47 GMT</pubDate>
    <dc:creator>MikeMillerGIS</dc:creator>
    <dc:date>2021-02-17T10:56:47Z</dc:date>
    <item>
      <title>Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1027437#M947</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a query from an electric dist. client about being able to extract associations (connectivity, container, structural attachment) using SQL queries. The client is in the process of deploying UN with SQL Server as a geodatabase. Client wants to query connectivity and containment relationship directly in the database for reporting, DMS integration etc. Their legacy GIS supported it.&amp;nbsp; e.g. for a given transformer, find what High/Primary side protection device is.&lt;/P&gt;&lt;P&gt;My initial feel is this is not possible with UN as this information is stored as Blobs. There are few UN_X_* tables, but I guess it is not something that can be exposed or relied upon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way? I cannot even find REST API to do something like this.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 01:11:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1027437#M947</guid>
      <dc:creator>VishApte</dc:creator>
      <dc:date>2021-02-17T01:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1027530#M948</link>
      <description>&lt;P&gt;You can access the association information via rest.&amp;nbsp; The tables are part of the service, just hidden from the rest pages.&lt;/P&gt;&lt;P&gt;If you look as the json of the UN layer -&amp;nbsp;&lt;A href="https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/921?f=pjson" target="_blank"&gt;https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/921?f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You will see a system layers section:&lt;/P&gt;&lt;PRE&gt;"systemLayers": {
  "dirtyAreasLayerId": 3,
  "lineErrorsLayerId": 1,
  "pointErrorsLayerId": 0,
  "polygonErrorsLayerId": 2,
  "associationsTableId": 500001,
  "subnetworksTableId": 500002,
  "rulesTableId": 500003,
  "diagramEdgeLayerId": 500005,
  "diagramJunctionLayerId": 500006,
  "diagramContainerLayerId": 500007,
  "temporaryDiagramEdgeLayerId": 500008,
  "temporaryDiagramJunctionLayerId": 500009,
  "temporaryDiagramContainerLayerId": 500010
 },&lt;/PRE&gt;&lt;P&gt;Use the ID to get access to the association table, such as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/500001" target="_blank"&gt;https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/500001&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which you can run a query against to get back info such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;I&gt;objectid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;A href="https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/500001/1" target="_blank"&gt;1&lt;/A&gt;&lt;BR /&gt;&lt;I&gt;fromnetworksourceid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;fromglobalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{4D0259B3-9323-4A31-979D-F81499B5A278}&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;fromterminalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;tonetworksourceid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;toglobalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{B6874CA0-3584-4ED6-8A17-0FAFBA3C3891}&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;toterminalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;associationtype:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;iscontentvisible:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;creationdate:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;1565741744000&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;creator:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;UNADMIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;lastupdate:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;1565741744000&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;updatedby:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;UNADMIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;globalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{1B5E5C18-8493-4D42-B67A-2F3D711EA356}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;objectid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;A href="https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/500001/2" target="_blank"&gt;2&lt;/A&gt;&lt;BR /&gt;&lt;I&gt;fromnetworksourceid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;fromglobalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{4D0259B3-9323-4A31-979D-F81499B5A278}&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;fromterminalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;tonetworksourceid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;toglobalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{08421426-33C5-4DE2-8FBC-134295D81AD6}&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;toterminalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;associationtype:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;iscontentvisible:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;creationdate:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;1565741745000&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;creator:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;UNADMIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;lastupdate:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;1565741745000&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;updatedby:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;UNADMIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;globalid:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;{8B7D620A-B978-48DC-9B44-148925AF4E68}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 10:56:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1027530#M948</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2021-02-17T10:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1027536#M949</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;. Bit more involved than SQL queries and joins but I think that will do the trick. Just a quick query, I guess fromnetworksourceid and&amp;nbsp;tonetworksourceid translate to Junction/Device/Line/Assembly layer that can be queried using from/to globalid for additional details.&amp;nbsp; Where will the mapping be for fromnetworksourceid and&amp;nbsp;tonetworksourceid to the Junction/Device/Line/Assembly layer ids?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 11:41:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1027536#M949</guid>
      <dc:creator>VishApte</dc:creator>
      <dc:date>2021-02-17T11:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1027539#M950</link>
      <description>&lt;P&gt;Run QueryDataElements&lt;/P&gt;&lt;P&gt;&lt;A href="https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/queryDataElements" target="_blank"&gt;https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/queryDataElements&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Review this section:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MikeMillerGIS_0-1613563618467.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6205i09F46D58163E2D78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MikeMillerGIS_0-1613563618467.png" alt="MikeMillerGIS_0-1613563618467.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 12:07:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1027539#M950</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2021-02-17T12:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594182#M4928</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to perform these operations with spatial updates in the Oracle database.&lt;/P&gt;&lt;P&gt;When an attachment relationship is established, what kind of updates are made in which fields and tables in the database? Is it possible to create a manual relationship in these tables?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 13:02:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594182#M4928</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2025-03-11T13:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594234#M4929</link>
      <description>&lt;P&gt;Are you are asking can you detect this edit in the database?&amp;nbsp; I do not think you can.&amp;nbsp; Creating an attachment can change its association status, but if it already has that status, it will not change it.&amp;nbsp; If you need to detect what features changed status, then the version api has a change component you can use.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 13:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594234#M4929</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2025-03-11T13:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594258#M4930</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested the question I asked, I detected this relationship spatially via Oracle, and when I updated the relevant fields, I saw that it established the relationship via Pro.&lt;/P&gt;&lt;P&gt;In this way, it will be faster to establish associations using the power of the database. Will it cause any system obstacles somewhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnGoat_0-1741702866504.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/127632iDB9FCBCE19DE7E15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnGoat_0-1741702866504.png" alt="JohnGoat_0-1741702866504.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 14:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594258#M4930</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2025-03-11T14:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594630#M4937</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;INSERT INTO UN_4372_ASSOCIATIONS (OBJECTID, GLOBALID, FROMGLOBALID, TOGLOBALID, FROMNETWORKSOURCEID, TONETWORKSOURCEID, ASSOCIATIONTYPE, ISCONTENTVISIBLE, STATUS)
SELECT 
    UN_4372_ASSOCIATIONS_SEQ.NEXTVAL,  
    SYS_GUID(),  
    s.globalid AS FROMGLOBALID, 
    e.globalid AS TOGLOBALID,
    '6' AS FROMNETWORKSOURCEID,  
    '9' AS TONETWORKSOURCEID,    
    '2' AS ASSOCIATIONTYPE,    
    '0' AS ISCONTENTVISIBLE,   
    '0' AS STATUS              
FROM ElectricDevice e, StructureBoundary s
WHERE SDO_WITHIN_DISTANCE(
    e.shape, 
    s.shape, 
    'distance=0'
) = 'TRUE';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 07:05:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594630#M4937</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2025-03-12T07:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594705#M4941</link>
      <description>&lt;P&gt;Do not create data that affects the network using SQL. This will not properly set the status of features and create dirty areas. If you need a way to bulk load associations in a way that is respectful of the network topology, use SQL to identify that associations that need to be created (don't create duplicates!), turn them into a CSV file, and use the import associations tool to import them. This will properly maintain that status bits and dirty areas necessary for them to work properly.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 13:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1594705#M4941</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2025-03-12T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1595050#M4950</link>
      <description>&lt;P&gt;I don't think there will be any problem in doing this operation when the topology is disabled. Is that correct? I will update after bulk data conversions.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 07:45:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1595050#M4950</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2025-03-13T07:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to query Associations for a given asset in UN?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1595106#M4951</link>
      <description>&lt;P&gt;The features association status will not get updated.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 11:30:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/is-it-possible-to-query-associations-for-a-given/m-p/1595106#M4951</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2025-03-13T11:30:47Z</dc:date>
    </item>
  </channel>
</rss>

