Template Handler
1.0.2
1.0.2
  • About
  • Changelog
  • User
    • User guide
  • Admin
    • Config
    • Requirements
Powered by GitBook
On this page
  • Mappings
  • Fetch content handler

Was this helpful?

  1. Admin

Config

/**
 * Should be bound to the value in your Keystore or
 * the Provider name in the Content Agent configuration
 */

${DBKS:CA_PROVIDER}
/**
 * searchLimit
 *  -   The amount of templates to fetch 
 *      (currently don't support load more)
 * 
 * suggestFields 
 *  -   Which fields to match suggestions on 
 *      (requires that the indexfields have suggest on em in OC)
 * 
 * suggestLabels: 
 *  -   Labels to map to fields above
 */

{
    "searchLimit": 100,
    "suggestFields": [
        {
            "name": "Name",
            "order": 0
        }
    ],
    "suggestLabels": {
        "Name": "Name"
    }
}

Mappings

Fetch content handler

Content Agent: An action returns the instance of content agent with opencontent, querystreamer, infocaster and cca methods.

PreviousUser guideNextRequirements

Last updated 2 years ago

Was this helpful?