<?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 javascript configuration for Portal? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515628#M26014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/Viewer" title="https://github.com/Esri/Viewer"&gt;Esri/Viewer · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have obtained the Viewer application from GitHub and added a module that supports map navigation by legislative district.&amp;nbsp; The application works perfectly for ArcGIS Online versions of our maps, but not Portal.&amp;nbsp; In index.html I have configured references to the JavaScript libraries to point to our server, as instructed in the liner notes, but the application fails for "404" reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript" src="//......capitol.local/arcport/jsapi/jsapi"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JavaScript code is present in the app at run time, so now I have questions about whether I am actually missing something in the libraries.&amp;nbsp; What is wrong with this picture?&amp;nbsp; I do explicitly add a reference to color.js in the code I added, but haven't done anything with "oAuthInfo." &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" height="389" src="https://community.esri.com/legacyfs/online/124797_Capture.PNG" style="height: 389px; width: 988.44262295082px;" width="988" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2015 16:37:26 GMT</pubDate>
    <dc:creator>RobertWhite2</dc:creator>
    <dc:date>2015-09-01T16:37:26Z</dc:date>
    <item>
      <title>javascript configuration for Portal?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515628#M26014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/Viewer" title="https://github.com/Esri/Viewer"&gt;Esri/Viewer · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have obtained the Viewer application from GitHub and added a module that supports map navigation by legislative district.&amp;nbsp; The application works perfectly for ArcGIS Online versions of our maps, but not Portal.&amp;nbsp; In index.html I have configured references to the JavaScript libraries to point to our server, as instructed in the liner notes, but the application fails for "404" reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript" src="//......capitol.local/arcport/jsapi/jsapi"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JavaScript code is present in the app at run time, so now I have questions about whether I am actually missing something in the libraries.&amp;nbsp; What is wrong with this picture?&amp;nbsp; I do explicitly add a reference to color.js in the code I added, but haven't done anything with "oAuthInfo." &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" height="389" src="https://community.esri.com/legacyfs/online/124797_Capture.PNG" style="height: 389px; width: 988.44262295082px;" width="988" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 16:37:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515628#M26014</guid>
      <dc:creator>RobertWhite2</dc:creator>
      <dc:date>2015-09-01T16:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: javascript configuration for Portal?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515629#M26015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/111686"&gt;Robert White&lt;/A&gt;​&lt;BR /&gt;Does it work when if you point it to the CDN hosted JSAPI?&lt;/P&gt;&lt;P&gt;What version of Portal are you using?&amp;nbsp; (It might be a version using an older version of the JSAPI...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 23:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515629#M26015</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2015-09-01T23:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: javascript configuration for Portal?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515630#M26016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the apps we've done so far implement the CDN--this one is exceptional in that we're working with Portal instead of ArcGIS Online.&amp;nbsp; I will follow your suggestion and find out what version we have, and whether we should replace the library with version 3.14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;-r.w.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 21:40:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515630#M26016</guid>
      <dc:creator>RobinWhite</dc:creator>
      <dc:date>2015-09-02T21:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: javascript configuration for Portal?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515631#M26017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just FYI:&lt;/P&gt;&lt;P&gt;Portal 10.3 shipped with JSAPI 3.11.&lt;/P&gt;&lt;P&gt;Portal 10.3.1 shipped with JSAPI 3.13.&lt;/P&gt;&lt;P&gt;If you're using some features that are specific to 3.14, you would need to use the CDN or host it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 22:23:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515631#M26017</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2015-09-02T22:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: javascript configuration for Portal?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515632#M26018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're at 10.2.2, I think.  Our IT support has an iterative backlog and it will be several months before they'll upgrade to a newer release.  The sooner the better!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;--robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sent from mobile phone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 23:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515632#M26018</guid>
      <dc:creator>RobertWhite2</dc:creator>
      <dc:date>2015-09-02T23:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: javascript configuration for Portal?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515633#M26019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Portal 10.2.2 used JSAPI 3.8 so would not work with apps written for 3.11 or later (without a minor code change). See the important note in &lt;A href="https://developers.arcgis.com/javascript/jshelp/new_v311.html" title="https://developers.arcgis.com/javascript/jshelp/new_v311.html"&gt;What's new in Version 3.11 | Guide | ArcGIS API for JavaScript&lt;/A&gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 23:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515633#M26019</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2015-09-02T23:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: javascript configuration for Portal?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515634#M26020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Mystery resolved, that explains it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed the JavaScript and CSS working with later versions, for ArcGIS Online.&amp;nbsp; That has been kept current, references v. 3.14 and works perfectly.&amp;nbsp; Portal for our version of ArcGIS (10.2.2) was brought in later.&amp;nbsp; So (for example) a message to the effect that color.js is not found (error 404) makes sense, as it is consistent with the fact that esri/Color was added at 3.9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, it would help if I could persuade our own support staff to let us go ahead and work with 10.3.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 15:03:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/javascript-configuration-for-portal/m-p/515634#M26020</guid>
      <dc:creator>RobinWhite</dc:creator>
      <dc:date>2015-09-03T15:03:07Z</dc:date>
    </item>
  </channel>
</rss>

