LibrarySites.Banner

Auto-Publish Workflow Action Updates

This workflow action (implemented via Sitecore.Workflows.Simple.PublishAction, Sitecore.Kernel) is usually added as an action to final states in workflows.

Publish action accepts 6 parameters:

  1. "deep" - controls whether children of the current item will be published. Possible values: "1" - children of the current item will be published; all other values - children of the current item will not be published.
  2. "related" - controls whether related items of the current item will be published. Possible values: "1" - related items of the current item will be published; all other values - related items of the current item will not be published.
  3. "targets" - comma (,) separated list of database names that item will be published to. Note, that this parameter does not expect a list of publishing target names, it expects list of database names.
  4. "alllanguages" - controls whether current item will be published in all languages that exist in source database. Possible values: "1" - current item will be published in all languages that exist in source database; all other values - code uses values of other parameters to determine languages in which current item will be published.
  5. "languages" - comma (,) separated list of languages in which current item will be published.
  6. "itemlanguage" - controls whether current item will be published in its current language. Possible values: "1" - current item will be published in its current language; "0" - current item will not be published in its current language; all other values - current item will published in its current language. Note that even if value of this parameter is "0", current item will still be published in its current language if current language of the item is in "languages" list.

If you must specify more than one parameter, use '&' to separate those. As an example, here is how the value of the Parameters field could look like:

deep=1&related=1&alllanguages=1

This finally aligns the Publish Action to the capabilities of the Publishing Engine.

Good day now.

Sitecore 7.2 Dev Team