<?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: Updating config.json for Application - with Javascript in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773280#M1834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah that was the thought, but then i started getting in the weeds, and then they started to grow higher. Just not a JSON master. But i am sure i am just over thinking it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2017 16:02:01 GMT</pubDate>
    <dc:creator>ToddUlery</dc:creator>
    <dc:date>2017-04-25T16:02:01Z</dc:date>
    <item>
      <title>Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773274#M1828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Is there anybody out there with tips or samples for updating WAB config.json file?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;More specifically adding a widget through Javascript.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I am trying to read in the json, find where i need to add, and update the json file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I know how to just open and manually adding the widget.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;‌ ---hoping you have some tips.&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A href="https://community.esri.com/space/2030"&gt;Developers&lt;/A&gt;‌&lt;A href="https://community.esri.com/group/1294"&gt;Web AppBuilder Custom Widgets&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 15:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773274#M1828</guid>
      <dc:creator>ToddUlery</dc:creator>
      <dc:date>2017-04-25T15:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773275#M1829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some links to tips &lt;A href="https://community.esri.com/blogs/myAlaskaGIS/2017/02/15/web-appbuilder-tips-and-links-for-creating-modifying-and-modifying-custom-widgets-2132017?sr=search&amp;amp;searchId=35f72485-f60c-42f5-a6b1-4c1fa078d19e&amp;amp;searchIndex=2"&gt;/blogs/myAlaskaGIS/2017/02/15/web-appbuilder-tips-and-links-for-creating-modifying-and-modifying-custom-widgets-2132017?sr=search&amp;amp;searchId=35f72485-f60c-42f5-a6b1-4c1fa078d19e&amp;amp;searchIndex=2&lt;/A&gt;‌&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;that and several other WAB developer edition blogs can be found &lt;A href="https://community.esri.com/blogs/myAlaskaGIS/2016/03/09/web-appbuilder-developer-edition-customization-resource-list?sr=search&amp;amp;searchId=35f72485-f60c-42f5-a6b1-4c1fa078d19e&amp;amp;searchIndex=0"&gt;/blogs/myAlaskaGIS/2016/03/09/web-appbuilder-developer-edition-customization-resource-list?sr=search&amp;amp;searchId=35f72485-f60c-42f5-a6b1-4c1fa078d19e&amp;amp;searchIndex=0&lt;/A&gt;‌&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 15:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773275#M1829</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-04-25T15:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773276#M1830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Todd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am a little confused by your goal here. Why are you wanting to update the main config.json manually. Why not use the WAB UI for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 15:38:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773276#M1830</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-25T15:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773277#M1831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some grunt tasks that run to create the widgets, and what is missing is adding it into the application. I was hoping to just add another task that reads the json, prompts the Developer for position of the widget, and updates and saves out the file.&lt;/P&gt;&lt;P&gt;I have been tasked to work out a dev workflow. We would like to keep the builder out of the flow as much as possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 15:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773277#M1831</guid>
      <dc:creator>ToddUlery</dc:creator>
      <dc:date>2017-04-25T15:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773278#M1832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca, I will give these a look over.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 15:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773278#M1832</guid>
      <dc:creator>ToddUlery</dc:creator>
      <dc:date>2017-04-25T15:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773279#M1833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Todd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have never attempted anything like that but the main config.json is just a basic json/text file so if you grunt task and read and write and parse the json then you should have no problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 15:59:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773279#M1833</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-25T15:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773280#M1834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah that was the thought, but then i started getting in the weeds, and then they started to grow higher. Just not a JSON master. But i am sure i am just over thinking it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 16:02:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773280#M1834</guid>
      <dc:creator>ToddUlery</dc:creator>
      <dc:date>2017-04-25T16:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773281#M1835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Todd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You probably are. Json is pretty simple text and the widgets are just part of a arrays like&lt;/P&gt;&lt;P&gt;"widgetsOnScreen" : {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "widgets": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "position" : {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "left" : 105,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "top" : 45,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "relative" : "map"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "id" : "_6",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "name" : "Query",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "version" : "2.4",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "uri" : "widgets/Query/widget",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "config" : "configs/Query/config_Query widget.json",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "icon" : "&lt;SPAN&gt;widgets/Query/images/icon.png"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; },&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 16:13:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773281#M1835</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-25T16:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773282#M1836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, &lt;A href="https://community.esri.com/migrated-users/157244"&gt;Robert Schmidley&lt;/A&gt;‌ and &lt;A href="https://community.esri.com/people/rastrauch"&gt;rastrauch&lt;/A&gt;‌ ---- It is a bit more complicated than I thought for the timeframe I have and would better serve to just wait on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On another objective; would you suggest a best practice when altering the WAB structure &amp;nbsp;(regarding CSS on Theme based Elements) to place these style updates in a separate&amp;nbsp;CSS file and just @import or load this in separate.&amp;nbsp;Or just tack them on to already existing CSS files where the original&amp;nbsp;exists. &amp;nbsp;???&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 13:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773282#M1836</guid>
      <dc:creator>ToddUlery</dc:creator>
      <dc:date>2017-05-08T13:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Updating config.json for Application - with Javascript</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773283#M1837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Todd, if you haven't already done so, you may want to repost your new question in &lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/groups/web-appbuilder-custom-themes" title="https://community.esri.com/groups/web-appbuilder-custom-themes"&gt;Web AppBuilder Custom Themes&lt;/A&gt;&amp;nbsp;&amp;nbsp; or at least repost and then tag that group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 15:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/updating-config-json-for-application-with/m-p/773283#M1837</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-05-08T15:45:30Z</dc:date>
    </item>
  </channel>
</rss>

