Add a label to child pages

Overview

Add a page label on creation of a page using a workflow based on

These example triggers to add a label to the page use a pagecreated event trigger with either a parenthaslabel or a ischildof condition.

Parent page has a label

If a parent page has a content label, the following workflow trigger can be used to add the same label to each child page when it is created based on the label of the parent page.

{trigger:pagecreated|parenthaslabel=label1} {set-label:label1} {trigger} {trigger:pagecreated|parenthaslabel=label2} {set-label:label2} {trigger}

Page is a child of a parent page

The following trigger can be used to add a label to the page being created based on the parent page.

{trigger:pagecreated|ischildof=Parent 1} {set-label:managedocument} {trigger}