Skip to main content
Glama

presentation-switch-rendering-by-id

Switch an existing rendering with an alternate one for a specific item using item IDs. Update renderings in Sitecore layouts by specifying old and new rendering IDs.

Instructions

Switches an existing rendering specified by item ID with an alternate one for the item specified by item ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesThe ID of the item holding the renderings.
oldRenderingIdYesThe ID of the rendering to switch.
newRenderingIdYesThe ID of the new rendering.
databaseNoThe context database.master
finalLayoutNoSpecifies the layout to update the rendering. If 'true', the final layout is used, otherwise - shared layout.
languageNoThe language version of the item holding the renderings.

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