Portal, V6.1
Policy XML file
Before you work with the XML configuration samples for policies, you should become familiar with the policy XML file by examining an exported policy definition.
The Policy definition
To review a policy definition file, follow these steps:
- From the Administration page of your work site, go to the Access section and display the Resource Policies portlet.
- From the list of policies, display the menu for the Mail policy and export its definition.
- Open the exported policy definition file in an XML editor.
- Examine the structure of the policy type and its elements:
- Node properties in the Policy branch of the content management repository
- Policy type properties
- Policy type editor
- Default policy rule for the policy type
- Policy settings: the collection of default policy value sets defined for the policy type
- Lower-level nodes for child policies.
When you use the XML configuration interface to work with policies, some limitations apply:
- Access control settings for policies are exported only for the main policy definition (the root policy node). Access control settings for child policy definitions (policy sub-nodes) are not exported.
- The policy sub-nodes are stored in a separate file. This file can be referenced by an XML script and that link can be exported.
- The Release Builder does not support policies for portal resources.
Parent topic
Sample Policy XML configuration files
Related reference
createPolicyResourceType.xml
createMailNode.xml
createRootMailNode.xml
createWebPageNode.xml
createThemePolicyNode.xml