<?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: How to create a Widget alongside Scalebar one's ? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-create-a-widget-alongside-scalebar-one-s/m-p/1037981#M20475</link>
    <description>&lt;P&gt;I succeed in making widget starting at application loading with openAtStart. Thanks a lot !&lt;/P&gt;&lt;P&gt;But now how to hide the plugin's icon ? The user has no interaction with the plugin so the icon is useless and confusing...&lt;/P&gt;</description>
    <pubDate>Thu, 18 Mar 2021 12:14:41 GMT</pubDate>
    <dc:creator>Raphiki</dc:creator>
    <dc:date>2021-03-18T12:14:41Z</dc:date>
    <item>
      <title>How to create a Widget alongside Scalebar one's ?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-create-a-widget-alongside-scalebar-one-s/m-p/1013548#M20104</link>
      <description>&lt;P&gt;I'm trying to make a widget which will perform some background task.&lt;/P&gt;&lt;P&gt;The user should have no interaction with it, so I would like this widget was started on webapplication startup, and was not visible.&lt;/P&gt;&lt;P&gt;I read in the doc that a preload wirdget will fit my needs, and I just need to set the manifest's property&amp;nbsp;&lt;SPAN&gt;inPanel to false :&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"BkgTask"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"label"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"DEV"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"platform"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"HTML"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"type"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"widget"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"version"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"2.8"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"wabVersion"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"2.8"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"copyright"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"2021"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"license"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank" rel="noopener"&gt;http://www.apache.org/licenses/LICENSE-2.0&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"properties"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"inPanel"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"hasUIFile"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"hasLocale"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"hasStyle"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"hasConfig"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"hasSettingPage"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"hasSettingUIFile"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"hasSettingLocale"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"hasSettingStyle"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And for the moment my Widget.js only do a :&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;&lt;SPAN&gt;console&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;log&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Hello&amp;nbsp;world"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I upload my widget on my server and add it following this procedure:&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/fr/portal/10.7/use/add-custom-widgets.htm#ESRI_SECTION1_BBB45680A0204EFB8DB521977383EA8D" target="_blank" rel="noopener"&gt;https://enterprise.arcgis.com/fr/portal/10.7/use/add-custom-widgets.htm#ESRI_SECTION1_BBB45680A0204EFB8DB521977383EA8D&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But when I start a WAB I don't see my custom widget near to Scalebar widget or other preloaded widget (see attached screenshot).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What I missed in my widget configuration ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Jan 2021 12:45:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-create-a-widget-alongside-scalebar-one-s/m-p/1013548#M20104</guid>
      <dc:creator>Raphiki</dc:creator>
      <dc:date>2021-01-04T12:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Widget alongside Scalebar one's ?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-create-a-widget-alongside-scalebar-one-s/m-p/1014191#M20113</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I suggest you start with the basics of creating a new widget and adding it into WAB before modifying and customizing advanced/different default settings.&lt;/P&gt;&lt;P&gt;Have you ever managed to create a custom widget and add it to a WAB application before? if not, start with that through the tutorials or ready examples you can use -&amp;nbsp;&lt;A href="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm" target="_blank"&gt;https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once you managed to create a custom widget and add it successfully to a WAB app, you can configure it to launch automatically when the app starts either through the WAB interface or through the JSON file, but this should be your last concern, it's an easy fix and it sounds like your widget isn't created properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shay.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 07:31:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-create-a-widget-alongside-scalebar-one-s/m-p/1014191#M20113</guid>
      <dc:creator>shaylavi</dc:creator>
      <dc:date>2021-01-06T07:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Widget alongside Scalebar one's ?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-create-a-widget-alongside-scalebar-one-s/m-p/1014935#M20134</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/435742"&gt;@Raphiki&lt;/a&gt;&amp;nbsp;, you have 2 options, one is to create one from scratch. Creating a onscreen widget is the same as creating all the other widget. The only difference is how you specify the manifest.json file.&lt;/P&gt;&lt;P&gt;example below&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "name": "ScaleNElevation",
  "platform": "HTML",
  "2D": true,
  "3D": false,
  "version": "2.16",
  "wabVersion": "2.16",
  "author": "Victor Tey",
  "description": "View current scale and set scale",
  "copyright": "",
  "license": "http://www.apache.org/licenses/LICENSE-2.0",
  "openAtStart":true,  
  "properties": {		
    "inPanel": false,
    "hasUIFile": true,
    "supportMultiInstance": false,
    "closeable": false,
    "hasSettingPage": false,
    "hasSettingUIFile" : false,
    "hasConfig" : true,
    "position": {
        "left": 10,
        "bottom": 60
     }    
  } 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Note the inPanel: false, closable false and position to place the widget. Above is a working copy of my manifest.json. Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 00:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-create-a-widget-alongside-scalebar-one-s/m-p/1014935#M20134</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2021-01-08T00:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Widget alongside Scalebar one's ?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-create-a-widget-alongside-scalebar-one-s/m-p/1037981#M20475</link>
      <description>&lt;P&gt;I succeed in making widget starting at application loading with openAtStart. Thanks a lot !&lt;/P&gt;&lt;P&gt;But now how to hide the plugin's icon ? The user has no interaction with the plugin so the icon is useless and confusing...&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 12:14:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-create-a-widget-alongside-scalebar-one-s/m-p/1037981#M20475</guid>
      <dc:creator>Raphiki</dc:creator>
      <dc:date>2021-03-18T12:14:41Z</dc:date>
    </item>
  </channel>
</rss>

