Deploying the Custom Skin with OBI

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:

  1. Go to your Oracle Fusion Middleware home. For example, <FMW_HOME> would be C:\Oracle\Middleware\Oracle_Home.
  2. Create a folder called custom_skins.
  3. Go to the <Primavera Analytics unzipped directory>\obi\12c\custom_skin\OBI directory.
  4. Copy the bicustom folder to the custom_skins folder.
  5. To deploy the custom skin in WebLogic:
    1. 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.

    2. In the Welcome window, sign in to the WebLogic domain.
    3. In the Change Center pane, click Lock & Edit.
    4. In the Domain Structure pane, click Deployments.
    5. In the Summary of Deployments pane, select the Control tab, and then click Install.
    6. Navigate to the folder containing the custom style.

      For example, /u01/home/Oracle/Middleware/Oracle_Home/custom_skins/bicustom.

    7. Click Next.

      Note: Select Next to advance to the next step of the procedure.

    8. Select Install this deployment as an application.
    9. Select bi_cluster as the deployment target
    10. Set the name to AnalyticsRes.
    11. Select I will make the deployment accessible from the following location.
    12. Select Yes, take me to the deployment's configuration screen.
    13. Click Finish.
    14. Click the Configuration tab.
    15. In the Context Root field, enter: /analyticsRes
    16. Click Save.
    17. Click OK to save the deployment plan.
    18. In the Change Center pane, click Activate Changes.
    19. Click Close to dismiss the confirmation message window.
  6. To start the new application:
    1. In the Domain Structure pane, click Deployments.
    2. Select the Control tab.
    3. In the Deployments list, select the AnalyticsRes checkbox.

Click Start.

  1. Select Servicing all requests.
  1. To update the instanceconfig.xml file and specify the path to the custom skin to be accessed by Presentation Services:
    1. Open the instanceconfig.xml file for editing.

      For example, <FMW_HOME>/user_projects/domains/bi/config/OBIPS/instanceconfig.xml

Under ServerInstance, locate the UI section.

  1. Replace the UI section with the following:

    <UI>

    <DefaultSkin>Primavera</DefaultSkin>

    <DefaultStyle>Primavera</DefaultStyle>

    </UI>

  2. 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

  1. Save the changes and close instanceconfig.xml.
  1. To completely stop and restart the BI domain:
    1. Go to <DOMAIN_HOME>\bitools\bin.
    2. Run stop.cmd (for Windows) or stop.sh (for UNIX or Linux) to shut down the BI domain.
    3. Run start.cmd (for Windows) or start.sh (for UNIX or Linux) to startup the BI domain.


Legal Notices | Your Privacy Rights
Copyright © 1999, 2020

Last Published Monday, December 14, 2020