common-update-item-referrer
Update or remove all references to a Sitecore item by relinking them to a new target path, using item ID or path, without manually editing each referring item.
Instructions
Updates all references to the specified item to point to a new provided in the -NewTarget or removes links to the item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to be relinked. Supply this or path. | |
| path | No | The path of the item to be relinked. Supply this or id. | |
| database | No | Database to resolve an id against (default master). | |
| language | No | The language of the item. | |
| newTarget | No | The path to a new item the links should be pointing to. | |
| removeLink | No | Removes all links to the current target item. |