common-add-item-version-by-path
Create a new language version of a Sitecore content item by copying from an existing language. Specify source and target languages, handle existing versions, and control field copying for multilingual content management.
Instructions
Creates a version of the item (by its path) in a new language based on an existing language version.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path of the item to add version for (e.g. /sitecore/content/Home). | |
| language | No | Language that will be used as source language. If not specified the current user language will be used. | |
| targetLanguage | No | Language that should be created. | |
| recurse | No | Process the item and all of its children. | |
| ifExist | No | Append | |
| ifNoSourceVersion | No | Skip | |
| doNotCopyFields | No | Creates a new version in the target language but does not copy field values from the original language. | |
| ignoredFields | No | List of fields that should not be copied over from original item. | |
| database | No | The database containing the item (defaults to the context database). |