<?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 How to persist presentation slides in a WebScene in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-persist-presentation-slides-in-a-webscene/m-p/1246511#M79820</link>
    <description>&lt;P&gt;Using this sample &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/webscene-slides/" target="_self"&gt;HERE&lt;/A&gt; to understand WebScene Presentation Slides.&amp;nbsp; In a JSAP application, I want the user to create a slide and persist slide so the user can visit the slide again at a different time. The sample does not persist the Slides.&lt;/P&gt;&lt;P&gt;The code sample states in the inline comments:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;                /*****************************************************************
* Add the slide to the slides collection of the scene presentation
* such that if the scene were to published back to the portal, the
* newly created slide would be correctly persisted as part of the
* WebScene                 *****************************************************************/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SDK (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Slide.html" target="_self"&gt;HERE&lt;/A&gt;) states: "&lt;SPAN&gt;Additionally, slides can be stored as part of the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Presentation.html" target="_blank"&gt;WebScene.presentation&lt;/A&gt;&lt;SPAN&gt;."&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Republishing the webscene seems pretty heavy handed, and looks like it updates the webscene to a new default view orientation.&lt;/LI&gt;&lt;LI&gt;I'm still not seeing any documentation about how I can persist the slides in the presentation of the webscene.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I also note that the ArcGIS Online SceneViewer includes Presentations, which allows you to persist Slides, but you have to Save the WebScene.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dirk_Vandervoort_0-1673282270239.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59982i855BE3183F362591/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dirk_Vandervoort_0-1673282270239.png" alt="Dirk_Vandervoort_0-1673282270239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All I want to do is persist the slide in the WebScene from the JSAPI with no other changes to the WebScene.&lt;/P&gt;&lt;P&gt;Oh, and we may want to do this to create thousands of slides for a WebScene (sic).&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2023 16:44:21 GMT</pubDate>
    <dc:creator>Dirk_Vandervoort</dc:creator>
    <dc:date>2023-01-09T16:44:21Z</dc:date>
    <item>
      <title>How to persist presentation slides in a WebScene</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-persist-presentation-slides-in-a-webscene/m-p/1246511#M79820</link>
      <description>&lt;P&gt;Using this sample &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/webscene-slides/" target="_self"&gt;HERE&lt;/A&gt; to understand WebScene Presentation Slides.&amp;nbsp; In a JSAP application, I want the user to create a slide and persist slide so the user can visit the slide again at a different time. The sample does not persist the Slides.&lt;/P&gt;&lt;P&gt;The code sample states in the inline comments:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;                /*****************************************************************
* Add the slide to the slides collection of the scene presentation
* such that if the scene were to published back to the portal, the
* newly created slide would be correctly persisted as part of the
* WebScene                 *****************************************************************/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SDK (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Slide.html" target="_self"&gt;HERE&lt;/A&gt;) states: "&lt;SPAN&gt;Additionally, slides can be stored as part of the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Presentation.html" target="_blank"&gt;WebScene.presentation&lt;/A&gt;&lt;SPAN&gt;."&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Republishing the webscene seems pretty heavy handed, and looks like it updates the webscene to a new default view orientation.&lt;/LI&gt;&lt;LI&gt;I'm still not seeing any documentation about how I can persist the slides in the presentation of the webscene.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I also note that the ArcGIS Online SceneViewer includes Presentations, which allows you to persist Slides, but you have to Save the WebScene.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dirk_Vandervoort_0-1673282270239.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59982i855BE3183F362591/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dirk_Vandervoort_0-1673282270239.png" alt="Dirk_Vandervoort_0-1673282270239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All I want to do is persist the slide in the WebScene from the JSAPI with no other changes to the WebScene.&lt;/P&gt;&lt;P&gt;Oh, and we may want to do this to create thousands of slides for a WebScene (sic).&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 16:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-persist-presentation-slides-in-a-webscene/m-p/1246511#M79820</guid>
      <dc:creator>Dirk_Vandervoort</dc:creator>
      <dc:date>2023-01-09T16:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to persist presentation slides in a WebScene</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-persist-presentation-slides-in-a-webscene/m-p/1246538#M79822</link>
      <description>&lt;P&gt;After creating and adding a slide (as shown in the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/webscene-slides/" target="_self"&gt;sample&lt;/A&gt; you refer) to the web scene object, you need to persist the changes. You can use &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html#save" target="_self"&gt;WebScene.save&lt;/A&gt; to overwrite an existing one, or &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html#saveAs" target="_self"&gt;WebScene.saveAs&lt;/A&gt; to create a new web scene.&lt;/P&gt;&lt;P&gt;Note that the user needs to be authenticated to update or create a new web scene (portal item). If not already logged in, the API will automatically prompt for a ArcGIS Online username/password as part of invoking save / saveAs.&lt;/P&gt;&lt;P&gt;Hope this helps, please let me know if anything is unclear!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 17:54:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-persist-presentation-slides-in-a-webscene/m-p/1246538#M79822</guid>
      <dc:creator>ArnoFiva</dc:creator>
      <dc:date>2023-01-09T17:54:22Z</dc:date>
    </item>
  </channel>
</rss>

