<?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 How to set that ItemId change in config.json will affect same web app in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-set-that-itemid-change-in-config-json-will/m-p/879106#M13945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I use Web AppBuilder (Develper Edtion) 2.17 and&amp;nbsp;&lt;/SPAN&gt;I want that when I change &lt;STRONG&gt;map.ItemId&lt;/STRONG&gt; in config.json in my server, that the user of my web app will get the new map, even if he continues to use same URI address of my web app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2020 06:53:53 GMT</pubDate>
    <dc:creator>MichaelLev</dc:creator>
    <dc:date>2020-10-08T06:53:53Z</dc:date>
    <item>
      <title>How to set that ItemId change in config.json will affect same web app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-set-that-itemid-change-in-config-json-will/m-p/879106#M13945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I use Web AppBuilder (Develper Edtion) 2.17 and&amp;nbsp;&lt;/SPAN&gt;I want that when I change &lt;STRONG&gt;map.ItemId&lt;/STRONG&gt; in config.json in my server, that the user of my web app will get the new map, even if he continues to use same URI address of my web app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2020 06:53:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-set-that-itemid-change-in-config-json-will/m-p/879106#M13945</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2020-10-08T06:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to set that ItemId change in config.json will affect same web app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-set-that-itemid-change-in-config-json-will/m-p/879107#M13946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The problem is that the browser is caching the apps config.json.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a thread where this is discussed in detail.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/158241"&gt;https://community.esri.com/thread/158241&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2020 12:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-set-that-itemid-change-in-config-json-will/m-p/879107#M13946</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-10-08T12:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set that ItemId change in config.json will affect same web app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-set-that-itemid-change-in-config-json-will/m-p/879108#M13947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the link.&lt;/P&gt;&lt;P&gt;Actually I had already thought about versioning the 3 js files at the end of index.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked my idea today, and even that&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;map.ItemId&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;is&amp;nbsp;&lt;/SPAN&gt;in config.json and you wrote that config.json is also cached,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;it worked perfect, so maybe the config.json is &lt;STRONG&gt;not&lt;/STRONG&gt; cached after all?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I assume that when I'll have to change some Widget.js file (and the user will still use the same app url)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I'll have either to use the solution in your link,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;or maybe use the info in &lt;A href="https://stackoverflow.com/questions/49547/how-do-we-control-web-page-caching-across-all-browsers"&gt;a&lt;/A&gt;, &lt;A href="https://medium.com/@codebyamir/a-web-developers-guide-to-browser-caching-cc41f3b73e7c"&gt;b&lt;/A&gt;,&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/12279632/update-an-html-file-so-that-the-browser-knows-not-use-the-one-in-the-cache/12279862"&gt;c&lt;/A&gt;, &lt;A href="https://stackoverflow.com/questions/12279632/update-an-html-file-so-that-the-browser-knows-not-use-the-one-in-the-cache/12279862"&gt;d&lt;/A&gt; and &lt;A href="https://stackoverflow.com/questions/15041603/how-to-prevent-the-browser-from-caching-a-json-file"&gt;e&lt;/A&gt; (which is specific on how to not cache a json file(s) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Michael&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2020 13:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-set-that-itemid-change-in-config-json-will/m-p/879108#M13947</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2020-10-09T13:36:43Z</dc:date>
    </item>
  </channel>
</rss>

