--- title: PipelineContext component slug: '1173' canonical_url: https://docs.coveo.com/en/1173/ collection: coveo-for-salesforce source_format: adoc --- # PipelineContext component The `PipelineContext` component is a JavaScript component that allows you to add custom context to the query pipeline (see [Coveo Component Pipeline Context](https://coveo.github.io/search-ui/components/pipelinecontext.html)). ## Options This component provides the same options as the Pipeline Context component (see [Coveo Component Pipeline Context](https://coveo.github.io/search-ui/components/pipelinecontext.html)). ## Methods This component provides the same methods as the Pipeline Context component (see [Coveo Component Pipeline Context](https://coveo.github.io/search-ui/components/pipelinecontext.html)). ## 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 `+{+` for `{` and `+}+` for `}`. ```xml ```