Creating new aspect properties in a custom vocabulary file
You can create new aspect properties by creating a custom vocabulary file. These new properties can be returned by the Expression Resolver and configured in the Context Engine Cartridge configuration file for the Ambient Data Framework.
Procedure
- On the Context Engine Cartridge installation media, navigate to the folder vocabulary/.
- Copy the file cwd_engine_vocabulary_conf_sample.xml in this location to one of the following locations:
- For a .NET Web application, copy to the bin\config\ folder.
- For a Java Web application, copy to the WEB-INF/classes/ directory.
- Rename the file to cwd_engine_vocabulary_conf.xml and open it for editing.
- The file contains two
propertyelements that demonstrate the syntax to be used. Put these elements in comments. - For every aspect property you want to create, do the following:
- Save and close cwd_engine_vocabulary_conf.xml.