Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 16 Oracle Analytics Lounge
- 215 Oracle Analytics News
- 43 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Javascript and onload in a dashboard

I am trying to fire an onload event that would run javascript to customize some CSS whenever a dashboard is run. But I can't figure out what to file to modify. I would need to add the javascript and then call the javascript function from the onload event. If you do this from the home page it's pretty simple. One way top do that would be to modify the file %OBIEE_HOME\bi\bifoundation\web\msgdb\pages\bieehome\bieehome.htm to call the js in NQOnLoadEvent, after adding the js to \obiee\user_projects\domains\$($Env:COMPUTERNAME)\servers\bi_server1\tmp\_WL_user\analytics\za01ic\war\res\b_mozilla\common.js. But how to do it from a dashboard? I am thinking that all of the html is dynamically generated so there is no way to make this change in a static file somewhere.
Has anyone done something like this?
OBIEE 12.2.1.1.0
Windows Server 2012 R2
Answers
-
Sorry but ... aren't you looking for a custom style/skin?
Because doing that you can customize everything and then you set that custom as the default for the system or you select the style at the dashboard level.
The good thing with this approach: customisations will survive patching etc. (as long as you do it the right way!)
0 -
No, I'm already doing that. What I'm trying to do is modify the CSS based on the date instead of having to update a file in the custom skin. So when the beginning of the month rolls around the previous month will show as a different color. Currently I am having to update the CSS file in the skin and update the deployment. The javascript would do this dynamically.
0