<?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: Bookmarks Widget Fails Adding Bookmark in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215624#M19972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm kind of confused - should I be using ArcGIS javascript 4.16 if I am not using ArcGIS Portal (which is a considerable outlay of effort and training and money). There are literally millions of apps that will break by updating to this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Sep 2020 21:39:18 GMT</pubDate>
    <dc:creator>LoranHayden1</dc:creator>
    <dc:date>2020-09-25T21:39:18Z</dc:date>
    <item>
      <title>Bookmarks Widget Fails Adding Bookmark</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215620#M19968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing a&amp;nbsp; simple&amp;nbsp;application&amp;nbsp;using 4.16 - quite a bit different from the old 3.x stuff, so I'm still getting used to it. The additional libs/etc. I am using are bootstrap, jQuery &amp;amp; jQueryUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is have a simple map displayed in a bootstrap grid using the first 11 columns and a series of buttons in the remaining column each of which will open another widget, each in its own jQueryUI dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have successfully, to an extent, (pun fully intended) managed to bring in basemap gallery, Sketch and Measure widgets (the Measure widget can be finicky, more on this later) and so I thought I'd try Bookmarks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It successfully load the widget into the dialog and displays it but when I try to add the first bookmark the app displays a never ending whirlygig icon with the message "Adding bookmark." adjacent to it.&amp;nbsp;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/508356_bookmarks_widget.png" /&gt;&lt;/P&gt;&lt;P&gt;And checking the developer tools displays the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncaught (in promise) TypeError: can't access property "add", b.viewModel.bookmarks is undefined&lt;BR /&gt; _addBookmarkSubmit &lt;A href="https://js.arcgis.com/4.16/esri/widgets/Bookmarks.js:27"&gt;https://js.arcgis.com/4.16/esri/widgets/Bookmarks.js:27&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This happens every time without fail in both firefox developer edition and chrome&lt;/P&gt;&lt;P&gt;&amp;nbsp;(latest versions of each).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also experienced the same sort of error using the Measurement widget but that is intermittent and shows up usually after having done several successful measure actions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presently I am using only a single html page for the application just to keep things simple. The environment is Visual Studio Community Edition 2019.&amp;nbsp;I've attached the code for anyone to have a look at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2020 18:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215620#M19968</guid>
      <dc:creator>LoranHayden1</dc:creator>
      <dc:date>2020-09-24T18:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks Widget Fails Adding Bookmark</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215621#M19969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was a bug on our side that will be fixed in the 4.17 release. Currently, adding bookmarks only works when you use the bookmarks widget with a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html"&gt;WebMap&lt;/A&gt; (and not with Map). See related issue&amp;nbsp;&lt;A href="https://community.esri.com/thread/257043"&gt;Bookmarks widget - v4.16&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will be releasing 4.17 shortly, so stay tuned for when it's released and the bug should be fixed. Or&amp;nbsp;if you want to try out the fix in our development version of 4.17,&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;you can use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #24292e; background-color: #ffffff; border: 0px; font-weight: 600;"&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2Fnext" rel="nofollow" style="color: #0366d6; background-color: initial; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://js.arcgis.com/next&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt;in your app instead of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="background-color: #ffffff; border: 0px;"&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.16" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://js.arcgis.com/4.16&lt;/A&gt;.&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2020 20:40:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215621#M19969</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2020-09-24T20:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks Widget Fails Adding Bookmark</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215622#M19970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to fix the bookmark issue but the measure tools still have trouble.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 18:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215622#M19970</guid>
      <dc:creator>LoranHayden1</dc:creator>
      <dc:date>2020-09-25T18:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks Widget Fails Adding Bookmark</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215623#M19971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the measure tool with the same code above and after doing an area mesurement, then a length measurement, then trying another area measurement&lt;/P&gt;&lt;P&gt;Uncaught TypeError: can't access property "measurement", a is null&lt;BR /&gt; _updateGraphics https://js.arcgis.com/4.17/esri/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js:20&lt;BR /&gt; _updateSketch https://js.arcgis.com/4.17/esri/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js:19&lt;BR /&gt; _startSketch https://js.arcgis.com/4.17/esri/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js:17&lt;BR /&gt; emit https://js.arcgis.com/next:549&lt;BR /&gt; emit https://js.arcgis.com/next:549&lt;BR /&gt; emit https://js.arcgis.com/next:552&lt;BR /&gt; _updateCursor https://js.arcgis.com/4.17/esri/widgets/Sketch.js:396&lt;BR /&gt; _addViewHandles https://js.arcgis.com/4.17/esri/widgets/Sketch.js:389&lt;BR /&gt; c https://js.arcgis.com/next:1948&lt;BR /&gt; _handleEvent https://js.arcgis.com/next:1939&lt;BR /&gt; onInstall https://js.arcgis.com/next:1935&lt;BR /&gt; _doNewPropagation https://js.arcgis.com/next:1923&lt;BR /&gt; _emitInputEvent https://js.arcgis.com/next:1922&lt;BR /&gt; _emitInputEventFromSource https://js.arcgis.com/next:1921&lt;BR /&gt; _onEventReceived https://js.arcgis.com/next:1917&lt;BR /&gt; _handlePointerPreventDefault &lt;A href="https://js.arcgis.com/4.17/esri/views/MapView.js:319"&gt;https://js.arcgis.com/4.17/esri/views/MapView.js:319&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then the application becomes unresponsive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 18:38:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215623#M19971</guid>
      <dc:creator>LoranHayden1</dc:creator>
      <dc:date>2020-09-25T18:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks Widget Fails Adding Bookmark</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215624#M19972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm kind of confused - should I be using ArcGIS javascript 4.16 if I am not using ArcGIS Portal (which is a considerable outlay of effort and training and money). There are literally millions of apps that will break by updating to this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 21:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215624#M19972</guid>
      <dc:creator>LoranHayden1</dc:creator>
      <dc:date>2020-09-25T21:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks Widget Fails Adding Bookmark</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215625#M19973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to reproduce the measurement issue that you are seeing above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, ArcGIS Portal and the ArcGIS API for JavaScript are two separate products that are not reliant on each other. You can use the ArcGIS API for JavaScript without using portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS API for JavaScript:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/" title="https://developers.arcgis.com/javascript/"&gt;ArcGIS API for JavaScript | ArcGIS for Developers (Latest)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Portal home page:&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/portal/" title="https://enterprise.arcgis.com/en/portal/"&gt;Portal | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:01:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215625#M19973</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2020-09-29T15:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks Widget Fails Adding Bookmark</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215626#M19974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anne: I noted yesterday that the measure widget was completely snafued and assumed someone must be working on it. Today it seems well-behaved and working perfectly, so I don't know what you (or someone else?) did but it's working now. Thanks.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:50:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-fails-adding-bookmark/m-p/215626#M19974</guid>
      <dc:creator>LoranHayden1</dc:creator>
      <dc:date>2020-09-30T15:50:24Z</dc:date>
    </item>
  </channel>
</rss>

