<?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 load config at runtime in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/load-config-at-runtime/m-p/840434#M9237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a number of config.json files under the config folder of the app and I was wondering if I can select the config.json file based on the user's action at runtime. &amp;nbsp;In other words, can I use something like this.config="configA.json"? If yes, what is the proper path syntax to point to the correct json file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know another way is to use the custom config as a url parameter but this app is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 23:34:46 GMT</pubDate>
    <dc:creator>LefterisKoumis</dc:creator>
    <dc:date>2017-07-19T23:34:46Z</dc:date>
    <item>
      <title>load config at runtime</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/load-config-at-runtime/m-p/840434#M9237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a number of config.json files under the config folder of the app and I was wondering if I can select the config.json file based on the user's action at runtime. &amp;nbsp;In other words, can I use something like this.config="configA.json"? If yes, what is the proper path syntax to point to the correct json file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know another way is to use the custom config as a url parameter but this app is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 23:34:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/load-config-at-runtime/m-p/840434#M9237</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2017-07-19T23:34:46Z</dc:date>
    </item>
  </channel>
</rss>

