<?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: Open side panel at start in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264040#M6987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't side panels have a toggle property?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 16:09:36 GMT</pubDate>
    <dc:creator>DavidColey</dc:creator>
    <dc:date>2015-03-20T16:09:36Z</dc:date>
    <item>
      <title>Open side panel at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264034#M6981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On a web app created with webapp builder, how can I make the legend on the sidebar open at start?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to insert this in \widgets\Legend\config.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;"openAtStart": true&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not working... Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full config.json :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{
&amp;nbsp; "legend":{
&amp;nbsp;&amp;nbsp;&amp;nbsp; "arrangement": 0,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "autoUpdate": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "respectCurrentMapScale": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "openAtStart": true
&amp;nbsp; }
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264034#M6981</guid>
      <dc:creator>SébastienMartin</dc:creator>
      <dc:date>2021-12-11T12:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Open widget at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264035#M6982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to post WAB questions to the &lt;A href="https://community.esri.com/space/2150"&gt;Web AppBuilder for ArcGIS&lt;/A&gt;​ space in order to reach a larger group of people who are working with the Web App Builder. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 19:22:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264035#M6982</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-03-19T19:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Open widget at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264036#M6983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 19:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264036#M6983</guid>
      <dc:creator>SébastienMartin</dc:creator>
      <dc:date>2015-03-19T19:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Open widget at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264037#M6984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/57304" target="_blank"&gt;Martin Mimeault&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just need to add the&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;"openAtStart": true,&lt;/PRE&gt;&lt;P&gt;to the main config.json file in the root of the application. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&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; "uri": "widgets/Legend/Widget",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "version": "1.1",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": "widgets/Legend/Widget_13",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "index": 4,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Legend",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "label": "Legend",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "openAtStart": true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264037#M6984</guid>
      <dc:creator>StanMcShinsky</dc:creator>
      <dc:date>2021-12-11T12:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Open widget at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264038#M6985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Unfortunately that does not work for panel widgets as Martin is looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 22:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264038#M6985</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-03-19T22:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Open widget at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264039#M6986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but as Robert says, it's not working as the widget is in the side pannel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Must be somewhere in the javascript Panel.js or TabWidgetFrame.js but I can't figure it out...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 13:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264039#M6986</guid>
      <dc:creator>SébastienMartin</dc:creator>
      <dc:date>2015-03-20T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Open side panel at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264040#M6987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't side panels have a toggle property?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 16:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264040#M6987</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2015-03-20T16:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Open widget at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264041#M6988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested this and it works great for me. Did you try to add the&lt;SPAN style="line-height: 1.5;"&gt; &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue;"&gt;"openAtStart"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;: &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; to the main config file in the root of the application NOT in the &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;\widgets\Legend\config.json? This config.json file is at the same level as your index.html file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; line-height: 1.5;"&gt;By the way, if you notice for the legend widget, the main config file does not even reference a legend config file by default.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&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; "uri": "widgets/Legend/Widget",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "version": "1.1",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": "widgets/Legend/Widget_13",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "index": 2,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Legend",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "label": "Legend"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; line-height: 1.5;"&gt;If you change a default attribute for the widget then it will create a new config file in configs/Legend/config_Legend.json and add the line of code to reference that new config.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&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; "uri": "widgets/Legend/Widget",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "version": "1.1",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": "widgets/Legend/Widget_13",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "index": 2,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Legend",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "label": "Legend",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "config": "configs/Legend/config_Legend.json"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the "openAtStart": true to this file in the Legend widget and it should work. If not then try clearing your browser cache and reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am looking at this I realize that this works for the default Foldable Theme and not for the Tab Theme. Is that the issue you are having?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Tab Theme here is how to get the side panel to open at start:&lt;/P&gt;&lt;P&gt;in the file: \themes\TabTheme\widgets\SidebarController\widget.js&lt;/P&gt;&lt;P&gt;make this one change on about line 61&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; startup: function() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.inherited(arguments);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.createTabs();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this.widgetManager.minimizeWidget(this);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.widgetManager.maximizeWidget(this);//changed this
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This maximizes the side panel at startup. Not sure how to tell it what widget to open first, but if you put the one you want open at the top then it will load in first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:56:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264041#M6988</guid>
      <dc:creator>StanMcShinsky</dc:creator>
      <dc:date>2021-12-11T12:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Open side panel at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264042#M6989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stan you are my man! It was a Tab Theme, and with the change in the javascript, it works just fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 19:22:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264042#M6989</guid>
      <dc:creator>SébastienMartin</dc:creator>
      <dc:date>2015-03-23T19:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Open side panel at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264043#M6990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stan, it works very well for me also for the tab theme!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 20:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264043#M6990</guid>
      <dc:creator>ThaoLe1</dc:creator>
      <dc:date>2015-03-23T20:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Open side panel at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264044#M6991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to insert an image (jpg) in the legend area?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Thanks for "openatStart" solution! Worked perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 21:18:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264044#M6991</guid>
      <dc:creator>JohnVarghese</dc:creator>
      <dc:date>2016-03-08T21:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Open side panel at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264045#M6992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Is there a way to insert an image (jpg) in the legend area?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 22:22:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264045#M6992</guid>
      <dc:creator>JohnVarghese</dc:creator>
      <dc:date>2016-03-09T22:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Open side panel at start</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264046#M6993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;John,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; It would be possible using DOM manipulation. I.e. Using dojo query to find the legend Dom element and then insert a new img element into that Dom. I don't have a sample for this tough.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 23:25:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-side-panel-at-start/m-p/264046#M6993</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-09T23:25:57Z</dc:date>
    </item>
  </channel>
</rss>

