BoxPipelineContext component
BoxPipelineContext component
Important
Since this component has been deprecated, we recommend using the |
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
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 |
<script class="CoveoBoxPipelineContext" type="text/x-context">
{
"userLanguage" : "{!user__language}"
}
</script>