<?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: Need help connecting two layers with slightly differently labeled state abreviations. in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499190#M9888</link>
    <description>&lt;P&gt;So is the issue just that you don't want the "US-" part in the dropdown? You can do it with a data expression!&lt;/P&gt;&lt;P&gt;It's kind of goofy, but trust me, it works. By creating a field with a &lt;STRONG&gt;domain&lt;/STRONG&gt;, we can tell it to associate the 2-letter abbreviation with the US-**unspecified** format.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return FeatureSet(Text({
    fields: [
        {
            name: 'state',
            alias: 'Point of Origin State',
            type: 'esriFieldTypeString',
            domain: {
                name: 'state-abbrev-domain',
                type: 'codedValue',
                codedValues: [
                    {code:"US-AL", name: "AL"},
                    {code:"US-AK", name: "AK"},
                    {code:"US-AZ", name: "AZ"},
                    {code:"US-AR", name: "AR"},
                    {code:"US-CA", name: "CA"},
                    {code:"US-CO", name: "CO"},
                    {code:"US-CT", name: "CT"},
                    {code:"US-DE", name: "DE"},
                    {code:"US-FL", name: "FL"},
                    {code:"US-GA", name: "GA"},
                    {code:"US-HI", name: "HI"},
                    {code:"US-ID", name: "ID"},
                    {code:"US-IL", name: "IL"},
                    {code:"US-IN", name: "IN"},
                    {code:"US-IA", name: "IA"},
                    {code:"US-KS", name: "KS"},
                    {code:"US-KY", name: "KY"},
                    {code:"US-LA", name: "LA"},
                    {code:"US-ME", name: "ME"},
                    {code:"US-MD", name: "MD"},
                    {code:"US-MA", name: "MA"},
                    {code:"US-MI", name: "MI"},
                    {code:"US-MN", name: "MN"},
                    {code:"US-MS", name: "MS"},
                    {code:"US-MO", name: "MO"},
                    {code:"US-MT", name: "MT"},
                    {code:"US-NE", name: "NE"},
                    {code:"US-NV", name: "NV"},
                    {code:"US-NH", name: "NH"},
                    {code:"US-NJ", name: "NJ"},
                    {code:"US-NM", name: "NM"},
                    {code:"US-NY", name: "NY"},
                    {code:"US-NC", name: "NC"},
                    {code:"US-ND", name: "ND"},
                    {code:"US-OH", name: "OH"},
                    {code:"US-OK", name: "OK"},
                    {code:"US-OR", name: "OR"},
                    {code:"US-PA", name: "PA"},
                    {code:"US-RI", name: "RI"},
                    {code:"US-SC", name: "SC"},
                    {code:"US-SD", name: "SD"},
                    {code:"US-TN", name: "TN"},
                    {code:"US-TX", name: "TX"},
                    {code:"US-UT", name: "UT"},
                    {code:"US-VT", name: "VT"},
                    {code:"US-VA", name: "VA"},
                    {code:"US-WA", name: "WA"},
                    {code:"US-WV", name: "WV"},
                    {code:"US-WI", name: "WI"},
                    {code:"US-WY", name: "WY"}
                ]
            }
        }
    ],
    features: [
        {attributes: {state: "US-AL"}},
        {attributes: {state: "US-AK"}},
        {attributes: {state: "US-AZ"}},
        {attributes: {state: "US-AR"}},
        {attributes: {state: "US-CA"}},
        {attributes: {state: "US-CO"}},
        {attributes: {state: "US-CT"}},
        {attributes: {state: "US-DE"}},
        {attributes: {state: "US-FL"}},
        {attributes: {state: "US-GA"}},
        {attributes: {state: "US-HI"}},
        {attributes: {state: "US-ID"}},
        {attributes: {state: "US-IL"}},
        {attributes: {state: "US-IN"}},
        {attributes: {state: "US-IA"}},
        {attributes: {state: "US-KS"}},
        {attributes: {state: "US-KY"}},
        {attributes: {state: "US-LA"}},
        {attributes: {state: "US-ME"}},
        {attributes: {state: "US-MD"}},
        {attributes: {state: "US-MA"}},
        {attributes: {state: "US-MI"}},
        {attributes: {state: "US-MN"}},
        {attributes: {state: "US-MS"}},
        {attributes: {state: "US-MO"}},
        {attributes: {state: "US-MT"}},
        {attributes: {state: "US-NE"}},
        {attributes: {state: "US-NV"}},
        {attributes: {state: "US-NH"}},
        {attributes: {state: "US-NJ"}},
        {attributes: {state: "US-NM"}},
        {attributes: {state: "US-NY"}},
        {attributes: {state: "US-NC"}},
        {attributes: {state: "US-ND"}},
        {attributes: {state: "US-OH"}},
        {attributes: {state: "US-OK"}},
        {attributes: {state: "US-OR"}},
        {attributes: {state: "US-PA"}},
        {attributes: {state: "US-RI"}},
        {attributes: {state: "US-SC"}},
        {attributes: {state: "US-SD"}},
        {attributes: {state: "US-TN"}},
        {attributes: {state: "US-TX"}},
        {attributes: {state: "US-UT"}},
        {attributes: {state: "US-VT"}},
        {attributes: {state: "US-VA"}},
        {attributes: {state: "US-WA"}},
        {attributes: {state: "US-WV"}},
        {attributes: {state: "US-WI"}},
        {attributes: {state: "US-WY"}}
    ],
    geometryType: ''
}))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Then set your selector to Grouped Features with that as your Data Expression. The selector shows the name, but it acts on the code. I included the US-**unspecified** code on my list to show.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1719593975140.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108295i013E5428B026533D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1719593975140.png" alt="jcarlson_0-1719593975140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1719594006707.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108296iCB19D9C81EA0E63C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1719594006707.png" alt="jcarlson_1-1719594006707.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2024 17:00:06 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2024-06-28T17:00:06Z</dc:date>
    <item>
      <title>Need help connecting two layers with slightly differently labeled state abreviations.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499161#M9885</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having trouble getting a dashboard with a dropdown state selector to filter a wildfire label.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dropdown uses standard state abbreviations (AZ/AK/AR, etc) while the wildfire layer has for some reason decided to name them US-AZ/US-AK/US-AR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd previously found a way to cut the "US-" off of the abbreviations when labeling them, or creating an expression within the map, but I see no way to reference the map's expressions while inside the dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone point me in the right direction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 16:17:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499161#M9885</guid>
      <dc:creator>JHolbrook</dc:creator>
      <dc:date>2024-06-28T16:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help connecting two layers with slightly differently labeled state abreviations.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499190#M9888</link>
      <description>&lt;P&gt;So is the issue just that you don't want the "US-" part in the dropdown? You can do it with a data expression!&lt;/P&gt;&lt;P&gt;It's kind of goofy, but trust me, it works. By creating a field with a &lt;STRONG&gt;domain&lt;/STRONG&gt;, we can tell it to associate the 2-letter abbreviation with the US-**unspecified** format.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return FeatureSet(Text({
    fields: [
        {
            name: 'state',
            alias: 'Point of Origin State',
            type: 'esriFieldTypeString',
            domain: {
                name: 'state-abbrev-domain',
                type: 'codedValue',
                codedValues: [
                    {code:"US-AL", name: "AL"},
                    {code:"US-AK", name: "AK"},
                    {code:"US-AZ", name: "AZ"},
                    {code:"US-AR", name: "AR"},
                    {code:"US-CA", name: "CA"},
                    {code:"US-CO", name: "CO"},
                    {code:"US-CT", name: "CT"},
                    {code:"US-DE", name: "DE"},
                    {code:"US-FL", name: "FL"},
                    {code:"US-GA", name: "GA"},
                    {code:"US-HI", name: "HI"},
                    {code:"US-ID", name: "ID"},
                    {code:"US-IL", name: "IL"},
                    {code:"US-IN", name: "IN"},
                    {code:"US-IA", name: "IA"},
                    {code:"US-KS", name: "KS"},
                    {code:"US-KY", name: "KY"},
                    {code:"US-LA", name: "LA"},
                    {code:"US-ME", name: "ME"},
                    {code:"US-MD", name: "MD"},
                    {code:"US-MA", name: "MA"},
                    {code:"US-MI", name: "MI"},
                    {code:"US-MN", name: "MN"},
                    {code:"US-MS", name: "MS"},
                    {code:"US-MO", name: "MO"},
                    {code:"US-MT", name: "MT"},
                    {code:"US-NE", name: "NE"},
                    {code:"US-NV", name: "NV"},
                    {code:"US-NH", name: "NH"},
                    {code:"US-NJ", name: "NJ"},
                    {code:"US-NM", name: "NM"},
                    {code:"US-NY", name: "NY"},
                    {code:"US-NC", name: "NC"},
                    {code:"US-ND", name: "ND"},
                    {code:"US-OH", name: "OH"},
                    {code:"US-OK", name: "OK"},
                    {code:"US-OR", name: "OR"},
                    {code:"US-PA", name: "PA"},
                    {code:"US-RI", name: "RI"},
                    {code:"US-SC", name: "SC"},
                    {code:"US-SD", name: "SD"},
                    {code:"US-TN", name: "TN"},
                    {code:"US-TX", name: "TX"},
                    {code:"US-UT", name: "UT"},
                    {code:"US-VT", name: "VT"},
                    {code:"US-VA", name: "VA"},
                    {code:"US-WA", name: "WA"},
                    {code:"US-WV", name: "WV"},
                    {code:"US-WI", name: "WI"},
                    {code:"US-WY", name: "WY"}
                ]
            }
        }
    ],
    features: [
        {attributes: {state: "US-AL"}},
        {attributes: {state: "US-AK"}},
        {attributes: {state: "US-AZ"}},
        {attributes: {state: "US-AR"}},
        {attributes: {state: "US-CA"}},
        {attributes: {state: "US-CO"}},
        {attributes: {state: "US-CT"}},
        {attributes: {state: "US-DE"}},
        {attributes: {state: "US-FL"}},
        {attributes: {state: "US-GA"}},
        {attributes: {state: "US-HI"}},
        {attributes: {state: "US-ID"}},
        {attributes: {state: "US-IL"}},
        {attributes: {state: "US-IN"}},
        {attributes: {state: "US-IA"}},
        {attributes: {state: "US-KS"}},
        {attributes: {state: "US-KY"}},
        {attributes: {state: "US-LA"}},
        {attributes: {state: "US-ME"}},
        {attributes: {state: "US-MD"}},
        {attributes: {state: "US-MA"}},
        {attributes: {state: "US-MI"}},
        {attributes: {state: "US-MN"}},
        {attributes: {state: "US-MS"}},
        {attributes: {state: "US-MO"}},
        {attributes: {state: "US-MT"}},
        {attributes: {state: "US-NE"}},
        {attributes: {state: "US-NV"}},
        {attributes: {state: "US-NH"}},
        {attributes: {state: "US-NJ"}},
        {attributes: {state: "US-NM"}},
        {attributes: {state: "US-NY"}},
        {attributes: {state: "US-NC"}},
        {attributes: {state: "US-ND"}},
        {attributes: {state: "US-OH"}},
        {attributes: {state: "US-OK"}},
        {attributes: {state: "US-OR"}},
        {attributes: {state: "US-PA"}},
        {attributes: {state: "US-RI"}},
        {attributes: {state: "US-SC"}},
        {attributes: {state: "US-SD"}},
        {attributes: {state: "US-TN"}},
        {attributes: {state: "US-TX"}},
        {attributes: {state: "US-UT"}},
        {attributes: {state: "US-VT"}},
        {attributes: {state: "US-VA"}},
        {attributes: {state: "US-WA"}},
        {attributes: {state: "US-WV"}},
        {attributes: {state: "US-WI"}},
        {attributes: {state: "US-WY"}}
    ],
    geometryType: ''
}))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Then set your selector to Grouped Features with that as your Data Expression. The selector shows the name, but it acts on the code. I included the US-**unspecified** code on my list to show.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1719593975140.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108295i013E5428B026533D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1719593975140.png" alt="jcarlson_0-1719593975140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1719594006707.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108296iCB19D9C81EA0E63C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1719594006707.png" alt="jcarlson_1-1719594006707.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 17:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499190#M9888</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-06-28T17:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help connecting two layers with slightly differently labeled state abreviations.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499280#M9891</link>
      <description>&lt;P&gt;Josh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the drop down is state and US territory info, which includes the proper names, as well as 2 letter abbreviations.&amp;nbsp; That drop down filters to a bunch of different elements across the board, not just the wildfires list.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything else works from the drop down, but the weird abbreviation pattern in the wildfire layer is the problem.&amp;nbsp; The wildfire layer appears on the map, and is the data referenced in the list.&amp;nbsp; I don't want to change the drop down to be the data from the wildfire layer because it would then be restricted to states and not territories/DC.&amp;nbsp; Also, my other boards, use the same data sets for the drop downs for consistency purposes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the help!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 18:50:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499280#M9891</guid>
      <dc:creator>JHolbrook</dc:creator>
      <dc:date>2024-06-28T18:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help connecting two layers with slightly differently labeled state abreviations.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499305#M9892</link>
      <description>&lt;P&gt;Oh, that's no good. If you need your selector to act against multiple data sources that have conflicting values, it gets messier, maybe impossible. But I think we can still do this.&lt;/P&gt;&lt;P&gt;Here's an idea: set the selector to &lt;STRONG&gt;Features&lt;/STRONG&gt;, not Grouped Values. Since we have one entry per state, it's fine. On the Features setting, your filter actions can use &lt;EM&gt;different fields&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;If we amend that expression to include things like the state's proper name, abbreviations, etc., we can filter different widgets on their appropriate fields.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return FeatureSet(Text({
    fields: [
        {
            name: 'territory_state',
            alias: 'Point of Origin State',
            type: 'esriFieldTypeString',
            domain: {
                name: 'state-abbrev-domain',
                type: 'codedValue',
                codedValues: [
                    {code:"US-AL", name: "AL"},
                    {code:"US-AK", name: "AK"},
                    // etc
                ]
            }
        },
        { name: 'state_abbrev', type: 'esriFieldTypeString' },
        { name: 'state_full', type: 'esriFieldTypeString' }
    ],
    features: [
        {attributes: {territory_state: "US-AL", state_abbrev: 'AL', state_full: 'Alabama'}},
        {attributes: {territory_state: "US-AK", state_abbrev: 'AK', state_full: 'Alaska'}},
        // etc
    ],
    geometryType: ''
}))&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1719601794756.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108321i0C14524FE93B2139/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1719601794756.png" alt="jcarlson_0-1719601794756.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The end result is a selector that can behave differently to accommodate the layer it's interacting with. What do you think, will it work?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 19:11:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499305#M9892</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-06-28T19:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help connecting two layers with slightly differently labeled state abreviations.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499342#M9894</link>
      <description>&lt;P&gt;Josh,&amp;nbsp; I think this will work.&amp;nbsp; I can't be sure though since apparently many of my connected Esri Livefeeds layers all just broke and I won't be to try to do this until they are back up and running.&amp;nbsp; Thanks again, Josh!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 20:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499342#M9894</guid>
      <dc:creator>JHolbrook</dc:creator>
      <dc:date>2024-06-28T20:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help connecting two layers with slightly differently labeled state abreviations.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499350#M9895</link>
      <description>&lt;P&gt;Happy to help! This was an interesting one, and something that I might use in some of my own dashboards!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 20:19:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499350#M9895</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-06-28T20:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help connecting two layers with slightly differently labeled state abreviations.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499351#M9896</link>
      <description>&lt;P&gt;Oh, you know what? If you do the Features selector with the different values, you could actually drop that entire &lt;STRONG&gt;domain&lt;/STRONG&gt; section of the expression. That will keep things a bit more concise.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 20:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499351#M9896</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-06-28T20:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help connecting two layers with slightly differently labeled state abreviations.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499407#M9897</link>
      <description>&lt;P&gt;Thanks again, Josh!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 21:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/need-help-connecting-two-layers-with-slightly/m-p/1499407#M9897</guid>
      <dc:creator>JHolbrook</dc:creator>
      <dc:date>2024-06-28T21:37:48Z</dc:date>
    </item>
  </channel>
</rss>

