FYI. This is how the code should look like in order to work if anyone needs it. make sure you Add Operable field in your valves and source layer. Apply the enabled domain.
<add key="TraceIsolation_Source_FeatureLayer" value="wWTP" /> <!-- The layer used to stop the trace. Used by the Iso Trace and the Summary Iso trace and the Toggle operable status--> <add key="TraceIsolation_Valve_FeatureLayer" value="wSystemValve|wControlValve" /> <!-- The field in the valve layer to determine the if the valve is operable 0/false or 1/true are valid values. If a valve is non operable it is skipped by the trace used by the Iso Trace and the Summary Iso trace and the toggle valve status tool --> <add key="TraceIsolation_Operable_Field_Valves" value="Operable" /> <add key="TraceIsolation_Operable_Field_Sources" value="Operable" /> <add key="TraceIsolation_Operable_Values" value="0|1" /> <!-- you need to use character codes for reserved xml characters, less then, greater then, etc--> <add key="TraceIsolation_Valve_AddSQL" value="" />
<!-- Option to clear existing Flags before running the Isolation trace--> <add key="TraceIsolation_ClearFlagsOnClick" value="true" />
FYI. This is how the code should look like in order to work if anyone needs it. make sure you Add Operable field in your valves and source layer. Apply the enabled domain.
<add key="TraceIsolation_Source_FeatureLayer" value="wWTP" /> <!-- The layer used to stop the trace. Used by the Iso Trace and the Summary Iso trace and the Toggle operable status--> <add key="TraceIsolation_Valve_FeatureLayer" value="wSystemValve|wControlValve" /> <!-- The field in the valve layer to determine the if the valve is operable 0/false or 1/true are valid values. If a valve is non operable it is skipped by the trace used by the Iso Trace and the Summary Iso trace and the toggle valve status tool --> <add key="TraceIsolation_Operable_Field_Valves" value="Operable" /> <add key="TraceIsolation_Operable_Field_Sources" value="Operable" /> <add key="TraceIsolation_Operable_Values" value="0|1" /> <!-- you need to use character codes for reserved xml characters, less then, greater then, etc--> <add key="TraceIsolation_Valve_AddSQL" value="" />
<!-- Option to clear existing Flags before running the Isolation trace--> <add key="TraceIsolation_ClearFlagsOnClick" value="true" />
Hi everyone, I use the local government data of ESRI and everything goes well except for the tool named "changeoperable status of a valve" I got a message please look at the joined file. Thanks