Skip to content

Commit 39eb0c8

Browse files
authored
Merge pull request #118 from Jumoo/pubConfigDeleting
publisher stuff
2 parents 03f35a2 + a5379f7 commit 39eb0c8

File tree

1 file changed

+17
-0
lines changed
  • usync/02.complete/03.guides/01.syncPublisher/02.publishConfig

1 file changed

+17
-0
lines changed

usync/02.complete/03.guides/01.syncPublisher/02.publishConfig/01.config.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,23 @@ Enabling this setting allows you to remove 'missing' datatypes and doctypes. How
152152

153153
This setting is set to false by default.
154154

155+
### AllowDeletingOfOrphanedItemsForTypes
156+
157+
:::danger
158+
Use of this setting could badly break your site. We **do not** advise turning it on unless you are 100% sure you know what you're doing.
159+
:::
160+
161+
```json
162+
"Publisher": {
163+
"Settings": {
164+
"AllowDeletingOfOrphanedItemsForTypes":
165+
["document-type", "media-type"]
166+
}
167+
```
168+
Content and media types always have the 'delete missing' feature available. Enabling this setting turns the 'delete missing' feature on for additional [EntityTypes](https://github.com/umbraco/Umbraco-CMS/blob/contrib/src/Umbraco.Core/Constants-UdiEntityType.cs) for the Umbraco objects. When pushing these extra objects, uSync will delete orphaned items.
169+
170+
As with a lot of settings that permit automatic deleting, enabling this can badly break your site, and we reccomend you do not enable it unless you're sure about the potential consequences.
171+
155172
### AllowDeletingOfOrphanedItemsFromRoot
156173

157174
:::danger

0 commit comments

Comments
 (0)