CompanyCosmetics Business Rule
The CompanyCosmetics business rule:
- Identifies the background to display on all screens except the login screen.
- Specifies statuses that can be assigned to a policy when it is deleted in OIPA.
- Identifies the role code that should get displayed in the policy header section for a individual policy record and group policy record.
- Enables or disables the ActivityShading feature.
- Enables or disables the Role Shading feature.
- Enables or disables the Requirement Shading feature.
Steps to Configure the CompanyCosmetics Rule
-
In the Global Rules Explorer, browse to Business Rules | System and right-click on CompanyCosmetics.
-
Select NewCompanyCosmeticsOverride.
-
In the Configuration area, click on the XML Source tab. The XML source is displayed, with only the start and end tags for the CompanyCosmetics rule.
-
If a background is defined in this rule, add a sub-element <CompanyCosmetics>.
- Under the sub-element <CompanyCosmetics> add another sub-element: <Tile>. The name of the file that contains the background for all screens except the login screen should appear between the opening and closing tags of this element.
- If shadowing is allowed on the policy, then <ShadowPolicyStatus> should be added as a sub-element to the parent tag, at the same level as the <CompanyCosmetics> sub-heading.
- The <ShadowStatusCode> element should appear as a sub-heading to <ShadowPolicyStatus> and should contain all valid status codes that can be assigned to a policy once it is deleted. Status codes are defined in the AsCodeStatus table. These defined statuses will populate the Shadow Status Code drop down box on the Policy Screen Shadow Policy visual editing pane.
-
If any additional <ShadowStatusCode> elements are needed, then add one for each code.
- Use the <Substitutions> element along with thwe <Owner> and/or <PrimaryMember> element to define the role code that should get displayed in the policy header section.
-
If Activity Shading is required, add the <ActivityShading ENABLE="Yes"> element after the </CompanyCosmetics> sub-element, the </ShadowPolicyStatus> element or the </RoleShading> element. The <ActivityShading> element must not be a sub-element of the <CompanyCosmetics> sub-element.
- If Role Shading is required, add the <RoleShading ENABLE="Yes"> element after the </CompanyCosmetics> sub-element, the </ShadowPolicyStatus> element or the </ActivityShading> element. The <RoleShading> element must not be a sub-element of the <CompanyCosmetics> sub-element.
- If Requirement Shading is required, add the <PolicyRequirementShading> element. Also add the <Shading> sub-element with a value specifying the color to shade the requirement, as well as a STATUS attribute of the <Shading> element specifying the status to which the shading should be applied.
-
Save and check in the rule.
Role Shading
The Role Shading feature enables the display of role status in the Role screen in color. If the company is configured with the Role Shading feature enabled (in a company override of the CompanyCosmetics rule), then the role view will display each role in appropriate color and shading. The color of the text in the role listing matches the role status.
-
Black— Active (01)
-
Gray — Inactive (98)
-
Gray — Deleted (99)
Changing OIPA's Background Image
The CompanyCosmetics business rule allows a configuror to change the background image that displays in OIPA. To do so:
- Unzip the OIPA .war file.
- Within the .war file, navigate to Themes | Oracle | images.
- Copy the desired image into the folder.
- Close the program used to unzip the .war file and save the changes if prompted.
- Open the Rules Palette and check out the Company Cosmetics business rule.
- Change the value of the <Tile> element to the new image's filename.
- Deploy the OIPA .war file.
Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices