<?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: Update subnetwork - &amp;quot;expected field was not found&amp;quot; in Gas and Pipeline Questions</title>
    <link>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184793#M107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you republish with everything as default (so add the UN and layers to new map and publish that)? If a field is not visible, that could be causing your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2018 01:12:31 GMT</pubDate>
    <dc:creator>PaulLeBlanc1</dc:creator>
    <dc:date>2018-12-27T01:12:31Z</dc:date>
    <item>
      <title>Update subnetwork - "expected field was not found"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184789#M103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Created a subnetwork controller for a pipeline distribution system (a custody transfer meter), tracked down and resolved validation errors and am trying to update the subnetwork.&amp;nbsp; &amp;nbsp;What I get is below.&amp;nbsp; The server log shows the same, somewhat cryptic error.&amp;nbsp; Is there a way to find what specific field or fields the Update Subnetwork GP tool was looking for that it can't seem to find?&amp;nbsp; Not sure&amp;nbsp;why there is a field it can't find in the first place as I'm using the UPDM 2018 asset package as my starting place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers would be much appreciated.&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/432261_UnexpectedError_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2018 21:09:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184789#M103</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2018-12-26T21:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update subnetwork - "expected field was not found"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184790#M104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you run a Subnetwork Trace on the subnetwork you are trying to update?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2018 22:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184790#M104</guid>
      <dc:creator>PaulLeBlanc1</dc:creator>
      <dc:date>2018-12-26T22:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update subnetwork - "expected field was not found"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184791#M105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; Yes,actually it seems I can run a subnetwork trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2018 23:19:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184791#M105</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2018-12-26T23:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update subnetwork - "expected field was not found"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184792#M106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For what it's worth, I re-ordered fields in the PipelineLine and PipelineDevice classes before publishing the feature service.&amp;nbsp; &amp;nbsp;For example, moved the LIFECYCLESTATUS field closer to the top so its easier to see.&amp;nbsp; Would this make a difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 00:19:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184792#M106</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2018-12-27T00:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Update subnetwork - "expected field was not found"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184793#M107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you republish with everything as default (so add the UN and layers to new map and publish that)? If a field is not visible, that could be causing your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 01:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184793#M107</guid>
      <dc:creator>PaulLeBlanc1</dc:creator>
      <dc:date>2018-12-27T01:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Update subnetwork - "expected field was not found"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184794#M108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try.. but I didn't change field visibility, just the field order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 01:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184794#M108</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2018-12-27T01:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update subnetwork - "expected field was not found"</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184795#M109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So... for some reason I really don't understand when I applied my asset package the subnetwork fields (systemsubnetname, pressuresubnetname and isolationsubnetname) did not get added to all of my Pipeline classes.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;What I did to resolve the issue was to back out all the way - removing feature services and deleting the feature dataset, then staging a new utility network and applying the same asset package.&amp;nbsp; Then loaded data, configured subnetwork controllers and resolved *all* validation errors.&amp;nbsp; At that point I got "Update Subnetwork" to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A couple points:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; The first (failed) time through I know I reordered fields in the Pipeline classes to make things more readable -- for example, moving LIFECYCLESTATUS to the top.&amp;nbsp; &amp;nbsp;It *may* have been the case that I changed the visibility of a critical field as well -- I don't think I did, but can't say it wasn't possible.&amp;nbsp; The second time (that worked) I made no changes to Pipeline class fields at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Rather than having to resolve *all* validation errors it may have been the case that I could have set some trace barriers to isolate the "good" part of the network from the "bad" and thus followed a piecemeal approach to validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; It would still be good when receiving an error message that says "Expected field could not be found" that the software would also tell you *which* field it was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got some pointers from Esri tech support along the way - for which I say "thank you"!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/update-subnetwork-quot-expected-field-was-not/m-p/184795#M109</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2018-12-27T21:21:06Z</dc:date>
    </item>
  </channel>
</rss>

