Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

How to call customize styles(css class) and skins in obiee analytic 12c reports..?

Received Response
335
Views
12
Comments
User_D8344
User_D8344 Rank 3 - Community Apprentice

Hi ,

Currently we followed below steps to customize the reports.

1. Copied customize style sheet files under "D:\OracleBI12c\analyticsRes\res" path

2. Change in "instanceconfig.xml" file :

     a.  We have copied the style sheet under "D:\OracleBI12c\analyticsRes\res" path and same as  called in 'CustomerResourcePhysicalPath' .

     b.  Under CustomerResourceVirtualPath we mentioned as virtual path '/analyticsRes/res' .

like below

  <URL>

      <CustomerResourcePhysicalPath>D:\OracleBI12c\analyticsRes\res</CustomerResourcePhysicalPath>

      <CustomerResourceVirtualPath>/analyticsRes/res</CustomerResourceVirtualPath>

   </URL>

  c. Added below xml  tag:

         <UI>

          <DefaultSkin>Custom</DefaultSkin>

          <DefaultStyle>Custom</DefaultStyle>

          <SkinMappings>

           <skinMapping>

           <biadfSkinFamily>bi-alta</biadfSkinFamily>

           <biSkin>AltaBitech</biSkin>

           </skinMapping>

          </SkinMappings>

          </UI>

3. Deployed war file from D:\OracleBI12c\analyticsRes\res Location on weblogic.

4. Restarted services.

Problem Summary:

        1. Unable to apply customize style sheet.

        2. Default style sheet crashing.

Expectation:

We are migrated obiee analytical report from 10g to 12c.

During migration we lost skin and style sheet(format) in 12c report.we need to include all customize style sheet and skins in 12c report.

Thank you,

  

instanceconfig.xml

«1

Answers

  • User_D8344
    User_D8344 Rank 3 - Community Apprentice

    Thank you.Will go through it and get back to you.

    Regards,

    BNTB

  • As an extra info: did you "just" copy your old 10g custom styles into the folder? Or did you take a 12c skin and customize it to be like your 10g?

    Because lot of changes happened in the interface between 10g to 12c, so I wouldn't expect the old 10g styles to really work correctly....

  • User_D8344
    User_D8344 Rank 3 - Community Apprentice

    Thank you Joel for your suggestion and sharing the useful link.

    we had followed the steps mentioned in the document but still we are getting issue and style sheets are not applying properly.

    we are seeing below URL while doing the View Source of the report ...

    "res/v-wlxaLl*k8U8/sk_blafp/master/customskin.css"

    we dont know how folder 'v-wlxaLl*k8U8' is coming In above URL ,we have simply deployed the filed in

    "D:\OracleBI12c\Oracle_Home_12.2.1.4\bi\bifoundation\jee\analyticsRes\res\s_Custom\master"

    Regards,

    BNTB

  • User_D8344
    User_D8344 Rank 3 - Community Apprentice

    Hi ,

    How to change TEMP dir location in obiee 12c.

    currently we are getting below URL

    "res/v-wlxaLl*k8U8/s_Skyros/uicomponents/obips.FloatingWindow/obips.FloatingWindow.css"

    but the actual URL is

    "res/s_Skyros/uicomponents/obips.FloatingWindow/obips.FloatingWindow.css"

    Regards,

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    You have to follow the process outlined in Gianni's blog posts exactly!

    And by the way: use the shared folder approach. Not the ear.

  • Joel
    Joel Rank 8 - Analytics Strategist

    +1

  • 1525161 wrote:we are seeing below URL while doing the View Source of the report ..."res/v-wlxaLl*k8U8/sk_blafp/master/customskin.css"

    That's one of the default styles embedded in OBIEE, so if OBIEE revert back to this one it's because you have some issues with your own custom style.

    And I really have the impression you simply migrated your 10g styles instead of taking the clean new Alta and customize this one to match back to the global corporate identity (but at least having a cleaner and newer design).

  • User_D8344
    User_D8344 Rank 3 - Community Apprentice

    Thank you Gianni for your help,

    Now we resolved the issue and able to apply the style for font but still we are facing the issue for displaying the Color in Row and Column.

    Colors are not displaying as expected.

    Thanks and Regards

    Abhishek

  • Hi Abhishek,

    1525161 wrote:but still we are facing the issue for displaying the Color in Row and Column.Colors are not displaying as expected.

    I'm sure you can imagine that with just this there isn't anything the community can tell you, right?

    Because ... we have no idea of what you are talking about and what you exactly did so far (mainly as it's related to custom styles it also depends what you put in your style etc.)