Commands may add name-value pairs to the CIM session context. These values are available for lookup by any following commands, validators, providers, or during rendering using ${keyName}
notation.
Use SessionContext.addToEnvironment(myKey, myObject)
to add a pair to the session context. You can then retrieve the value using the following Java code:
Object obj = SessionContext.lookup(myKey)
You can also retrieve the value in a CIM XML file by using the following:
${myKey}
The following values are already available for you to use:
dynamo.root
– Path to the Oracle Commerce Platform Installationcim.home
– Path to the CIM Installationcim.plugin.home
– Path to the currently chosen Pluginfile.separator
– system dependent file separator character
To avoid overwriting keys already in use, be cautious when naming keys.