BoxPipelineContext component

In this article
Important
Important

Since this component has been deprecated, we recommend using the PipelineContext component instead.

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 Coveo PipelineContext component.

Methods

This component has the same methods as the Coveo PipelineContext component.

Usage

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

Important
Important

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>