Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
OBIEE 12c Theme not applying

Hi Guys,
I'm trying to get a custom theme applied to my development system but I can't seem to get OBIEE to recognize the theme, it just defaults back to s_blafp.
Here's what I've done:
Created a folder under /app/oracle/biee/bicustom and unzipped the bitemplate jar file there, so now that folder has three folders:
META-INF
res
WEB-INF
Inside of res folder (/app/oracle/biee/bicustom/res) I have created created two folders
s_company
sk_company
and copies files from the Alta theme directly into those folders, in the filemap.xml I have the following:
<FileMap>
<!-- The style name should exactly match the name of the folder, including case -->
<Styles Default="s_blafp">
<Hierarchy>s_Alta / s_company</Hierarchy>
</Styles>
<!-- The style name should exactly match the name of the folder, including case-->
<Skins Default="sk_blafp">
<Hierarchy>sk_Alta / sk_company</Hierarchy>
</Skins>
</FileMap>
In weblogic, I deployed that folder under the name "AnalyticsRes" and gave its context root /analyticsRes, gave it the path to files as /app/oracle/biee/bicustom and I've verified that if I go to: http://SERVER:PORT/analyticsRes/res/s_company/master/oracle_logo.png I can view the logo file.
Now I've gone to instanceconfig under /user_projects/domains/bi/config/fmwconfig/biconfig/OBIPS/instanceconfig.xml
and altered/added the following:
<URL>
<CustomerResourcePhysicalPath>/app/oracle/biee/bicustom/res</CustomerResourcePhysicalPath>
<CustomerResourceVirtualPath>/analyticsRes/res</CustomerResourceVirtualPath>
</URL>
<UI>
<DefaultSkin>company</DefaultSkin>
<DefaultStyle>company</DefaultStyle>
</UI>
Now, I restart OBIPS1 and it just defaults back to s_blafp theme, am I missing something? It's driving me crazy
Answers
-
As an added note, if I go do a dashboards properties and select the theme, it actually says default(company) so its seeing the name, its just not taking any of the themeing, just defaulting back to s_blafp theme.
0 -
I've narrowed it down to an issue with this in the instanceconfig.xml:
<URL> <CustomerResourcePhysicalPath>/app/oracle/biee/bicustom/res</CustomerResourcePhysicalPath> <CustomerResourceVirtualPath>/analyticsRes/res</CustomerResourceVirtualPath> </URL> Its either not liking the Virtual Path or the CustomerResourcePhysicalPath, but I do not know why.
0 -
Hi,
Custom skin/style aren't working properly in OBIEE 12c yet
I made this workaround in a custumer here in Brazil, this approach was validated by Oracle USA
1 - Go to your analytics.ear folder "[ORACLE_HOME]/bi/bifoundation/jee/";
2 - Make a backup from analytics.ear, if you have any problem on that, you will use this backup to rollback all your changes;
3 - Download analytics.ear for your station or a workstation that you has 7-zip installed;
4 - Open analytics.ear using 7-zip and then edit analytics.war;
5 - Inside analytics.war you have all default style/skin folders, just duplicate your preferred theme (s and sk folder), for example, if you choose "blafp", duplicate s_blafp and sk_blafp as s_company and sk_compnay (or the name you want after underscore "_");
6 - When you finish all modifications, close up 7-zip and then you asked to salve your changes. Save your changes;
Don't forget to make your changes in your custom folder, don't change default folders.
7 - Turn off your managed server and Move your new analytics.ear to "[ORACLE_HOME]/bi/bifoundation/jee/"
8 - Go to WLS console and then go to deployments tab;
9 - Localize analytics app, click in edit and then update your app;
10 - Start up your manage server;
It's done, just call your custom style on your instalceconfig.xml to make that your default
<UI>
<DefaultSkin>company</DefaultSkin>
<DefaultStyle>company</DefaultStyle>
</UI>
Hope this help
Felipe Idalgo
0 -
I followed all the steps above to edit the analytics.ear file and added a custom theme folders inside that. Deployed the new ear but in dashboard properties screen I am not getting the new theme name. Any idea about this issue?
0 -
Have a look at Doc ID 2131220.1. The location your custom EAR needs to be deployed to is actually ORACLE_HOME/user_projects/domains/bi/bidata/components/OBIPS/bicustom.ear
0 -
I'm having a similar issue.
This despite following the (not good) instructions from Doc ID 2131220.1 including installing the April CPU and one-off patch.
When I go to view:source, I can see in some places my changes were successful (i.e. references to s_MyCompany and sk_MyCompany), but in others in has defaulted to the /analytics/res/(random_characters?)/s and sk_blafp
Per the example in the doc above, or perhaps that was from the actual documentation (the support doc above is a fix to the errata in the documentation, FYI. Just don't look at the screenshots...), I updated oracle_logo.png in the res/s_MyCompany/master folder (with an awesome oraclenerd logo), nothing.
Inspecting that element this is what I see:
<img border="0" src="/analytics/res/v-0YH2UYTNo3k/s_blafp/master/oracle_logo.png" alt="Oracle Logo">
I want to nuke any and all references to s_/sk_blafp folders (OK, the JS can stay there...)
0 -
So...rookie error. Didn't clear the cache (Chrome).
I still see references to s_ and sk_blafp.
I understand the JS references may need to stay the same (upgrades, etc), but the skins/styles? Is this something I just have to learn to live with?
0 -
I'm seeing the same problem. Did you find a solution for the references to s_ and sk_blafp?
Thanks
Allan
0 -
Allan,
Please open a new thread with your own question instead of resurrecting an old one.
0 -
Christian,
I'm sorry that you dont like my reply to Chet.
I just wanted to hear if he found a solution to his problem, that he already mentioned here, since I'm facing the same
@Chet Justice, If Christian doesnt like you to answer in this 1 month old thread, please feel free to send me a PM.
Allan
0