<?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 programatically activate a specific view within a Section widget? in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/programatically-activate-a-specific-view-within-a/m-p/1220089#M5458</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Is there any way to activate a specific view within a Section widget either through the Section widget's properties or via the View Navigation widget?&lt;/P&gt;&lt;P&gt;I don't see the Section widget, any of the View widgets, nor the View Navigation widget listed in the state, e.g.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const appWidgets = getAppStore().getState().appConfig.widgets
widgetsArray = Object.values(appWidgets)
widgetsArray.forEach(w =&amp;gt; {
  console.log(w.id, w.uri)
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2022 23:58:24 GMT</pubDate>
    <dc:creator>john_cartwright_noaa</dc:creator>
    <dc:date>2022-10-07T23:58:24Z</dc:date>
    <item>
      <title>programatically activate a specific view within a Section widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/programatically-activate-a-specific-view-within-a/m-p/1220089#M5458</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Is there any way to activate a specific view within a Section widget either through the Section widget's properties or via the View Navigation widget?&lt;/P&gt;&lt;P&gt;I don't see the Section widget, any of the View widgets, nor the View Navigation widget listed in the state, e.g.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const appWidgets = getAppStore().getState().appConfig.widgets
widgetsArray = Object.values(appWidgets)
widgetsArray.forEach(w =&amp;gt; {
  console.log(w.id, w.uri)
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 23:58:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/programatically-activate-a-specific-view-within-a/m-p/1220089#M5458</guid>
      <dc:creator>john_cartwright_noaa</dc:creator>
      <dc:date>2022-10-07T23:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: programatically activate a specific view within a Section widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/programatically-activate-a-specific-view-within-a/m-p/1303732#M7452</link>
      <description>&lt;P&gt;I couldn't find a way to do it through ExB code either so I just simulated a click with&lt;/P&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;document&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;querySelectorAll&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'a[role="button"]'&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;forEach&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;any&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;innerText&lt;/SPAN&gt; &lt;SPAN&gt;===&lt;/SPAN&gt; &lt;SPAN&gt;"Map"&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;click&lt;/SPAN&gt;&lt;SPAN&gt;());&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;Not the most elegant/robust solution but seems to work ok.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Jun 2023 03:58:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/programatically-activate-a-specific-view-within-a/m-p/1303732#M7452</guid>
      <dc:creator>LeonAus</dc:creator>
      <dc:date>2023-06-28T03:58:30Z</dc:date>
    </item>
  </channel>
</rss>

