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.492
Syntax
IPageCreationRule AddPageCreationRule(
	string ruleName,
	ISchema schema,
	bool isDefault = false
)

Parameters

ruleName  String
Name of the page creation rule
schema  ISchema
Schema on which the page creation rule is based
isDefault  Boolean  (Optional)
Specifies whether this rule is the Default rule.

Return Value

IPageCreationRule
Newly created page creation rule instance
Remarks

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

See Also