Context Service :
Note : If you add a custom field to the context , it will flow through the quote, orders, contracts etc.
Tip : Extend Sales Transaction Context to map custom fields.
1.Avoid cloning and then extending Sales Transaction Context.
2.Extend the OOTB Sales Transaction Context directly to create your own custom definition,Add necessary custom mappings and then activate your definition.
Context Services is a layer which listens to the data request sent by application and loads all necessary data onto itself and distributes the required data to specific processes to satisfy the request from application.
How to design Context Services ?
Define Context Definitions :
Context Definition is the set of information which includes nodes, attributes, context tags and mappings.
Node is the user defined container/object which includes attributes (Also referred as fields) mapped to real data by mapping.Nodes and attributes in the nodes require Context Tags to query data from the context definition by consuming application.
Mapping also refer as Context mapping is the next step in defining Context Definition. Mapping of Nodes and its attribute to the input data source are called context mapping.Typically , input data source is salesforce objects in context of RLM.
Use Context Service in a Flow or Procedure :
Defining the screen flow or procedure is the most common way to use Context Services. Context Services must be active to use in either Flow or Procedure.
No comments:
Post a Comment