<?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 Multiple Condition in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841807#M3859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to use&amp;nbsp;a built-in condition like esri_map_pane combined with a&amp;nbsp;custom condition? It would be natural to&amp;nbsp;add the id of the esri_map_pane condition as a state within&amp;nbsp;my condition.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;&amp;lt;&lt;SPAN class=""&gt;insertCondition&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"&lt;/SPAN&gt;workflow_pane_created&lt;SPAN class=""&gt;"&lt;/SPAN&gt; &lt;SPAN class=""&gt;caption&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"&lt;/SPAN&gt;has the workflow pane model been&amp;nbsp;initialized yet?&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;state&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"&lt;/SPAN&gt;workflow_pane_enabled&lt;SPAN class=""&gt;"&lt;/SPAN&gt; /&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;state&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"&lt;/SPAN&gt;esri_map_pane&lt;SPAN class=""&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/&lt;/SPAN&gt;insertCondition&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You could supply&amp;nbsp;an attribute on the condition itself whether to evaluate them with a boolean and or or logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a situation where I do not want buttons to be active unless the map is active and initialized. Then I have subsequent buttons I do not want active building on the prior buttons state. Trying to do this without being able to build off of the esri provided states is a bit difficult.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2018 15:47:46 GMT</pubDate>
    <dc:creator>stevegourley</dc:creator>
    <dc:date>2018-07-31T15:47:46Z</dc:date>
    <item>
      <title>Multiple Condition</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841807#M3859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to use&amp;nbsp;a built-in condition like esri_map_pane combined with a&amp;nbsp;custom condition? It would be natural to&amp;nbsp;add the id of the esri_map_pane condition as a state within&amp;nbsp;my condition.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;&amp;lt;&lt;SPAN class=""&gt;insertCondition&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"&lt;/SPAN&gt;workflow_pane_created&lt;SPAN class=""&gt;"&lt;/SPAN&gt; &lt;SPAN class=""&gt;caption&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"&lt;/SPAN&gt;has the workflow pane model been&amp;nbsp;initialized yet?&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;state&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"&lt;/SPAN&gt;workflow_pane_enabled&lt;SPAN class=""&gt;"&lt;/SPAN&gt; /&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;state&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"&lt;/SPAN&gt;esri_map_pane&lt;SPAN class=""&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/&lt;/SPAN&gt;insertCondition&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You could supply&amp;nbsp;an attribute on the condition itself whether to evaluate them with a boolean and or or logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a situation where I do not want buttons to be active unless the map is active and initialized. Then I have subsequent buttons I do not want active building on the prior buttons state. Trying to do this without being able to build off of the esri provided states is a bit difficult.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 15:47:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841807#M3859</guid>
      <dc:creator>stevegourley</dc:creator>
      <dc:date>2018-07-31T15:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Condition</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841808#M3860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to build complex conditions based off of a number of states.&amp;nbsp; &amp;nbsp;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;insertCondition id="myCondition" caption="My Condition"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;or&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;state id="state1"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;state id="state2"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/or&amp;gt;&lt;BR /&gt; &amp;lt;/insertCondition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;insertCondition id="myCondition2" caption="My Condition 2"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;and&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;not&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;state id="state1"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/not&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;not&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;state id="state3"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/not&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/and&amp;gt;&lt;BR /&gt; &amp;lt;/insertCondition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use your own states or any of the Esri defined states in your conditions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use Esri defined conditions, you need to determine their state definition.&amp;nbsp; You can accomplish this by searching for the condition in the appropriate module&amp;nbsp;daml file.&amp;nbsp; &amp;nbsp;For example esri_mapping_xxx condition can be found in the (install_folder)\bin\Extensions\Mapping\ADMapping.daml file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some special Esri conditions - such as esri_mapping_mapPane and esri_mapping_layoutPane that are actually states.&amp;nbsp; So yes you are able to use esri_mapping_mapPane within your own condition definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Narelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 17:23:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841808#M3860</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2018-08-01T17:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Condition</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841809#M3861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This information needs to go in the documentation. Thank you for describing it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 17:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841809#M3861</guid>
      <dc:creator>stevegourley</dc:creator>
      <dc:date>2018-08-01T17:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Condition</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841810#M3862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a community sample that delves into states and conditions that might be of help here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/ConditionQuery"&gt;Framework - ConditionQuery&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 17:45:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841810#M3862</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2018-08-01T17:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Condition</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841811#M3863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be described in the proguide.&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Code-Your-Own-States-and-Conditions" title="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Code-Your-Own-States-and-Conditions"&gt;ProGuide Code Your Own States and Conditions · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 17:50:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841811#M3863</guid>
      <dc:creator>stevegourley</dc:creator>
      <dc:date>2018-08-01T17:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Condition</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841812#M3864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steve.&amp;nbsp; I've already made an issue to update the&amp;nbsp;states and condition documentation.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 17:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/multiple-condition/m-p/841812#M3864</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2018-08-01T17:52:40Z</dc:date>
    </item>
  </channel>
</rss>

