Skip to main content
Glama

common-add-item-version-by-id

Create a new language version of a Sitecore content item by copying from an existing version. Specify source and target languages, handle children recursively, and control field copying behavior.

Instructions

Creates a version of the item (by its id) in a new language based on an existing language version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe id of the item to add version for.
languageNoLanguage that will be used as source language. If not specified the current user language will be used.
targetLanguageNoLanguage that should be created.
recurseNoProcess the item and all of its children.
ifExistNoAppend
ifNoSourceVersionNoSkip
doNotCopyFieldsNoCreates a new version in the target language but does not copy field values from the original language.
ignoredFieldsNoList of fields that should not be copied over from original item.
databaseNoThe database containing the item (defaults to the context database).

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ramseur/SitecoreMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server