Skip to Content
avatar image
Former Member

OpenDocument call from custom element in WEBI

I am developing a custom element for a customer and they would like to open a detail report from selections in the custom element. I am using D3 to visualize the data with the custom elements solutions in web intelligence.

The visual is running fine, but the iframe in which the custom element is displayed in the report is a sandboxed iframe. This iframe allow-scripts and allow-same-origin, but not the allow-popups or allow-top-navigation. I understand why this has been done, to protect end users against mallicious scripts or other code. But this also means that adding just a hyperlink with normal anchor <a> tags in the visual results in not being able to open these hyperlinks. I also tried referencing the target of the anchor tag to the iframe, but all reports have a form tag, which is also not allowed by the sandboxed iframe.

Is there a solution to be able to open a detail report with an opendocument link in the WEBI environment, i have found some javascripts files in the tomcat server which seems like a library to perform an opendocument call but i cannot find any information on how to use this library. Anybody got any suggestions to this problem?

Add comment
10|10000 characters needed characters exceeded

  • Former Member

    No, i am just trying to hyperlink from a custom element to another detail report. The custom element is conceptual drawing of actions performed over time, i would like to hyperlink to a detail report showing information about the actions performed at that time slot.

  • Just for clarification - are you just trying to embed a webi report containing custom visualizations inside of another webi report?

  • Get RSS Feed

1 Answer

  • Oct 05, 2017 at 07:55 PM

    Hi,

    Indeed, the iframe is sandboxed for security reasons and we are not going to change its attributes.

    However, since version 4.2 SP04, Web Intelligence supports full communication between the Custom Elements and the Extension Points features. We therefore recommend to explore the Web Intelligence APIs documented in the Developer's Guide at https://help.sap.com/viewer/p/SAP_BUSINESSOBJECTS_WEB_INTELLIGENCE to see if this could help.

    Best regards,

    Pascal.

    Add comment
    10|10000 characters needed characters exceeded