<?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/BookmarksViewModel on Create, Update, Delete events in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-bookmarksviewmodel-on-create-update/m-p/254244#M23536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kelly,&lt;/P&gt;&lt;P&gt;The "Add", and "Remove" event works great! I was able to capture those two events. then what about when the bookmark's name gets updated? I was looking for an event like "updated". I am wondering if I can watch for the property name change using &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-watchUtils.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-watchUtils.html"&gt;watchUtils | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/482565_Bookmark_Events.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2020 19:42:25 GMT</pubDate>
    <dc:creator>RichardMoussopo</dc:creator>
    <dc:date>2020-02-18T19:42:25Z</dc:date>
    <item>
      <title>Bookmarks/BookmarksViewModel on Create, Update, Delete events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-bookmarksviewmodel-on-create-update/m-p/254242#M23534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to store bookmarks on the client local-storage but I can't seem to intercept&amp;nbsp;the following events on the bookmark widget or on the BookmarkViewModel class [on Create, Update, Delete]. I would like to use the bookmark widget for its UI. Any idea?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html"&gt;Bookmarks | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks-BookmarksViewModel.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks-BookmarksViewModel.html"&gt;BookmarksViewModel | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 21:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-bookmarksviewmodel-on-create-update/m-p/254242#M23534</guid>
      <dc:creator>RichardMoussopo</dc:creator>
      <dc:date>2020-02-13T21:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks/BookmarksViewModel on Create, Update, Delete events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-bookmarksviewmodel-on-create-update/m-p/254243#M23535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can listen for the bookmarks collections change event. You'll want to wait until the webmap is ready so the bookmarks are populated. Here's an example:&amp;nbsp;&lt;A class="link-titled" href="https://codepen.io/kellyhutchins/pen/ExjPGQe" title="https://codepen.io/kellyhutchins/pen/ExjPGQe"&gt;https://codepen.io/kellyhutchins/pen/ExjPGQe&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 17:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-bookmarksviewmodel-on-create-update/m-p/254243#M23535</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2020-02-14T17:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks/BookmarksViewModel on Create, Update, Delete events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-bookmarksviewmodel-on-create-update/m-p/254244#M23536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kelly,&lt;/P&gt;&lt;P&gt;The "Add", and "Remove" event works great! I was able to capture those two events. then what about when the bookmark's name gets updated? I was looking for an event like "updated". I am wondering if I can watch for the property name change using &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-watchUtils.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-watchUtils.html"&gt;watchUtils | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/482565_Bookmark_Events.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 19:42:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-bookmarksviewmodel-on-create-update/m-p/254244#M23536</guid>
      <dc:creator>RichardMoussopo</dc:creator>
      <dc:date>2020-02-18T19:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks/BookmarksViewModel on Create, Update, Delete events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-bookmarksviewmodel-on-create-update/m-p/254245#M23537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep looks like you'd want to watch the name property.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;        bookmarkWidget&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;bookmarks&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;forEach&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;bookmark&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
          bookmark&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;watch&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"name"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;name&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
            console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Name Changed"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; name&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
          &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-bookmarksviewmodel-on-create-update/m-p/254245#M23537</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-12-11T12:33:40Z</dc:date>
    </item>
  </channel>
</rss>

