<?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: Share named trace configuration in webmap - missing JSON parameter in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1548428#M4397</link>
    <description>&lt;P&gt;Looks like you figured it out, you just need to add " " on the globalid, otherwise the JSON is invalid.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;[{"isFilterBarrier":false,
"globalId": "{D0C706FB-B4D1-4645-A1B1-24CF0B1DE7F4}"
,"percentAlong":0.5,
"traceLocationType":"startingPoint"}]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now we need to figure why Trace widget isn't sending the globalid though, sounds like a bug&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2024 15:04:12 GMT</pubDate>
    <dc:creator>HusseinNasser2</dc:creator>
    <dc:date>2024-10-14T15:04:12Z</dc:date>
    <item>
      <title>Share named trace configuration in webmap - missing JSON parameter</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1110072#M1412</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to figure out how to share a named trace configuration in order to use it through ArcGIS Enterprise.&lt;/P&gt;&lt;P&gt;What I have done so far :&lt;/P&gt;&lt;P&gt;- share a UN service to ArcGIS Entreprise 10.9&lt;/P&gt;&lt;P&gt;- create a webmap in Pro that uses the UN services&lt;/P&gt;&lt;P&gt;- add trace configurations to the map and enable sharing option&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_1-1634865076638.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25835i4CF4BC1AEF4F8731/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_1-1634865076638.png" alt="PierreloupDucroix_1-1634865076638.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now they are properly listed in my UN properties :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_2-1634865374151.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25836i212A9933C98F0426/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_2-1634865374151.png" alt="PierreloupDucroix_2-1634865374151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- share the webmap with Portal&lt;/P&gt;&lt;P&gt;Now I want to use this trace with the un-js-api-demo from &lt;A href="https://github.com/hussein-nasser/un-js-api-demo" target="_blank" rel="noopener"&gt;https://github.com/hussein-nasser/un-js-api-demo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- connect the html exemple to the portal and webmap ItemID&lt;/P&gt;&lt;P&gt;- the authored traces are listed&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_3-1634865707710.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25837iEF425E4429FA6BCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_3-1634865707710.png" alt="PierreloupDucroix_3-1634865707710.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- when tracing after adding a starting point :&lt;/P&gt;&lt;P&gt;{"success":false,"error":{"extendedCode":-2147208597,"message":"Un paramètre requis est absent du fichier JSON.","details":[]}}&lt;/P&gt;&lt;P&gt;--&amp;gt; parameter missing from the JSON file&lt;/P&gt;&lt;P&gt;Any idea ? Is the trace JSON configuration saved within the webmap JSON ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 01:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1110072#M1412</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2021-10-22T01:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Share named trace configuration in webmap - missing JSON parameter</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1110197#M1413</link>
      <description>&lt;P&gt;I just pushed a fix for few bugs that I found, can you try again?&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/hussein-nasser/un-js-api-demo/blob/master/un-js-api-demo.html" target="_blank"&gt;https://github.com/hussein-nasser/un-js-api-demo/blob/master/un-js-api-demo.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 12:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1110197#M1413</guid>
      <dc:creator>HusseinNasser2</dc:creator>
      <dc:date>2021-10-22T12:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Share named trace configuration in webmap - missing JSON parameter</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1110617#M1418</link>
      <description>&lt;P&gt;Hi Hussein,&lt;/P&gt;&lt;P&gt;Thank you, it works with the -421.html file !&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_0-1635119009252.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25967iFC7ADBC6FA2A35C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_0-1635119009252.png" alt="PierreloupDucroix_0-1635119009252.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still have a question, where is the JSON representing the trace configuration stored ? When looking at my webmap's JSON, I only see little information on the UN and Trace Configuration :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_2-1635119846374.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25971i4CA4AACE9C3D4948/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_2-1635119846374.png" alt="PierreloupDucroix_2-1635119846374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 23:57:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1110617#M1418</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2021-10-24T23:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Share named trace configuration in webmap - missing JSON parameter</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1110866#M1420</link>
      <description>&lt;P&gt;When you share a webmap with named trace configuration, the GUIDs of the trace configuration is persisted in the webmap definition along side the utility network layer. The full definition of the trace configuration can be retrieved through the UtilityNetworkServer by passing the GUID to /trace. This is so that you can alter the trace configuration without republishing the webmap and also to keep the definition of the webmap compact.&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="HusseinNasser2_0-1635173806657.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/26082i1185BE10A72DB7DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HusseinNasser2_0-1635173806657.png" alt="HusseinNasser2_0-1635173806657.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 14:58:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1110866#M1420</guid>
      <dc:creator>HusseinNasser2</dc:creator>
      <dc:date>2021-10-25T14:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Share named trace configuration in webmap - missing JSON parameter</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1111105#M1425</link>
      <description>&lt;P&gt;Thank you for the clarification&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 03:12:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1111105#M1425</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2021-10-26T03:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Share named trace configuration in webmap - missing JSON parameter</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1548322#M4393</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/346994"&gt;@HusseinNasser2&lt;/a&gt;&amp;nbsp;, I seem to be getting same error message "A required parameter is missing from the JSON" when I try to run a trace either using the Trace widget in ExB or even via the REST API.&lt;/P&gt;&lt;P&gt;I have a bunch of traces configured on the database. I have also shared couple of these via the webmap. The trace works in Pro. I am using ArcGIS Enterprise 11.1 , ExB 1.15&lt;/P&gt;&lt;P&gt;On making the Rest call, I have populated following parameters:&lt;/P&gt;&lt;P&gt;Trace type= downstream&lt;/P&gt;&lt;P&gt;Trace Locations=&lt;/P&gt;&lt;P&gt;[{"isFilterBarrier":false,&lt;BR /&gt;"globalId": {D0C706FB-B4D1-4645-A1B1-24CF0B1DE7F4}&lt;BR /&gt;,"percentAlong":0.5,"traceLocationType":"startingPoint"}]&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;traceConfigurationGlobalId =&amp;nbsp;&lt;/SPAN&gt;{EF2C3918-A7B5-46DC-A615-7F0EFB56FCC4}&lt;/P&gt;&lt;P&gt;I have also tried to populate other parameters, but it made no difference.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2024 21:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1548322#M4393</guid>
      <dc:creator>RavinHasseea</dc:creator>
      <dc:date>2024-10-13T21:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Share named trace configuration in webmap - missing JSON parameter</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1548323#M4394</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I think you need "terminalId" key in your locations dictionary even if the feature does not have any terminal&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;{&lt;BR /&gt;        &lt;SPAN&gt;"traceLocationType"&lt;/SPAN&gt;: locationType,&lt;BR /&gt;        &lt;SPAN&gt;"globalId"&lt;/SPAN&gt;: gid,&lt;BR /&gt;        &lt;SPAN&gt;"terminalId"&lt;/SPAN&gt;: terminal,&lt;BR /&gt;        &lt;SPAN&gt;"percentAlong"&lt;/SPAN&gt;: percentageAlong,&lt;BR /&gt;        &lt;SPAN&gt;"isFilterBarrier"&lt;/SPAN&gt;: &lt;SPAN&gt;False&lt;BR /&gt;&lt;/SPAN&gt;    }&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 13 Oct 2024 21:22:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1548323#M4394</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2024-10-13T21:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Share named trace configuration in webmap - missing JSON parameter</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1548375#M4396</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/208186"&gt;@PierreloupDucroix&lt;/a&gt;&amp;nbsp;, Thanks for the response. It's got me a little closer to the cause. It turned out the global ID was incorrect. I didn't need the terminal ID. I can now run trace using REST API.&lt;/P&gt;&lt;P&gt;However using Experience Builder, I see the traceLocations parameter used on the rest call does not include the global ID. I have clicked on map to set the start location. It found the water main, but has not picked up the global ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This issue seems to start occurring when I created a group layer in the webmap and added water main as a sublayer under Water Line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 13:10:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1548375#M4396</guid>
      <dc:creator>RavinHasseea</dc:creator>
      <dc:date>2024-10-14T13:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Share named trace configuration in webmap - missing JSON parameter</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1548428#M4397</link>
      <description>&lt;P&gt;Looks like you figured it out, you just need to add " " on the globalid, otherwise the JSON is invalid.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;[{"isFilterBarrier":false,
"globalId": "{D0C706FB-B4D1-4645-A1B1-24CF0B1DE7F4}"
,"percentAlong":0.5,
"traceLocationType":"startingPoint"}]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now we need to figure why Trace widget isn't sending the globalid though, sounds like a bug&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 15:04:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/share-named-trace-configuration-in-webmap-missing/m-p/1548428#M4397</guid>
      <dc:creator>HusseinNasser2</dc:creator>
      <dc:date>2024-10-14T15:04:12Z</dc:date>
    </item>
  </channel>
</rss>

