Skip to content

Commit 588068b

Browse files
committed
importing_data.md: Add location trash example
1 parent a1278cf commit 588068b

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-
2+
type: location
3+
mode: trash
4+
match:
5+
field: location_remote_id
6+
value: f3e90596361e31d496d4026eb624c983
7+
-
8+
type: location
9+
mode: trash
10+
match:
11+
field: location_id
12+
value: 5

docs/content_management/data_migration/importing_data.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,12 @@ The following example shows how to swap content items assigned to given location
306306

307307
The metadata keys for Location are optional.
308308

309+
The following example shows how to trash locations.
310+
311+
``` yaml
312+
[[= include_file('code_samples/data_migration/examples/trash_location.yaml') =]]
313+
```
314+
309315
### Users
310316

311317
The following example shows how to create a user.

0 commit comments

Comments
 (0)