Assign an insert rule

Abstract

How to assign an insert rule to all items based on a data template or to an individual item.

You can assign insert rules in the insert options themselves to dynamically redefine effective insert options for a user at runtime. You can also implement custom insert rules for administrators to select. For an example of how to implement an insert rule, see Example: Code to prevent multiple children based on a single data template.

To assign an insert rule to all items based on a data template or to an individual item:

  1. In the Template Manager or the Content Editor, select the standard values item or individual item.

  2. On the Configure tab, in the Insert Options group, click Assign.

  3. In the Insert Options dialog box, on the Insert Rules tab, double-click the insert rule to move it to the Selected list.

  4. Click OK.