<?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: Needed recommendations for upgrade of website to ArcGIS JavaScript 4.* in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352495#M82875</link>
    <description>&lt;P&gt;The 4.X version of the API has been completely rewritten from the 3.X version. Most, if not all, of the Dojo components have been removed by now and complete removal of Dojo is a stated goal of the Dev team. You will probably be better off starting over from scratch than trying to convert your current code.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2023 14:03:24 GMT</pubDate>
    <dc:creator>JeffreyThompson2</dc:creator>
    <dc:date>2023-11-22T14:03:24Z</dc:date>
    <item>
      <title>Needed recommendations for upgrade of website to ArcGIS JavaScript 4.*</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352480#M82874</link>
      <description>&lt;P&gt;I have a web site that uses&amp;nbsp; ArcGIS JavaScript 3.36. There are many modules based on this library and on dojo and dijit. For example, in main page index.html there is such part&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;require(["dojo/parser",
         "dojo/window",
         "dojo/on",
         "mapaSimple/MapSettings",
         "mapaSimple/BaseMapsMenuFacade",
         "mapaSimple/SearchMenuFacade",&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in module&amp;nbsp;&lt;STRONG&gt;SearchMenuFacade&lt;/STRONG&gt;.js I use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;define([
"dojo/_base/declare",
"dijit/form/Button",
"mapaSimple/SearchMenuBuilder",
"mapaSimple/SearchMenuDialogRender",
"mapaSimple/SearchMenuActivity",
"dojo/i18n!mapa/nls/Resources"
],
function(
declare,
Button,
SearchMenuBuilder,
SearchMenuDialogRender,
SearchMenuActivity,
Resources          
        ) {
        return declare(null, {
            map: null,            
            menuButton: null,
            setPointPosition: null,                
        
        constructor: function(map) {            
            this.map = map;                                   
        },          
       
        createMenuButton: function() {                       
            var searchMenuBuilder = new SearchMenuBuilder(this.map);                
              
            var searchMenuDialogRender = new SearchMenuDialogRender();
            this.menuButton = new Button({
                  class: "menuButton menuSearchButton",
                  iconClass: "menuSearchIcon",
                  label: Resources.menu.search.button            
                 , onClick: function () {
                     searchMenuDialogRender.dialog.opened = true;
                     dojo.style(searchMenuDialogRender.dialog.domNode, 'visibility', 'hidden');
                     searchMenuDialogRender.dialog.show().then(function () {
                         dojo.style(searchMenuDialogRender.dialog.domNode, 'top', '100px');
                         if (getCurrentLanguage() != "en")
                             dojo.style(searchMenuDialogRender.dialog.domNode, 'right', '230px');
                         else
                             dojo.style(searchMenuDialogRender.dialog.domNode, 'left', '50px');
                         dojo.style(searchMenuDialogRender.dialog.domNode, 'visibility', 'visible');
                     });;

                 }
             }, "menuSearchButton");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so on. Here&amp;nbsp;SearchMenuBuilder and others are different modules that also use dojo objects,&amp;nbsp;"menuSearchButton" is html tag in index.html.&amp;nbsp; In index.html is link to the library:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt; &amp;lt;script src="https://js.arcgis.com/4.28/"&amp;gt;&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var dojoConfig = {
            paths: { mapaSimple: location.pathname.replace(/\/[^/]+$/, "") + tail }
        };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I browse the page I see&amp;nbsp; many errors showing that dojo objects not found. How this could be fixed?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 13:31:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352480#M82874</guid>
      <dc:creator>ekleiman22</dc:creator>
      <dc:date>2023-11-22T13:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Needed recommendations for upgrade of website to ArcGIS JavaScript 4.*</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352495#M82875</link>
      <description>&lt;P&gt;The 4.X version of the API has been completely rewritten from the 3.X version. Most, if not all, of the Dojo components have been removed by now and complete removal of Dojo is a stated goal of the Dev team. You will probably be better off starting over from scratch than trying to convert your current code.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 14:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352495#M82875</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2023-11-22T14:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Needed recommendations for upgrade of website to ArcGIS JavaScript 4.*</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352521#M82879</link>
      <description>&lt;P&gt;Esri has some documentation about migrating an app from 3.x to 4.x that might be worth reading through.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/migrating/" target="_blank"&gt;Migrating from 3.x to 4.28 | Overview | ArcGIS Maps SDK for JavaScript 4.28 | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There's also a &lt;A href="https://developers.arcgis.com/javascript/latest/functionality-matrix/" target="_self"&gt;functionality matrix&lt;/A&gt; that will help you locate comparable features.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 14:28:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352521#M82879</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2023-11-22T14:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Needed recommendations for upgrade of website to ArcGIS JavaScript 4.*</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352584#M82886</link>
      <description>&lt;P&gt;Thank you. I saw this page. But their description is not complete. For example, there is no "dijit/form/Button",&amp;nbsp;"dijit/Dialog" and other things. I tried&amp;nbsp; simple example:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;require([
  "esri/widgets/Button" 
], function (Button ) {&lt;/LI-CODE&gt;&lt;P&gt;and I get&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;4.28/:31 Error: scriptError: https://js.arcgis.com/4.28/esri/widgets/form/Button.js&lt;/LI-CODE&gt;&lt;P&gt;because such URL does not exist. It seems that Button and some other&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;widgets from old version&amp;nbsp; are not included into new widgets library. At least I do not see them here&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html" target="_self"&gt;esri widgets&lt;/A&gt;&amp;nbsp;. Is there any possibility to use old dijit library in new web site based on ArcGIS JavaScript version 4.*?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 15:39:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352584#M82886</guid>
      <dc:creator>ekleiman22</dc:creator>
      <dc:date>2023-11-22T15:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Needed recommendations for upgrade of website to ArcGIS JavaScript 4.*</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352648#M82893</link>
      <description>&lt;P&gt;Thank you, &lt;SPAN&gt;JeffreyThompson&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;. Could you recommend what controls to use instead of dijit/Button, dijit/Dialog, dijit/form/CheckBox, dijit/form/TextBox,&amp;nbsp;dijit/form/RadioButton,&amp;nbsp;&amp;nbsp;dijit/registry ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 16:42:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352648#M82893</guid>
      <dc:creator>ekleiman22</dc:creator>
      <dc:date>2023-11-22T16:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Needed recommendations for upgrade of website to ArcGIS JavaScript 4.*</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352655#M82894</link>
      <description>&lt;P&gt;I never used the 3.X API, but you will probably find what you need in the &lt;A href="https://developers.arcgis.com/calcite-design-system/components/" target="_self"&gt;Calcite components library.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 16:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/needed-recommendations-for-upgrade-of-website-to/m-p/1352655#M82894</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2023-11-22T16:50:48Z</dc:date>
    </item>
  </channel>
</rss>

