KB Version:

Page Navigation

Most Read

Announcements RSS Feed of Announcements

Publish Set Trigger

This trigger publishes all assets in a designated Publish Set (as defined in the parameter). This is beneficial when you need to need to have multiple items published after a single asset is created or is changed. A common example that occurs is when a press release is created you also need to publish the RSS feed, the archives page, the front page, the site map, and the site index.

Implementation

Declaration

Usage

Parameters

The name of the publish set, as defined by the path is the system, is used to determine which publish set to publish. 

Name Parameter

The name of the publish set, as defined by the path in the system, is used to determine which publish set to publish. When the "name" parameter is specified, the trigger will look for the publish set in the same Site to which the asset in the workflow belongs.

Authorizing-Type Parameter

The authorizing-type parameter is set when calling the trigger on an action. The authorizing-type parameter is used in any trigger that executes to a publish and is used to specify which user is "authorizing" the publish in this step. This will affect permissions/roles checks performed during publish and also to whom the publish report is delivered to. The "system" user is basically a way to bypass any permissions/roles checks but results in the publish report not being sent to anyone.

Authorizing-type can take a value of "current-step-owner," "system," or "user."

  • current-step-owner - the user assigned to the step that calls the trigger
  • system - the reserved "system" user
  • user - a specified user

Authorizing-User Parameter

This parameter is used if 'user' is selected as the authorizing-type (in the parameter above). This parameter value can be any valid user name.

**Note - Authorizing-user will only be used if the authorizing-type parameter is set to the value of "user," rather than "current-step-owner," or "system."

If you were to use both the "authorizing-type" and "authorizing-user" parameters, your xml would look like this:

ID Parameter

The id of the publish set, is used to determine which publish set to publish.  Note that the "id" parameter takes a higher priority than "name." If providing both parameters and they were pointing to two different assets, the the "id" parameter will be used.