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
- 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/.
- Open cwd_engine_cartridge_conf.xml for editing.
- 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:
| Attribute | Description |
|---|
Uri | The 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. |
Scope | Always set this attribute to SESSION. |
Description | A human-readable description of the custom aspect property. |
- Save and close cwd_engine_cartridge_conf.xml