Thursday, May 21, 2009

SAP Portal - Personalization

In the portalapp.xml file, define a component, component-profile.

personalization
  • dialog: per-user storage and shown in end user personalization and content admin dialog
  • no_dialog: per-user storage, not shown in personalization dialog, shown in content admin dialog
  • none: means not define this property at all, cross-user storage, not shown in end user personalization dialog, but in content admin dialog
type
  • String: value="string"
  • Date: ? never work (on NW 7.0.18), learn from the conversion with Todor Petrov on his blog, Date is not supported on NW 7.0, only available after 7.1. But a SAP training material which uses NW 7.0.11 has included Date as a supported type.
  • Select: select[ABC, BCD, DAD]
  • Boolean: false, true
description key for resource bundle, a text token that can be resolved by accessing the component's resource bundle. it represents a locale sensitive description text for the property that can be used in user interfaces.

plainDescription a plain text that can be used in user interfaces to describe the property. it will be used if no description attribute is specified.

inheritance
  • non-final (default): can be overridden by a template derivation
  • final: can not be overridden (actually can be overridden in my test. not sure why)

No comments: