# Deleting a Naturalone source just from local workspace

**URL:** <https://techcommunity.softwareag.com/t/deleting-a-naturalone-source-just-from-local-workspace/235825>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Natural, Adabas-on-Mainframes, Natural-on-Mainframes, NaturalONE\
**Created:** [January 5, 2021, 10:44am UTC](https://techcommunity.softwareag.com/t/deleting-a-naturalone-source-just-from-local-workspace/235825 "2021-01-05T10:44:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Javier\_Gonzalez2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/javier_gonzalez2/32/6988_2.png) [@Javier\_Gonzalez2](https://techcommunity.softwareag.com/u/Javier_Gonzalez2)\
**Post date:** [January 5, 2021, 10:44am UTC](https://techcommunity.softwareag.com/t/deleting-a-naturalone-source-just-from-local-workspace/235825/1 "2021-01-05T10:44:52Z")

</div>

From Natural server, I have added a natural program to my local workspace.

Now I want to delete it just from my workspace not on server.

Please, help

---

<div class="post-metadata">

**Author:** ![wolfgang.winter](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wolfgang.winter/32/17954_2.png) [@wolfgang.winter](https://techcommunity.softwareag.com/u/wolfgang.winter)\
**Post date:** [January 5, 2021, 11:06am UTC](https://techcommunity.softwareag.com/t/deleting-a-naturalone-source-just-from-local-workspace/235825/2 "2021-01-05T11:06:54Z")

</div>

Just hit the `<DEL>` key or right-click the object and select Delete, this will scratch the object from the local file system only, not the server.

---

<div class="post-metadata">

**Author:** ![Karlheinz\_Kronauer](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/karlheinz_kronauer/32/134_2.png) [@Karlheinz\_Kronauer](https://techcommunity.softwareag.com/u/Karlheinz_Kronauer)\
**Post date:** [January 6, 2021, 7:43am UTC](https://techcommunity.softwareag.com/t/deleting-a-naturalone-source-just-from-local-workspace/235825/3 "2021-01-06T07:43:33Z")

</div>

Unmap the project from the server, Delete the program, map it to the server again.  
BUT just to let you know - to have the sources just on the the server and not in the workspace,  
is not the really good way to work with NaturalONE. Are you not using a repository ?

---

<div class="post-metadata">

**Author:** ![Lukas\_Hundemer](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/lukas_hundemer/32/113_2.png) [@Lukas\_Hundemer](https://techcommunity.softwareag.com/u/Lukas_Hundemer)\
**Post date:** [January 14, 2021, 7:12pm UTC](https://techcommunity.softwareag.com/t/deleting-a-naturalone-source-just-from-local-workspace/235825/4 "2021-01-14T19:12:06Z")

</div>

It depends on your preferences settings what happens if you delete an object in the workspace. See Preferences \> Natural \> Builder \> Scratch server objects. If it is unselected, the object is only deleted in the workspace. Options are available so that it is scratched on the server side for shared libraries or for private libraries. Another option is available so that you have to confirm the scratch on the server side.

---

<div class="post-metadata">

**Author:** ![Javier\_Gonzalez2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/javier_gonzalez2/32/6988_2.png) [@Javier\_Gonzalez2](https://techcommunity.softwareag.com/u/Javier_Gonzalez2)\
**Post date:** [January 18, 2021, 10:16am UTC](https://techcommunity.softwareag.com/t/deleting-a-naturalone-source-just-from-local-workspace/235825/5 "2021-01-18T10:16:46Z")

</div>

I am using GIT.  
It was a mistake. I have added a wrong natural object.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 18, 2021, 10:17am UTC](https://techcommunity.softwareag.com/t/deleting-a-naturalone-source-just-from-local-workspace/235825/6 "2021-04-18T10:17:45Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
