Documentation Center

Configuring custom aspect properties in the Context Engine Cartridge configuration file

To add the custom aspect properties that you defined in cwd_engine_vocabulary_conf.xml to the Ambient Data Framework Claim store, expose them as Claims in your Cartridge configuration file for the Ambient Data Framework.

Procedure

  1. In your Web application, navigate to the location of your Cartridge configuration file:
    • In a .NET Web application, go to lib\config\.
    • In a Java Web application, go to WEB-INF/classes/.
  2. Open cwd_engine_cartridge_conf.xml for editing.
  3. In the <ClaimDefinitions> section, add one ClaimDefinition element for every custom aspect property you want to add to the Claim store and give it the following attributes:
    AttributeDescription
    UriThe string taf:claim:context:, followed by the aspect name of your custom aspect property, followed by a colon, followed by the property name. For example, a property called largeDisplay in the aspect ui would get the value taf:claim:context:ui:largeDisplay.
    ScopeAlways set this attribute to SESSION.
    DescriptionA human-readable description of the custom aspect property.
  4. Save and close cwd_engine_cartridge_conf.xml