Click or drag to resize

IPageCreationRulesManagerAddPageCreationRule Method


Creates a new PageCreationRule.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
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