Skip to content

Commit 6542d08

Browse files
committed
importing_data.md: Add location trash example
1 parent 4750fc2 commit 6542d08

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
@@ -313,6 +313,12 @@ The following example shows how to swap content items assigned to given location
313313

314314
The metadata keys for Location are optional.
315315

316+
The following example shows how to trash locations.
317+
318+
``` yaml
319+
[[= include_file('code_samples/data_migration/examples/trash_location.yaml') =]]
320+
```
321+
316322
### Users
317323

318324
The following example shows how to create a user.

0 commit comments

Comments
 (0)