<?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 How Can I Specify Valve Type in Isolation Trace? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-specify-valve-type-in-isolation-trace/m-p/129160#M3726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a web app for utility isolation trace on our water network. &amp;nbsp;When we run the trace, it highlights all system valves needed to isolate the water main break. &amp;nbsp;It works fine, but it highlights ALL system valves, including the curb stops. &amp;nbsp;I need to know how to modify the python code in the configuration file to specify just the valves I want. &amp;nbsp;In my map I use this definition query;&lt;EM&gt;&amp;nbsp;ValveFunction = 'IS' AND LifeCycleStatus &amp;lt;&amp;gt; 'ABN' AND LifeCycleStatus &amp;lt;&amp;gt; 'RMV'&lt;/EM&gt; &amp;nbsp;to specify active isolation valves. &amp;nbsp;All our curb stops and isolation valves are in the same feature class,&lt;STRONG&gt; wSystemValve&lt;/STRONG&gt;, differentiated by &lt;STRONG&gt;ValveFunction&lt;/STRONG&gt;. &amp;nbsp;I'm pretty sure the portion of code I need to modify in the isolation trace config is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;param4 = arcpy.Parameter(name='WSystemValve',&lt;/P&gt;&lt;P style="padding-left: 300px;"&gt;&lt;BR /&gt; displayName='WSystemValve',&lt;BR /&gt; direction='Output', datatype='GPFeatureLayer',&lt;BR /&gt; parameterType='Derived', enabled=True,&lt;BR /&gt; category=None, symbology=None, multiValue=False)&lt;/P&gt;&lt;P style="padding-left: 300px;"&gt;&lt;/P&gt;&lt;P&gt;We downloaded the isoloation trace from the ESRI website, so we didn't write this code. &amp;nbsp;And I only know enough about python to be dangerous!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated. I've attached the python code in notepad in case I'm completely wrong in where to modify it. &amp;nbsp;Or, if I'm looking in the completely wrong place to specify which valves to chose, please direct me to the correct place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 16:32:58 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-07-19T16:32:58Z</dc:date>
    <item>
      <title>How Can I Specify Valve Type in Isolation Trace?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-specify-valve-type-in-isolation-trace/m-p/129160#M3726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a web app for utility isolation trace on our water network. &amp;nbsp;When we run the trace, it highlights all system valves needed to isolate the water main break. &amp;nbsp;It works fine, but it highlights ALL system valves, including the curb stops. &amp;nbsp;I need to know how to modify the python code in the configuration file to specify just the valves I want. &amp;nbsp;In my map I use this definition query;&lt;EM&gt;&amp;nbsp;ValveFunction = 'IS' AND LifeCycleStatus &amp;lt;&amp;gt; 'ABN' AND LifeCycleStatus &amp;lt;&amp;gt; 'RMV'&lt;/EM&gt; &amp;nbsp;to specify active isolation valves. &amp;nbsp;All our curb stops and isolation valves are in the same feature class,&lt;STRONG&gt; wSystemValve&lt;/STRONG&gt;, differentiated by &lt;STRONG&gt;ValveFunction&lt;/STRONG&gt;. &amp;nbsp;I'm pretty sure the portion of code I need to modify in the isolation trace config is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;param4 = arcpy.Parameter(name='WSystemValve',&lt;/P&gt;&lt;P style="padding-left: 300px;"&gt;&lt;BR /&gt; displayName='WSystemValve',&lt;BR /&gt; direction='Output', datatype='GPFeatureLayer',&lt;BR /&gt; parameterType='Derived', enabled=True,&lt;BR /&gt; category=None, symbology=None, multiValue=False)&lt;/P&gt;&lt;P style="padding-left: 300px;"&gt;&lt;/P&gt;&lt;P&gt;We downloaded the isoloation trace from the ESRI website, so we didn't write this code. &amp;nbsp;And I only know enough about python to be dangerous!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated. I've attached the python code in notepad in case I'm completely wrong in where to modify it. &amp;nbsp;Or, if I'm looking in the completely wrong place to specify which valves to chose, please direct me to the correct place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-can-i-specify-valve-type-in-isolation-trace/m-p/129160#M3726</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-07-19T16:32:58Z</dc:date>
    </item>
  </channel>
</rss>

