This documentation is for an outdated version: 14.6.13. The current version is 14.6.17 - get the documentation here.

JavaScript DeliveryContext API (ai.dc)

To use Delivery Context Properties in client-side JavaScript, enable the API in conf/config.xml with:

    <dc />

An example for the usage of the JavaScript DC API:

var asyncSupport = ai.dc.getProperty('html/attribute/async');

See the JavaScript Delivery Context API for Details