<?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: if/else expressions in Arcade / Field Maps to show only certain domain values? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1043597#M39299</link>
    <description>&lt;P&gt;Not an AGOL or Field Maps user, but can you just create Subtypes for those categories then particular domains to each subtype/category?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 03 Apr 2021 17:16:51 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2021-04-03T17:16:51Z</dc:date>
    <item>
      <title>if/else expressions in Arcade / Field Maps to show only certain domain values?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1043486#M39286</link>
      <description>&lt;P&gt;Hi All-&lt;/P&gt;&lt;P&gt;Is it possible in the field maps form to use if/else conditionals to show available fields and/or domains? I’m working on some fire fuel treatment mapping and the domains are quite extensive and would like to be able to let the user be able to do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select a category such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Biomass&lt;/P&gt;&lt;P&gt;Experimental&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When that category is selected only show the available domains for that category:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Biomass&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="146"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="146"&gt;&lt;P&gt;Chipping&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="146"&gt;&lt;P&gt;Lop and scatter&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="146"&gt;&lt;P&gt;Masticate&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="146"&gt;&lt;P&gt;Mobile biomass facility&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="146"&gt;&lt;P&gt;Pile burn&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="146"&gt;&lt;P&gt;Truck to biomass facility&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Experimental&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE width="238"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="238"&gt;&lt;P&gt;Assisted migration&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="238"&gt;&lt;P&gt;Inoculation reduction&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="238"&gt;&lt;P&gt;Test new vegetation management tools&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if this is possible. If so, anyone have some syntax they can share?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 19:27:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1043486#M39286</guid>
      <dc:creator>ZacStanley3</dc:creator>
      <dc:date>2021-04-02T19:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: if/else expressions in Arcade / Field Maps to show only certain domain values?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1043597#M39299</link>
      <description>&lt;P&gt;Not an AGOL or Field Maps user, but can you just create Subtypes for those categories then particular domains to each subtype/category?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Apr 2021 17:16:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1043597#M39299</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-04-03T17:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: if/else expressions in Arcade / Field Maps to show only certain domain values?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1043719#M39304</link>
      <description>&lt;P&gt;That's a good suggestion. I was just hoping Field Maps had this capability, I don't know Arcade well enough to figure out.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Apr 2021 23:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1043719#M39304</guid>
      <dc:creator>ZacStanley3</dc:creator>
      <dc:date>2021-04-04T23:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: if/else expressions in Arcade / Field Maps to show only certain domain values?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1157367#M45090</link>
      <description>&lt;P&gt;Looking to set up something very similar. Did you come across the solution by any chance?&amp;nbsp;&lt;/P&gt;&lt;P&gt;To answer the other suggestion with the subtypes: You can do it in Field Maps, but some other ESRI Apps won't allow you to work with subtypes, so I am basically just trying to avoid them.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 15:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1157367#M45090</guid>
      <dc:creator>Woodpecker</dc:creator>
      <dc:date>2022-03-24T15:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: if/else expressions in Arcade / Field Maps to show only certain domain values?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1161096#M45337</link>
      <description>&lt;P&gt;I had a very similar issue and solved it with Decode function. So in your case, you would do something like this:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Decode($feature["fire_fuel_treatment"],&lt;/P&gt;&lt;P&gt;"biomass", ["chipping", "lop and scatter", "masticate", ""],&lt;BR /&gt;"experimental", ["assisted migration", "inoculation reduction", "test new vegetation management tools", ""],&lt;BR /&gt;, "")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not 100% sure if it works in Field maps, as I used this script in a different app, but I don't see a reason why it wouldn't.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 12:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/if-else-expressions-in-arcade-field-maps-to-show/m-p/1161096#M45337</guid>
      <dc:creator>Woodpecker</dc:creator>
      <dc:date>2022-04-05T12:02:10Z</dc:date>
    </item>
  </channel>
</rss>

