<?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 Instant App a field selection specifies another field  options to choose from in the form in ArcGIS Instant Apps Questions</title>
    <link>https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-a-field-selection-specifies-another/m-p/1567745#M2890</link>
    <description>&lt;P&gt;I would like to create an arcade expression in Map Viewer at the form section to be able to select a category and when I select from the category dropdown it specifies the selectable options in the type field.&lt;/P&gt;&lt;P&gt;Category : Maintenance &amp;amp; Safety&lt;/P&gt;&lt;P&gt;Type : Graffiti Removal, Tresspassing,&amp;nbsp;Sidewalk Cleaning,&amp;nbsp;Trash Removal,&amp;nbsp;Request Safety Assistance,&amp;nbsp;Other (Please Describe),&amp;nbsp;Homeless Outreach,&amp;nbsp;Request Safety Escort&lt;/P&gt;&lt;P&gt;So when I open the Instant App and trying to submit a report and select the category, like Maintenance,&amp;nbsp; in the type field I would have only these options&amp;nbsp;Graffiti Removal, Sidewalk Cleaning,&amp;nbsp;Trash Removal,&amp;nbsp;Other (Please Describe),&amp;nbsp;Homeless Outreach and when I select Safety as category I would have these options to choose from: Tresspassing,&amp;nbsp;Request Safety Assistance,&amp;nbsp;Other (Please Describe),&amp;nbsp;Request Safety Escort.&lt;/P&gt;&lt;P&gt;I have tried many expressions and none of them worked.&lt;/P&gt;&lt;P&gt;Help would be appreciated with this.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 13:47:04 GMT</pubDate>
    <dc:creator>ggregor_pulsiam</dc:creator>
    <dc:date>2024-12-12T13:47:04Z</dc:date>
    <item>
      <title>Instant App a field selection specifies another field  options to choose from in the form</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-a-field-selection-specifies-another/m-p/1567745#M2890</link>
      <description>&lt;P&gt;I would like to create an arcade expression in Map Viewer at the form section to be able to select a category and when I select from the category dropdown it specifies the selectable options in the type field.&lt;/P&gt;&lt;P&gt;Category : Maintenance &amp;amp; Safety&lt;/P&gt;&lt;P&gt;Type : Graffiti Removal, Tresspassing,&amp;nbsp;Sidewalk Cleaning,&amp;nbsp;Trash Removal,&amp;nbsp;Request Safety Assistance,&amp;nbsp;Other (Please Describe),&amp;nbsp;Homeless Outreach,&amp;nbsp;Request Safety Escort&lt;/P&gt;&lt;P&gt;So when I open the Instant App and trying to submit a report and select the category, like Maintenance,&amp;nbsp; in the type field I would have only these options&amp;nbsp;Graffiti Removal, Sidewalk Cleaning,&amp;nbsp;Trash Removal,&amp;nbsp;Other (Please Describe),&amp;nbsp;Homeless Outreach and when I select Safety as category I would have these options to choose from: Tresspassing,&amp;nbsp;Request Safety Assistance,&amp;nbsp;Other (Please Describe),&amp;nbsp;Request Safety Escort.&lt;/P&gt;&lt;P&gt;I have tried many expressions and none of them worked.&lt;/P&gt;&lt;P&gt;Help would be appreciated with this.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 13:47:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-a-field-selection-specifies-another/m-p/1567745#M2890</guid>
      <dc:creator>ggregor_pulsiam</dc:creator>
      <dc:date>2024-12-12T13:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Instant App a field selection specifies another field  options to choose from in the form</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-a-field-selection-specifies-another/m-p/1567769#M2891</link>
      <description>&lt;P&gt;This is the closest that I got, but like this I am not able to select from the combo box dropdown as you can see on the picture. These values for category and type are domain values&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ggregor_pulsiam_0-1734013777316.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121549i035EFB525D7F212D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ggregor_pulsiam_0-1734013777316.png" alt="ggregor_pulsiam_0-1734013777316.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;var category = $feature.reqcategory;&lt;BR /&gt;var reqType = $feature.reqtype;&lt;BR /&gt;&lt;BR /&gt;if (category == "Maintenance") {&lt;BR /&gt;&amp;nbsp; return ["Graffiti/Sticker Removal", "Sidewalk Cleaning", "Trash Removal", "Homeless Outreach", "Other (Please Describe)"];&lt;BR /&gt;} else if (category == "Safety") {&lt;BR /&gt;&amp;nbsp; return ["Trespassing", "Request Safety Assistance", "Request Safety Escort", "Other (Please Describe)"];&lt;BR /&gt;} else {&lt;BR /&gt;&amp;nbsp; // Return all options when no category is selected&lt;BR /&gt;&amp;nbsp; return ["Graffiti/Sticker Removal", "Sidewalk Cleaning", "Trash Removal", "Homeless Outreach", "Other (Please Describe)", "Trespassing", "Request Safety Assistance", "Request Safety Escort"];&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 15:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-questions/instant-app-a-field-selection-specifies-another/m-p/1567769#M2891</guid>
      <dc:creator>ggregor_pulsiam</dc:creator>
      <dc:date>2024-12-12T15:30:00Z</dc:date>
    </item>
  </channel>
</rss>

