+

Search Tips   |   Advanced Search

Assigning attribute based administration rules to pages and portlets

Attribute based administration rules can be assigned manually in the portal in the Edit Properties and Edit Layout portlets, or through xmlaccess.sh. The rule must be present on the system in order to assign it to a page or portlet. We can usually use Personalization Publish to accomplish this.

Use xmlaccess.sh, we can assign a rule to a page or portlet. Set the parameter com.ibm.portal.navigation.rule to indicate the rule to assign to the page or portlet. The value of the parameter should be the unique id or UUID of the rule. The UUID can be found by exporting the rule in the Personalization user interface and inspecting the exported XML for the jcr:uuid parameter.


For example, to assign a rule with the UUID 7ce9d5004ee31f41b0d3b944c9f7965c to a page or portlet, add the following parameter to the content-node in the XML access script:

<parameter name="com.ibm.portal.navigation.rule" type="string" update="set"><![CDATA[7ce9d5004ee31f41b0d3b944c9f7965c]]</parameter>


Parent: Attribute Based Administration

Related:

xmlaccess.sh