<?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 use configuration files with Javascript API? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319587#M29445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a couple of projects out there that tackle this very thing.&lt;/P&gt;&lt;P&gt;A populat choice is the &lt;A href="https://github.com/DavidSpriggs/ConfigurableViewerJSAPI"&gt;ConfigurableViewer&lt;/A&gt;, where everything can be setup viewer a JavaScript file. It's pretty easy to jump into and there's a lot of good info in the issues discussions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A project I put out that is incredibly flexible and uses lazy loading of widgets is this &lt;A href="https://github.com/odoe/esri-js-starterkit"&gt;esri-js-starterkit&lt;/A&gt;. It's designed so that every feature of your application can essentially be built as a widget, even the map. Everything is configured via a JSON file, even the WebMapSpec which lets you use an AGO webid or you can replicate the WebMapSpec to include your own services.&lt;/P&gt;&lt;P&gt;Here are a few widgets provided on github.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/esri-map-widget" title="https://github.com/odoe/esri-map-widget"&gt;odoe/esri-map-widget · GitHub&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/esri-simpleedit-widget" title="https://github.com/odoe/esri-simpleedit-widget"&gt;odoe/esri-simpleedit-widget · GitHub&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/esri-touch-widget" title="https://github.com/odoe/esri-touch-widget"&gt;odoe/esri-touch-widget · GitHub&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2014 13:42:17 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2014-07-14T13:42:17Z</dc:date>
    <item>
      <title>how to use configuration files with Javascript API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319586#M29444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a fair amount of experience with the Flex APi but am very new to the Javascript API and just getting my head around all the Javascript resources etc... What I would like to do is implement similar functionality to what i had in my Flex API application. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to develop 1 GIS viewer application in the javascript API that serves my whole companies GIS requirement. We have a bunch of projects that all require some kind of map viewer and asscoiated functionality (find an asset, view history, check out extra information like hazard info, energy usage etc..). I see this as being one application with all functionality delivered in different widgets and with different basemaps loaded based on the user information (ie load basemap for that users region). I figured i could do this by passing URL parameter information when the request to display the map viewer page is made from whichever project requires it and then load up that specific "view" of the Map viewer application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: If I am based in London UK and want a GIS viewer for Asset Management, I load up the asset management viewer with a specific set of widgets and specific basemaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to achieve this in Flex Viewer using URL query string which essentially passed the name of a config.xml file and then simply loaded the application with that config file selected at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone achieved similar functionality in the JS.api? Can i use xml config files to control which view of my application individual users and projects get?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 11:02:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319586#M29444</guid>
      <dc:creator>grahamcooke</dc:creator>
      <dc:date>2014-07-14T11:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to use configuration files with Javascript API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319587#M29445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a couple of projects out there that tackle this very thing.&lt;/P&gt;&lt;P&gt;A populat choice is the &lt;A href="https://github.com/DavidSpriggs/ConfigurableViewerJSAPI"&gt;ConfigurableViewer&lt;/A&gt;, where everything can be setup viewer a JavaScript file. It's pretty easy to jump into and there's a lot of good info in the issues discussions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A project I put out that is incredibly flexible and uses lazy loading of widgets is this &lt;A href="https://github.com/odoe/esri-js-starterkit"&gt;esri-js-starterkit&lt;/A&gt;. It's designed so that every feature of your application can essentially be built as a widget, even the map. Everything is configured via a JSON file, even the WebMapSpec which lets you use an AGO webid or you can replicate the WebMapSpec to include your own services.&lt;/P&gt;&lt;P&gt;Here are a few widgets provided on github.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/esri-map-widget" title="https://github.com/odoe/esri-map-widget"&gt;odoe/esri-map-widget · GitHub&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/esri-simpleedit-widget" title="https://github.com/odoe/esri-simpleedit-widget"&gt;odoe/esri-simpleedit-widget · GitHub&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/esri-touch-widget" title="https://github.com/odoe/esri-touch-widget"&gt;odoe/esri-touch-widget · GitHub&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 13:42:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319587#M29445</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-07-14T13:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to use configuration files with Javascript API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319588#M29446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for replying. I will look into it and let you know how i get on. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 14:55:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319588#M29446</guid>
      <dc:creator>grahamcooke</dc:creator>
      <dc:date>2014-07-14T14:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to use configuration files with Javascript API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319589#M29447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Graham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You should also check out the Web App Builder (which is in Beta 2). It is the configurable Viewer (like the ArcGIS Viewer for Flex), but for the JavaScript API.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/groups/web-appbuilder" title="https://community.esri.com/groups/web-appbuilder"&gt;Web AppBuilder for ArcGIS&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can apply for the beta at this link: &lt;A href="https://betacommunity.esri.com/" title="https://betacommunity.esri.com/"&gt;https://betacommunity.esri.com/&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 15:07:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319589#M29447</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-14T15:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to use configuration files with Javascript API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319590#M29448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Throwing my 2 cents in, here's a simple configurable app using server side config. &lt;A href="https://github.com/davetimmins/Joosh"&gt;Joosh&lt;/A&gt; on GitHub and a sample &lt;A href="http://arcmap.azurewebsites.net/"&gt;here&lt;/A&gt; or with a different config &lt;A href="http://arcmap.azurewebsites.net/?map=basemap"&gt;here.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 21:30:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-configuration-files-with-javascript-api/m-p/319590#M29448</guid>
      <dc:creator>DaveTimmins</dc:creator>
      <dc:date>2014-07-14T21:30:33Z</dc:date>
    </item>
  </channel>
</rss>

