Refreshing Attributes with Business Component Domains
Attributes with business component domains can be refreshed from the database during the configuration session initialization. You can define a new set of join like UI properties on attributes. When the user starts the configuration session, the attribute values get updated from the line item field values. When refreshing the business components returns no rows, then the attribute values are left unchanged.
This task is a step in Process of Creating an Attribute with a Business Component Domain.
For example, the Product Administrator has created a product with components called Premier Service Package. This product has been assigned to a product class that has the attributes Last Name, and Role defined on it. The end user picks a contact using the contact pick applet defined on the Last Name attribute, and the Role attribute is defaulted to Business Analyst. The contact gets promoted to a Manager, and the contact's new job title information is updated in the application. The end user re-customizes the product Premier Service Package. When Siebel Product Configurator is launched, the job title attribute gets automatically refreshed from Business Analyst to Manager.
To do this, the Product Administrator must define the following UI properties on the Contact Last Name attribute:
RefreshBO. Its value is Contact
RefreshBC. Its value is Contact
RefreshKey. Its value is Id
RefreshMap01. This UI property associates the attribute name with the business component field that needs to be refreshed. Its value is an XML tag that has the following elements
<RefreshMap Field="Role" RefreshField="Job Title"/>
Field = "Role". This is the attribute name.
RefreshField = "Job Tile". This is the business component field.
The following table shows how to use the predefined UI properties to refresh attributes with business component domains.
Name | Value |
---|---|
RefreshBO |
The name of the refresh business object. |
RefreshBC |
The name of the refresh business component. |
RefreshKey |
The name of the unique identifier, the Id field of the refresh business component. |
RefreshMap01 |
This is an XML tag that associates the attribute name with the business component field that needs to be refreshed. <RefreshMap Field="Attribute Name" RefreshField="BuscompFieldName"/>
|
RefreshMapnn |
RefreshMap02 and so on, refresh multiple fields from the same business component. |