<?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 Settings Page Configuration Help in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/settings-page-configuration-help/m-p/749222#M675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hello all,&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I am working on creating a custom widget that allows a user to preview images of features on the web map. The webmap is hosted through Portal backed by ArcGIS for Server. The problem that I'm currently working through has to do with the configurability of the map and designating layers by url (because I can't assume they will be in any specific order). I am trying to save the urls to the config.json file in my widget, but am having trouble with the dojo.request.xhr.() call as the config.json is not in the root directory. Is there a better way to approach this? &lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;At a basic level, I'm asking for best practices concerning writing to config.json in settings.js in order to access config.json in widget.js.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Regards,&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Jacob Nosal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2016 14:09:45 GMT</pubDate>
    <dc:creator>JacobNosal</dc:creator>
    <dc:date>2016-09-20T14:09:45Z</dc:date>
    <item>
      <title>Settings Page Configuration Help</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/settings-page-configuration-help/m-p/749222#M675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hello all,&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I am working on creating a custom widget that allows a user to preview images of features on the web map. The webmap is hosted through Portal backed by ArcGIS for Server. The problem that I'm currently working through has to do with the configurability of the map and designating layers by url (because I can't assume they will be in any specific order). I am trying to save the urls to the config.json file in my widget, but am having trouble with the dojo.request.xhr.() call as the config.json is not in the root directory. Is there a better way to approach this? &lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;At a basic level, I'm asking for best practices concerning writing to config.json in settings.js in order to access config.json in widget.js.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Regards,&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Jacob Nosal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 14:09:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/settings-page-configuration-help/m-p/749222#M675</guid>
      <dc:creator>JacobNosal</dc:creator>
      <dc:date>2016-09-20T14:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Settings Page Configuration Help</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/settings-page-configuration-help/m-p/749223#M676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Jacob,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;The WAB widget base class gives you access to the widgets config.json without the use of a dojo xhr request. You can look at the WAB help docs for info on this or any of the OTB widget for examples of code for this.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/settings-page-configuration-help/m-p/749223#M676</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-09-21T14:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Settings Page Configuration Help</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/settings-page-configuration-help/m-p/749224#M677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got it working now actually. Can you provide a link to the documentation you are referring to? For posterity's sake.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:15:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/settings-page-configuration-help/m-p/749224#M677</guid>
      <dc:creator>JacobNosal</dc:creator>
      <dc:date>2016-09-21T14:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Settings Page Configuration Help</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/settings-page-configuration-help/m-p/749225#M678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Sure here are some links that deal with access to the config.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/guide/widget-properties.htm" title="https://developers.arcgis.com/web-appbuilder/guide/widget-properties.htm"&gt;Widget properties—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/guide/make-widget-configurable.htm" title="https://developers.arcgis.com/web-appbuilder/guide/make-widget-configurable.htm"&gt;Make widget configurable—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm" title="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm"&gt;Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/settings-page-configuration-help/m-p/749225#M678</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-09-21T14:34:26Z</dc:date>
    </item>
  </channel>
</rss>

