<?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: Adding descriptions to Export Subnetwork JSON in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/adding-descriptions-to-export-subnetwork-json/m-p/367934#M348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked perfectly, and very fast.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2020 14:49:16 GMT</pubDate>
    <dc:creator>DanProwse</dc:creator>
    <dc:date>2020-05-21T14:49:16Z</dc:date>
    <item>
      <title>Adding descriptions to Export Subnetwork JSON</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/adding-descriptions-to-export-subnetwork-json/m-p/367933#M347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;The &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/utility-networks/export-subnetwork.htm"&gt;Export Subnetwork&lt;/A&gt; tool is used to export information about a subnetwork into a JSON file. That information can then be consumed by outside systems such as outage management and asset tracking programs.&amp;nbsp; If you have worked with the information in the JSON file, you may have noticed that the Subtypes (Asset Groups) and values of fields with domains are codes and not descriptions.&amp;nbsp; We have created a toolbox that will enhance this JSON file by either replacing the codes with descriptions or injecting new keys with the descriptions. Download the toolbox &lt;A href="https://gist.github.com/pLeBlanc93/1c7d189a3d0cbb550d2fb4502b754d9d"&gt;here&lt;/A&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;&lt;IMG __jive_id="484687" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/484700_pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;The first tool, Create Lookup File, reads the utility network and all sources to build a mapping file that contains codes and descriptions. The lookup file needs to be regenerated on schema changes (eg adding an asset group, asset type, network attribute or modifying coded value domains).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;The second tool, Lookup Subnetwork Codes, takes the lookup file from the first tool and any number of JSON files from Export Subnetwork. New keys are added to represent the descriptions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;&lt;IMG __jive_id="484686" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/484701_pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 16:23:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/adding-descriptions-to-export-subnetwork-json/m-p/367933#M347</guid>
      <dc:creator>PaulLeBlanc1</dc:creator>
      <dc:date>2020-03-10T16:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding descriptions to Export Subnetwork JSON</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/adding-descriptions-to-export-subnetwork-json/m-p/367934#M348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked perfectly, and very fast.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2020 14:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/adding-descriptions-to-export-subnetwork-json/m-p/367934#M348</guid>
      <dc:creator>DanProwse</dc:creator>
      <dc:date>2020-05-21T14:49:16Z</dc:date>
    </item>
  </channel>
</rss>

