Model for OData Service
The model for the OData Service CRM_IU_UI5_PFC has the following hierarchical structure:
The root entity in the model is Document. This entity represents the current configuration. The service only works with one configuration at any time, as is also the case for the Product Finder and Configurator (PFC).
The configuration consists of attribute groups, which in turn contain attributes. This is represented in the model by the AttributeGroup and Attribute entities. Whilst the AttributeGroup entity only contains the title, the Attribute entity contains many fields that are OData-specific and are not found in a standard PFC document, such as:
-
RenderType: Render type for the attribute, you can define OData-specific render types in addition to the standard render types:
-
RoadMap (display process steps)
-
Slider (as an alternative to entering numerical values)
-
Button
-
-
ValueUpdated and ValueHelpUpdated: These fields contain information about whether the value or value help has changed.
-
MaxLength: Maximum length of an attribute value
-
LinkedToAttr: The attribute is displayed in a row with another attribute (such as first name-last name)
-
Message: Structure with the message type and message text
-
AddInfo: Field for additional information
You can define a value help for an attribute. Values that are defined in the value help are used as values in a selection box or as process steps or tab pages. In the OData model, this object is represented by the HelpValue entity. Some of the fields provided by this value help include:
-
Icon: Icon
-
IsIncluded: Information about whether it shoudl be possible to select this value or display it (according to the render type).
Certain attributes in a configuration lead to specific products or product packages according to the Product Finder and Configurator, which are combined in groups. This is represented in the OData model by the entities ResultGroup and Result. The Result entity contains some OData-specific fields, such as the following:
-
Picture: Picture of product
-
AddInfo: Field for additional information
-
HasComponents: This field describes a package with components.
-
ParentResultId: This field contains the associated package for a package component.
-
IsSelected: This field indicates whether the product or package was selected in the results list.
-
IsSelectedComponent: This field indicates whether an optional package component was selected in a package.
The attribute groups and attributes are supplied with the existing entities AttributeGroup and Attribute for each product or package in the results list.
The Price entity also supplies prices for products or packages in the results list.
The SingleMessage entity is used to provide success and error messages that apply to the entire configuration.
Overview Diagram