on ‎2014 Apr 27 6:15 AM
hello,
I have a new challenge, and I'm not sure if its solution will come from DS side or BO side:
I'm using DS 1.2 SP01 and BO 4.1 SP02
I'm trying to add a DS Dashboard over HTML Page using Iframe tag. as a source link of the Iframe I use the OpenDocument link and get the following result:
Now, I want to hide the Right Panel (which I Marked). the class of this div tag is "openRightPanel", but I can't access it using CSS from the HTML side because of a cross domain Restriction. I didn't find a BO configuration which hide this panel either. Does anybody have an Idea how to hide this div, or any other classes in the Iframe?
thanks.
Amit
Request clarification before answering.
Hi Amit,
You can hide the Detail panel/Arrow in the Open document URL with the &noDetailsPanel property.
Please append the property to the Open doc URL as below and you wont get the properties panel.
Note: But this property will only work if you upgrade your BI Platform to BO 4.1 SP03+
Regards,
Vignesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Is the div tag with class "openRightPanel" that you want to hide part of "DS Dashboard" (is it inside the DS Dashboard BI App) of part of "HTML Page" (outside the iframe with your DS App)?
Where did you place the css definition that should hide the div?
Do you have the ability to also modify the css for "HTML Page"?
In general what should work:
If you have access to the css files that are used in both Apps/HTML pages, then place the css definition in that App/HTML page that directly contains the div that should be hidden.
But you can find a lot of info about this topic for example here: javascript - Can I apply CSS to the elements within an iframe? - Stack Overflow and there is also a link in the 2nd answer to another helpful page: html - How to apply CSS to iFrame? - Stack Overflow
There are JavaScript solutions but they do not work for cross domain iframes.
If you have cross domain iframes, the solution is to use server side coding (php, java, ...).
Other solutions to consider (if you really need a solution ) look into:
Kind Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
just some ideas, whether they work or whether it is suitable for you I don't know:
if the "openRightPanel" is created by the OpenDocument, then you need to customize your OpenDocument.jsp or view.jsp file of your BO server and include a new custom css file there?
(relevant info that might help you: Make It Look Like Your Own: Customizing SAP BI 4.1 , Modify openDocument.jsp for correct display in ... | SCN)
Or find out the name of this image (if it is an image in the div "openRightPanel"), then search for this image name on your BO server install folder and then replace this image with a white/transparent image maybe of size 1x1 but with same name?
Regards,
David
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.