common-update-item-referrer-by-id
Update or remove references to a Sitecore content item by its ID. Change where links point or delete all connections to the specified item.
Instructions
Updates all references to the specified item (by its ID) to point to a new provided in the -NewTarget or removes links to the item.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the item to be relinked. | |
| newTarget | No | The path to a new item the links should be pointing to. | |
| removeLink | No | Removes all links to the current target item. | |
| database | No | The database containing the item (defaults to the context database) | |
| language | No | The language of the item. |