<?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 Set Conditional Visibility in Field Maps Smart Form using a wildcard for domain values in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/set-conditional-visibility-in-field-maps-smart/m-p/1063459#M1131</link>
    <description>&lt;P&gt;I am new to Arcade, and&amp;nbsp; setting the conditional visibility on a Group in the Field Maps Smart Form based on multiple values in an attribute domain.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Those values are:&lt;/P&gt;&lt;P&gt;bone&lt;/P&gt;&lt;P&gt;bone, carcass&lt;/P&gt;&lt;P&gt;carcass&lt;/P&gt;&lt;P&gt;feathers&lt;/P&gt;&lt;P&gt;feathers, bone&lt;/P&gt;&lt;P&gt;I can get the group to display for one value by using DomainName($feature,"mortremains")== "bone"&lt;/P&gt;&lt;P&gt;However, I would like for the group to appear if any of the attribute values have the text "bone" as part of the attribute value.&amp;nbsp; But, a wildcard option, doesn't seem available.&amp;nbsp; Tried the ||, but that didn't work either.&lt;/P&gt;&lt;P&gt;Is there a wildcard option in Arcade for the&amp;nbsp;DomainName($feature,"mortremains")== "bone" ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jun 2021 08:23:29 GMT</pubDate>
    <dc:creator>CinthiaEichhorn</dc:creator>
    <dc:date>2021-06-01T08:23:29Z</dc:date>
    <item>
      <title>Set Conditional Visibility in Field Maps Smart Form using a wildcard for domain values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/set-conditional-visibility-in-field-maps-smart/m-p/1063459#M1131</link>
      <description>&lt;P&gt;I am new to Arcade, and&amp;nbsp; setting the conditional visibility on a Group in the Field Maps Smart Form based on multiple values in an attribute domain.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Those values are:&lt;/P&gt;&lt;P&gt;bone&lt;/P&gt;&lt;P&gt;bone, carcass&lt;/P&gt;&lt;P&gt;carcass&lt;/P&gt;&lt;P&gt;feathers&lt;/P&gt;&lt;P&gt;feathers, bone&lt;/P&gt;&lt;P&gt;I can get the group to display for one value by using DomainName($feature,"mortremains")== "bone"&lt;/P&gt;&lt;P&gt;However, I would like for the group to appear if any of the attribute values have the text "bone" as part of the attribute value.&amp;nbsp; But, a wildcard option, doesn't seem available.&amp;nbsp; Tried the ||, but that didn't work either.&lt;/P&gt;&lt;P&gt;Is there a wildcard option in Arcade for the&amp;nbsp;DomainName($feature,"mortremains")== "bone" ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 08:23:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/set-conditional-visibility-in-field-maps-smart/m-p/1063459#M1131</guid>
      <dc:creator>CinthiaEichhorn</dc:creator>
      <dc:date>2021-06-01T08:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Conditional Visibility in Field Maps Smart Form using a wildcard for domain values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/set-conditional-visibility-in-field-maps-smart/m-p/1063552#M1134</link>
      <description>&lt;P&gt;I think you could use the &lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#find" target="_self"&gt;Find&lt;/A&gt; function to do this. It'd be something like:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Find("bone", DomainName($feature, "mortremains")) &amp;gt;= 0&lt;/LI-CODE&gt;&lt;P&gt;I haven't tested this but I think it should work.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 13:28:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/set-conditional-visibility-in-field-maps-smart/m-p/1063552#M1134</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-06-01T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Conditional Visibility in Field Maps Smart Form using a wildcard for domain values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/set-conditional-visibility-in-field-maps-smart/m-p/1063735#M1139</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp; &amp;nbsp; This works perfectly.&amp;nbsp; Thank you!!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To help others who may read this, there was also another choice as well:&lt;/P&gt;&lt;P&gt;All three (bones, feathers, carcass)&lt;/P&gt;&lt;P&gt;So the field user has these options:&lt;/P&gt;&lt;P&gt;bone&lt;/P&gt;&lt;P&gt;bone, carcass&lt;/P&gt;&lt;P&gt;carcass&lt;/P&gt;&lt;P&gt;feathers&lt;/P&gt;&lt;P&gt;feathers, bone&lt;/P&gt;&lt;P&gt;All three (bones, feathers, carcass)&lt;/P&gt;&lt;P&gt;I have three groups in the smart form that need to appear for the field user: bones group, feathers group, carcass group depending on what they see once they track the VHF signal.&amp;nbsp;&amp;nbsp;@Anonymous User&amp;nbsp;'s solution allows the correct groups to display based on their choice.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 18:03:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/set-conditional-visibility-in-field-maps-smart/m-p/1063735#M1139</guid>
      <dc:creator>CinthiaEichhorn</dc:creator>
      <dc:date>2021-06-01T18:03:38Z</dc:date>
    </item>
  </channel>
</rss>

