When the target lacks some content
Know what happens to a hand-picked article that does not exist on the target.
Life cycle: Migrate, example 4 of 34. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- After an import with
drop, check hand-picked lists for gaps.
On the command line
--unmapped=failstops the import and shows what is missing;drop(default) leaves those items out;keepkeeps the reference as it is../console exp:layouts import layouts.zip --dry-run --unmapped=failand read the States (new,identical,changed,conflicting).- Run it again without
--dry-run, with the--strategyyou chose and--publishif the result should be live at once. - Nothing to clear by hand: since explayouts_core 1.0.10 an import with
--publishpurges the page cache itself.
Which to choose
fail first, to see the list; then import the content or choose drop.
Check
- Manual collections have the expected items.
Related pages
- Export and import layouts
- Migrate examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.