IPageCreationRulesManagerAddPageCreationRule Method Ingeniux CMS Content Store API

Creates a new PageCreationRule.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

IPageCreationRule AddPageCreationRule(
	string ruleName,
	ISchema schema,
	bool isDefault = false
)

Parameters

ruleName
Type: SystemString
Name of the page creation rule
schema
Type: Ingeniux.CMSISchema
Schema on which the page creation rule is based
isDefault (Optional)
Type: SystemBoolean
Specifies whether this rule is the Default rule.

Return Value

Type: IPageCreationRule
Newly created page creation rule instance
Remarks

The Administrators group is automatically added to the allowed Groups for the new PageCreationRule.

See Also

Reference