Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 77 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Prompt default collapse in dashboard page

Good Morning Gurus,
when i open my dashboard page, prompt section is expand mode. option collapse is checked;
By default i want see that prompt collapse.
Can any one help on this.
Answers
-
Yes you can do this - https://obieepedia.wordpress.com/2013/06/19/how-to-collapse-or-minimize-a-dashboard-section-by-default-in-obiee/
You use the developer tools of the browser to find the ID of the SectionDiv element of the prompt and then you add a text object to the dashboard with some javascript in it. Here is my javascript:
<script type="text/javascript">
var sectionId = "d:dashboard~p:drv6t74jn2kujku4~s:v8j9s2l25eb3l3nb";
var sectionDiv = document.getElementById("Embed"+sectionId);
var plusImg = document.getElementById(sectionId+"Max");
var minusImg = document.getElementById(sectionId+"Min");
var contentsTable = document.getElementById(sectionId+"Contents");
minusImg.style.display = "none";
contentsTable.style.display = "none";
plusImg.style.display = "";
sectionDiv.setAttribute("minimized", "true");
</script>
0