Extend or clone a
standard definition, or clone a custom definition and modify it to meet your requirements.
All your
context definitions are listed on the Context Definitions page, under the Custom Definitions and
Standard Definitions tabs.
The
Custom
Definitions
tab shows
the
definitions created by the customer, and
the
Standard
Definitions
tab
shows
the definitions available with the product.
Required Editions
Available in: Lightning Experience
Available in: Developer, Enterprise, Professional, and
Unlimited editions for Industries clouds where Context Service is
enabled
User Permissions
Needed
To load, view, edit, and delete context definitions:
Context Service Admin
On the Context Definitions page, you
can create, delete, edit,
extend, upgrade, and clone a context definition. You can also make a context definition active
or inactive.
Note You can extend or clone a standard definition, or clone a custom definition, and modify it
to meet your new requirements.
Important
Changes made to Salesforce metadata (such as modifying Salesforce Object fields) can take
up to 24 hours to reflect in a context instance.
To clear the runtime schema cache make a DELETE request to the endpoint
/connect/context-runtime-schema/clear. The cache is then refreshed during the next context
build request.
Load Context Definitions
Load context definitions for your org.
From Setup, in the Quick Find box, enter Context Service, and then
select Context Service Settings.
To load the predefined context definitions, turn on the toggle next to Context Definitions.
View Context Definitions
View
all your
context definitions on the Context Definitions page.
From Setup, in the Quick Find box, enter Context Service,
and then
select Context
Definitions.
On the
Standard
Definitions and
Custom
Definitions tabs, view all the context definitions associated with your
solution.
Edit Context Definitions
You can edit an active or an inactive context definition. You can delete only an
inactive context definition. When a context definition is active, you can add new instances of the
artifacts such as nodes, attributes, and mappings, but you can't edit or delete the existing
artifacts.
Important
You can’t edit or delete a standard context definition that’s shipped with your Industries
Cloud solution. You can extend or clone it and make your modifications.
For the newly added node or attribute of an exisiting node, make sure that you create a
mapping to capture the relevant data input.
The deletion of a parent node deletes the child nodes associated with it.
From Setup, in the Quick Find box, enter Context Service, and then
select Context Definitions.
Edit a context definition.
From the action menu, select the definition that you want to edit,
click , and then select
Edit.
On the Context Definition Details page, click the definition that you
want to edit, and then select
Edit.
Make your edits, and then save your changes.
Delete Context Definitions
Delete your context definitions.
From Setup, in the Quick Find box, enter Context Service, then
select Context Definitions.
Select the context definition that you’d like to delete.
Click and select Delete.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.