<?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: The ArcGIS JS API and ArcGIS Portal in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182469#M16949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can create a widget that can be used in Portal, but you will need WAB Developer Edition to do any sort of testing before it's deployed. A widget as referenced in the 4.x API is &lt;STRONG&gt;not&lt;/STRONG&gt; the same thing as a Web AppBuilder widget. A WAB widget has a defined &lt;A href="https://developers.arcgis.com/web-appbuilder/guide/required-files.htm"&gt;pattern&lt;/A&gt; with a file structure and required files. Is this widget for a 2D or a 3D application? If it's for 2D, then the widget will have to be written using the 3.x API. A 3D widget would be written using the 4.x API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation has a &lt;A href="https://developers.arcgis.com/web-appbuilder/guide/get-started.htm"&gt;section&lt;/A&gt; on developing your own widget for WAB, but I've preferred using this &lt;A href="https://github.com/Esri/generator-esri-appbuilder-js"&gt;method&lt;/A&gt; for creating the framework for the widget and automatically updating the widget as you modify the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2019 16:30:01 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2019-07-17T16:30:01Z</dc:date>
    <item>
      <title>The ArcGIS JS API and ArcGIS Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182468#M16948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can the ArcGIS JS API be used to create custom widgets for integration into my local ArcGIS Portal? I went through the Recenter widget exercise, and then attempted to discover a method of integrating that widget into my organization's locally-hosted ArcGIS Portal Web App Builder (WAB). The JS API, as leveraged using TypeScript, Node.js, and npm, does not provide a manifest.json file, nor does it package the CSS, NLS, or other specific items that appear to be necessary for registration with ArcGIS Portal. I'm aware of WAB Developer Edition, but we do not yet have that installed as it takes time to clear new software through our security procedures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also do not wish to re-create my own version of Portal using the ArcGIS JS API, as that seems highly inefficient and redundant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS 10.6, ArcGIS JS API 4.11, and Node.js 8.11.0, on Windows 10 x64.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input would be greatly appreciated. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 16:12:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182468#M16948</guid>
      <dc:creator>RichardMcGrath</dc:creator>
      <dc:date>2019-07-17T16:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: The ArcGIS JS API and ArcGIS Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182469#M16949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can create a widget that can be used in Portal, but you will need WAB Developer Edition to do any sort of testing before it's deployed. A widget as referenced in the 4.x API is &lt;STRONG&gt;not&lt;/STRONG&gt; the same thing as a Web AppBuilder widget. A WAB widget has a defined &lt;A href="https://developers.arcgis.com/web-appbuilder/guide/required-files.htm"&gt;pattern&lt;/A&gt; with a file structure and required files. Is this widget for a 2D or a 3D application? If it's for 2D, then the widget will have to be written using the 3.x API. A 3D widget would be written using the 4.x API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation has a &lt;A href="https://developers.arcgis.com/web-appbuilder/guide/get-started.htm"&gt;section&lt;/A&gt; on developing your own widget for WAB, but I've preferred using this &lt;A href="https://github.com/Esri/generator-esri-appbuilder-js"&gt;method&lt;/A&gt; for creating the framework for the widget and automatically updating the widget as you modify the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 16:30:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182469#M16949</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2019-07-17T16:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: The ArcGIS JS API and ArcGIS Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182470#M16950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the answer to my question is essentially "no", correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 17:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182470#M16950</guid>
      <dc:creator>RichardMcGrath</dc:creator>
      <dc:date>2019-07-17T17:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: The ArcGIS JS API and ArcGIS Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182471#M16951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;Can the ArcGIS JS API be used to create custom widgets for integration into my local ArcGIS Portal?&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use the JS API to create a widget for Web AppBuilder on your own Portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you cannot use the methodology from this &lt;A href="https://developers.arcgis.com/javascript/latest/guide/custom-widget/"&gt;page&lt;/A&gt; to do it. You have to use the coding pattern laid out in the WAB DE links I have in my previous message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot use the 4.x API to create a widget for a 2D app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 18:00:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182471#M16951</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2019-07-17T18:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: The ArcGIS JS API and ArcGIS Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182472#M16952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it! I will explore those links some more and see how it goes. Thank you for your responses and patience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 18:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-arcgis-js-api-and-arcgis-portal/m-p/182472#M16952</guid>
      <dc:creator>RichardMcGrath</dc:creator>
      <dc:date>2019-07-17T18:53:02Z</dc:date>
    </item>
  </channel>
</rss>

