Skip to Content
author's profile photo Former Member
Former Member

Hide RightPanel on Open Document

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2014 at 08:42 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2015 at 10:43 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.