B2c Site Import Export

Import and export site archives containing metadata XML on B2C Commerce instances using the b2c CLI. Use this skill whenever the user needs to import a site archive directory or zip to an instance, apply an ordered set of archives idempotently, export site configuration as XML, structure a site archive folder (sites/site_template/meta/), write or debug metadata XML files (system-objecttype-extensions.xml, custom-objecttype-definitions.xml, preferences.xml), or push custom attributes, custom object types, or site preferences to a sandbox via site import. Also use when an import job fails with schema validation errors — even if they just say "push metadata to the sandbox" or "import my XML files".

salesforcecommercecloud 470ea57 3 files · 33.0 KB Updated

File contents

salesforcecommercecloud/b2c-developer-tooling/tree/main/skills/b2c-cli/skills/b2c-site-import-export commit 470ea570b3

Frequently asked questions

npx skillmds@latest add salesforcecommercecloud/b2c-site-import-export