common-publish-item-by-id
Publishes a Sitecore content item using its unique ID, with options for target database, publish mode, language, and related items.
Instructions
Publishes a Sitecore item by its ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the item that should be published. | |
| target | No | Specifies the publishing target. The default target database is 'web'. | |
| recurse | No | Publishes the subitems with the root item. | |
| publishMode | No | Specifies the Publish mode. | |
| publishRelatedItems | No | Publishes the related items. | |
| republishAll | No | Republishes all items provided to the publishing job. | |
| compareRevisions | No | Turns revision comparison on. | |
| fromDate | No | Publishes items newer than the date provided only. | |
| asJob | No | The Sitecore API called to perform the publish is different with this parameter. | |
| language | No | The language of the item that should be published. Supports globbing/wildcards. | |
| database | No | The database containing the item (defaults to the context database). |