<p>This option will do the following:</p>
<ol>
<li>Import any new items in your feed</li>
<li>Update any items from your feed that it matches to existing items using the Unique ID</li>
<li>Deletes any items in your target that do not have a matching Unique ID in your feed</li>
</ol>
<p>So for example:</p>
<p>Feed contains:</p>
<ul>
<li>Title: Item 1 | ID: 100</li>
<li>Title: Item 2 | ID: 101</li>
<li>Title: Item 4 - Updated | ID: 103</li>
</ul>
<p>Your section contains:</p>
<ul>
<li>Title: Item 1 | ID: 100</li>
<li>Title: Item 2 | ID: 101</li>
<li>Title: Item 3 | ID: 102</li>
<li>Title: Item 4 | ID: 103</li>
</ul>
<p>In the above example, using the ID as your Unique ID, your entries for your section will look like this after the import:</p>
<ul>
<li>Title: Item 1 | ID: 100</li>
<li>Title: Item 2 | ID: 101</li>
<li>Title: Item 4 - Updated | ID: 103</li>
</ul>
<p>In this import, it matched Items 1, 2 and 4 using the ID, updated Item 4's Title, and deleted Item 3.</p>
<p>The documentation could probably be worded better here, replace &quot;not updated&quot; with &quot;not matched&quot; and it makes more sense:</p>
<blockquote>
<p>Delete missing elements - Deletes elements that are not matched by
this feed. Be careful when deleting.</p>
</blockquote>

CC BY-SA 4.0
2022-04-19T07:13:15.163Z
Thank you very much for your detailed specification and verification that it is "only" a wording problem.
Coder949
CC BY-SA 4.0
2022-04-18T03:31:50.607Z
2022-04-18T03:31:50.607Z
neekster
<p>I have a question how FeedMe does behave when I enable the delete/disable entries option.</p>
<blockquote>
<p><strong>Delete missing elements</strong> - Deletes elements that are not updated by this feed. Be careful when deleting.</p>
</blockquote>
<p>What exactly does that mean &quot;not updated&quot;? Does that mean when I run an import the second time with exactly the same data all entries are deleted because none of them were updated?</p>
<p>I tried that case and none of them were deleted. Is the documentation just not exact?</p>
<p>Does FeedMe use also the uniqueID to match when it decides which entries to delete?</p>

<plugin-feedme>
FeedMe Delete/Disable entries insides
# FeedMe Delete/Disable entries insides

(Asked by: username_0 on 2022-04-14)

I have a question how FeedMe does behave when I enable the delete/disable entries option.

> **Delete missing elements** - Deletes elements that are not updated by this feed. Be careful when deleting.

What exactly does that mean "not updated"? Does that mean when I run an import the second time with exactly the same data all entries are deleted because none of them were updated?

I tried that case and none of them were deleted. Is the documentation just not exact?

Does FeedMe use also the uniqueID to match when it decides which entries to delete?

**Tags:** plugin-feedme

---

## 1 answers

### Answer by username_1 on 2022-04-18. Score: 4 | Accepted answer

This option will do the following:

1. Import any new items in your feed
2. Update any items from your feed that it matches to existing items using the Unique ID
3. Deletes any items in your target that do not have a matching Unique ID in your feed

So for example:

Feed contains:

* Title: Item 1 | ID: 100
* Title: Item 2 | ID: 101
* Title: Item 4 - Updated | ID: 103

Your section contains:

* Title: Item 1 | ID: 100
* Title: Item 2 | ID: 101
* Title: Item 3 | ID: 102
* Title: Item 4 | ID: 103

In the above example, using the ID as your Unique ID, your entries for your section will look like this after the import:

* Title: Item 1 | ID: 100
* Title: Item 2 | ID: 101
* Title: Item 4 - Updated | ID: 103

In this import, it matched Items 1, 2 and 4 using the ID, updated Item 4's Title, and deleted Item 3.

The documentation could probably be worded better here, replace "not updated" with "not matched" and it makes more sense:

> Delete missing elements - Deletes elements that are not matched by
> this feed. Be careful when deleting.

> **Comments:**
> **username_0**: Thank you very much for your detailed specification and verification that it is "only" a wording problem.  

---

