<?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 Removing features in a WebScene and save the changes in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/removing-features-in-a-webscene-and-save-the/m-p/690580#M64259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a Web App where users&amp;nbsp;could remove selected features from their SceneLayer and then save the changes in a new WebScene.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, I have been able to add a filter but it does not save the changes properly. I think I should maybe try to retrieve the objectID of the selected features and work with them but I don't know if it is possible to do something.&lt;/P&gt;&lt;P&gt;Do you have any idea of how I could do it?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I removed the old code,&amp;nbsp;I've been able to solve my problem, the answer is below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2020 09:52:46 GMT</pubDate>
    <dc:creator>ArthurGenet</dc:creator>
    <dc:date>2020-06-24T09:52:46Z</dc:date>
    <item>
      <title>Removing features in a WebScene and save the changes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/removing-features-in-a-webscene-and-save-the/m-p/690580#M64259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a Web App where users&amp;nbsp;could remove selected features from their SceneLayer and then save the changes in a new WebScene.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, I have been able to add a filter but it does not save the changes properly. I think I should maybe try to retrieve the objectID of the selected features and work with them but I don't know if it is possible to do something.&lt;/P&gt;&lt;P&gt;Do you have any idea of how I could do it?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I removed the old code,&amp;nbsp;I've been able to solve my problem, the answer is below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 09:52:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/removing-features-in-a-webscene-and-save-the/m-p/690580#M64259</guid>
      <dc:creator>ArthurGenet</dc:creator>
      <dc:date>2020-06-24T09:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Removing features in a WebScene and save the changes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/removing-features-in-a-webscene-and-save-the/m-p/690581#M64260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I've been able to made it with using a query on geometry and then definitionExpression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will share my code when I will have finished&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 13:59:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/removing-features-in-a-webscene-and-save-the/m-p/690581#M64260</guid>
      <dc:creator>ArthurGenet</dc:creator>
      <dc:date>2020-06-24T13:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Removing features in a WebScene and save the changes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/removing-features-in-a-webscene-and-save-the/m-p/690582#M64261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done. So the definitionExpression works well for what I wanted but does not completely remove the features, it's just an expression associated to the layer (in ArcGIS Online, it creates a custom filter in the layer properties)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/ArthurGenet/webscene-features-remover" title="https://github.com/ArthurGenet/webscene-features-remover"&gt;GitHub - ArthurGenet/webscene-features-remover&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the Web App hosted on GitHub Pages :&amp;nbsp;&lt;A class="link-titled" href="https://arthurgenet.github.io/webscene-features-remover/" title="https://arthurgenet.github.io/webscene-features-remover/"&gt;Verberg Webscene Features&lt;/A&gt;&amp;nbsp;(everything is in dutch but you just need to put a Webscene id and then you can modify it with the tools in the bottom-right and then you can save it, overwrite it or upload a new webscene with the left panel)&lt;/P&gt;&lt;P&gt;Hope it can help some of you.&lt;/P&gt;&lt;P&gt;Have a nice day &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 13:06:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/removing-features-in-a-webscene-and-save-the/m-p/690582#M64261</guid>
      <dc:creator>ArthurGenet</dc:creator>
      <dc:date>2020-07-01T13:06:20Z</dc:date>
    </item>
  </channel>
</rss>

