<?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: Using a web app template without Online/Portal in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-web-app-template-without-online-portal/m-p/137069#M12720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Kelly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some good stuff there and I'll definitely read up more on that process, but a lot of it is ArcGIS Online focused.&amp;nbsp; I'm specifically looking at being able to just use a barebones javascript api page that I can show the functionality of services that I've published on my local ArcGIS server.&amp;nbsp; Something like the Flex Viewer, where I can build a web app in 30 seconds to show an audience my feature service on a map background, but in JavaScript API.&amp;nbsp; I think that the Web App Builder in AGOL is like that, but that functionality (that I can see) isn't available without AGOL or Portal (neither of which I have).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 18:37:19 GMT</pubDate>
    <dc:creator>ToddBlanchette</dc:creator>
    <dc:date>2015-03-25T18:37:19Z</dc:date>
    <item>
      <title>Using a web app template without Online/Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-web-app-template-without-online-portal/m-p/137067#M12718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm playing around with the web app templates that are offered on ArcGIS Online.&amp;nbsp; What I'm trying to do is populate the map in the web app using a WMS service on my ArcGIS Server.&amp;nbsp; The issue I'm having is that the web app is looking for some form of "Map ID" that is usually found when you publish a map on ArcGIS Online or Portal for ArcGIS.&amp;nbsp; Is there an option to have the map just be based on the layers within the WMS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a few code lines from the default.js:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//default web map, default app color theme and more. These values can be overwritten by template configuration settings and url parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "appid": "",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "webmap": "",&lt;/P&gt;&lt;P&gt;//Defaults to arcgis.com. Set this value to your portal or organization host name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "sharinghost": location.protocol + "//" + "",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried setting the "sharinghost" to something like "myserver/arcgis/services/service/mapserver" in all kinds of variations, but just returns an error on the webpage:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unable to create map: Unable to load &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/services/service/mapserver/sharing/rest/portals/self?f=json" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/services/service/mapserver/sharing/rest/portals/self?f=json&lt;/A&gt;&lt;SPAN&gt; status: 403&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know if what I'm trying to do is even possible?&amp;nbsp; And if so, how I might go about bypassing Online/Portal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My thanks,&lt;/P&gt;&lt;P&gt;Todd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 16:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-web-app-template-without-online-portal/m-p/137067#M12718</guid>
      <dc:creator>ToddBlanchette</dc:creator>
      <dc:date>2015-03-24T16:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using a web app template without Online/Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-web-app-template-without-online-portal/m-p/137068#M12719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can specify the contents of a web map using json but you'll have to edit the template to support reading the web map contents from json instead of from a web map id. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details on how to create a web map using json can be found here: &lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-web-map-json/index.html#//02qt00000007000000" title="http://resources.arcgis.com/en/help/arcgis-web-map-json/index.html#//02qt00000007000000"&gt;ArcGIS web map JSON format&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And to see how to incorporate this into an existing template take a look at the &lt;A href="https://github.com/Esri/application-boilerplate-js"&gt;Application Boilerplat&lt;/A&gt;e code on github. In the boilerplate read me file look at the text under demoMap.js for an explanation of how you'd set it up to use a local web map. Once this makes sense you can update the template you are using to follow the same structure. &lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 21:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-web-app-template-without-online-portal/m-p/137068#M12719</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-03-24T21:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using a web app template without Online/Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-web-app-template-without-online-portal/m-p/137069#M12720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Kelly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some good stuff there and I'll definitely read up more on that process, but a lot of it is ArcGIS Online focused.&amp;nbsp; I'm specifically looking at being able to just use a barebones javascript api page that I can show the functionality of services that I've published on my local ArcGIS server.&amp;nbsp; Something like the Flex Viewer, where I can build a web app in 30 seconds to show an audience my feature service on a map background, but in JavaScript API.&amp;nbsp; I think that the Web App Builder in AGOL is like that, but that functionality (that I can see) isn't available without AGOL or Portal (neither of which I have).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 18:37:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-web-app-template-without-online-portal/m-p/137069#M12720</guid>
      <dc:creator>ToddBlanchette</dc:creator>
      <dc:date>2015-03-25T18:37:19Z</dc:date>
    </item>
  </channel>
</rss>

