Oracle includes a custom skin for Primavera Analytics that can be used optionally to match the theme used with other Primavera products.
To deploy the custom skin, complete the following steps:
- Go to your Oracle Fusion Middleware home. For example, <FMW_HOME> would be C:\Oracle\Middleware\Oracle_Home.
- Create a folder called custom_skins.
- Go to the <Primavera Analytics unzipped directory>\obi\12c\custom_skin\OBI directory.
- Copy the bicustom folder to the custom_skins folder.
- To deploy the custom skin in WebLogic:
- Sign in to the WebLogic Administration Console.
http://<server>:<port>/console
where
<server> is the IP address of the server.
<port> is the listening port (by default, 9500).
/console is the default context for the WebLogic Administration Console.
- In the Welcome window, sign in to the WebLogic domain.
- In the Change Center pane, click Lock & Edit.
- In the Domain Structure pane, click Deployments.
- In the Summary of Deployments pane, select the Control tab, and then click Install.
- Navigate to the folder containing the custom style.
For example, /u01/home/Oracle/Middleware/Oracle_Home/custom_skins/bicustom.
- Click Next.
Note: Select Next to advance to the next step of the procedure.
- Select Install this deployment as an application.
- Select bi_cluster as the deployment target
- Set the name to AnalyticsRes.
- Select I will make the deployment accessible from the following location.
- Select Yes, take me to the deployment's configuration screen.
- Click Finish.
- Click the Configuration tab.
- In the Context Root field, enter: /analyticsRes
- Click Save.
- Click OK to save the deployment plan.
- In the Change Center pane, click Activate Changes.
- Click Close to dismiss the confirmation message window.
- Sign in to the WebLogic Administration Console.
- To start the new application:
- In the Domain Structure pane, click Deployments.
- Select the Control tab.
- In the Deployments list, select the AnalyticsRes checkbox.
Click Start.
- Select Servicing all requests.
- To update the instanceconfig.xml file and specify the path to the custom skin to be accessed by Presentation Services:
- Open the instanceconfig.xml file for editing.
For example, <FMW_HOME>/user_projects/domains/bi/config/OBIPS/instanceconfig.xml
- Open the instanceconfig.xml file for editing.
Under ServerInstance, locate the UI section.
- Replace the UI section with the following:
<UI>
<DefaultSkin>Primavera</DefaultSkin>
<DefaultStyle>Primavera</DefaultStyle>
</UI>
- After the UI section, add a URL section with the following:
<URL>
<CustomerResourcePhysicalPath>PATH_TO_BI_CUSTOM_FOLDER</CustomerResourcePhysicalPath>
<CustomerResourceVirtualPath>/analyticsRes/res</CustomerResourceVirtualPath>
</URL>
where <CustomerResourcePhysicalPath> is the location of the bicustom folder.
For example, C:\Oracle\Middleware\Oracle_Home\custom_skins\bicustom
- Save the changes and close instanceconfig.xml.
- To completely stop and restart the BI domain:
- Go to <DOMAIN_HOME>\bitools\bin.
- Run stop.cmd (for Windows) or stop.sh (for UNIX or Linux) to shut down the BI domain.
- Run start.cmd (for Windows) or start.sh (for UNIX or Linux) to startup the BI domain.