Deploying the Discovery Resolver

To perform discovery of aspects and their properties, expose a part of Context Engine Cartridge called Discovery Resolver by copying a JavaScript file.

Procedure

  1. In your Web application, create or navigate to a location in which to store JavaScript files.
  2. From your installation media, from the \Context Engine Cartridge\javascript\ folder, copy the file discover-min.js to this location.
  3. Within the <head> element of all Web pages on which you intend to use Context Engine Cartridge, add the following:
    <script type="text/javascript" src="js/discover-min.js"></script>

    where js/ is the location in your Web application to which you copied the file.