on 09-20-2017 10:16 AM
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.