cancel
Showing results for 
Search instead for 
Did you mean: 

OpenDocument call from custom element in WEBI

former_member381706
Discoverer
0 Kudos

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?

former_member492038
Participant
0 Kudos

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

former_member381706
Discoverer
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

pascal_gaulin
Participant

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.