Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
Hi,

I have created my cockipt and i need to share it with my collegue. So, i generate an html document with the property Embed in HTML and you can see the iframe tag :

<iframe width="600" height="600"
     src=http://192.168.10.89:8080/knowage/public/servlet/AdapterHTTP?ACTION_NAME=EXECUTE_DOCUMENT_ACTION&OBJECT_LABEL=TEST_SOLUTION&TOOLBAR_VISIBLE=true&ORGANIZATION=DEFAULT_TENANT&NEW_SESSION=true
      frameborder="0">
</iframe>

i have modified the property SPAGOBI.SECURITY.USE_PUBLIC_USER to true

but when my collegue open the document only the toolbar is displayed, charts in cockipt no more.

Help please
Environment Knowage server CE
in Cockpit, Dashboard and Console by (870 points)

1 Answer

+1 vote

I had resoved this problem by there method:

1、add the file "services-whitelist.xml" into your tomcat resource path,the path must right config in server.xml,config eg:

<Environment name="resource_path" type="java.lang.String" value="C:\tomcat7.0.55\resources\"/>

2、add Iframe base url into services-whitelist.xml,it only add protocol and host。config  eg:

<service baseurl="https://media.giphy.com" />

then restart your tomcat,you can iframe tag by html edit. 

by (320 points)
Nice.This help for me!
...