<?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: Unable to use Javascript preview from the rest endpoint in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-use-javascript-preview-from-the-rest/m-p/622340#M23949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct. The "MapView" class referenced here is specific to version 4.x of the ArcGIS API for JavaScript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the version of ArcGIS Server that you are working with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2019 20:14:31 GMT</pubDate>
    <dc:creator>JacobSnyder1</dc:creator>
    <dc:date>2019-09-04T20:14:31Z</dc:date>
    <item>
      <title>Unable to use Javascript preview from the rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-use-javascript-preview-from-the-rest/m-p/622339#M23948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have installed a local copy of the javascript API following the instructions here &lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000011974" title="https://support.esri.com/en/technical-article/000011974"&gt;How To: Install the JavaScript API for use with ArcGIS for Server&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I test a service in the Javascript preview from the rest endpoint, the service does not load properly. It just displays a blank page.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/458582_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the developer console I get the following errors:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="399" src="https://community.esri.com/legacyfs/online/458583_pastedImage_3.png" width="777" /&gt;Two of the paths that it is looking for (arcgis_js_api/library/3.13/3.13/esri/views/MapView.js and ....esri/widgets/Home.js) do not exist in the wwwroot folder where I have installed the api. I am required to use the 3.13 version because of the application that we are using. Is this some problem with the Javascript viewer at the rest end point requiring these files that do not exist in the 3.13 version? The server is 10.7, and it is federated with Portal on another machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 11:27:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-use-javascript-preview-from-the-rest/m-p/622339#M23948</guid>
      <dc:creator>JillSlater3</dc:creator>
      <dc:date>2019-09-04T11:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Javascript preview from the rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-use-javascript-preview-from-the-rest/m-p/622340#M23949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct. The "MapView" class referenced here is specific to version 4.x of the ArcGIS API for JavaScript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the version of ArcGIS Server that you are working with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 20:14:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-use-javascript-preview-from-the-rest/m-p/622340#M23949</guid>
      <dc:creator>JacobSnyder1</dc:creator>
      <dc:date>2019-09-04T20:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Javascript preview from the rest endpoint</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-use-javascript-preview-from-the-rest/m-p/622341#M23950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with ArcGIS Server 10.7, federated with Portal version 10.7. I have installed version 3.13 of the javascript API to use with the Defence Product on Demand. I'm not familiar at all with javascript so I'm not sure how to troubleshoot the browser errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 07:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-use-javascript-preview-from-the-rest/m-p/622341#M23950</guid>
      <dc:creator>JillSlater3</dc:creator>
      <dc:date>2019-09-09T07:16:47Z</dc:date>
    </item>
  </channel>
</rss>

