BoxPipelineContext Component

Coveo for Salesforce 2.8 (December 2015) This component is deprecated. Instead, you’re encouraged to use the PipelineContext Component.

The BoxPipelineContext component is used to send custom context to the query pipeline from an Insight Panel.

Options

This component has the same options as the PipelineContext component (see Coveo Component Pipeline Context).

Methods

This component has the same methods as the PipelineContext component (see Coveo Component Pipeline Context).

Usage

This component is meant to be configured with a script tag containing JSON content.

When saving custom Salesforce context, you might get a Salesforce error saying your property doesn’t exist. To prevent this, you’re encouraged to encode your curly braces with { for { and } for }.

<script class="CoveoBoxPipelineContext" type="text/x-context">
    {
        "userLanguage" : "&#123;!user__language&#125;"
    }
</script>
What's Next for Me?