AnsweredAssumed Answered

Embed pentaho CDE Dashboard in external Web application

Question asked by Raj Karan on Jan 10, 2018
Latest reply on Jan 18, 2018 by Raj Karan

I am following this tutorial CDE Advanced Solutions - Pentaho Documentation and have create a simple HTML page (main.html) with code given below.


<!DOCTYPE html>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
function(SampleDash) {
var sampleDash = new SampleDash("content1");
<div id="content1"></div>


I am running this page with python server as instructed in tutorial.

Launching main.html file in browser throws below error.

Failed to load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:2777' is therefore not allowed access.


I have set allow-cross-domain-resources to true in both pentaho-cdf/settings.xml and pentaho-cdf-dd/settings.xml files.

How can I resolve this problem?