Step 3: edit the Pentaho XML file

Pentaho CTools

Version
10.2.x
Audience
anonymous
Part Number
MK-95PDIA006-12
Open the server/pentaho-server/pentaho-solutions/system/pentaho.xml file in a text editor and make the following replacements:
  1. Find the line:
    <cors-request-allowed>false</cors-request-allowed>
    and then change it to:
    <cors-request-allowed>true</cors-request-allowed>
  2. Find the line:
    <cors-requests-allowed-domains><!-- allowed domains here --></cors-requests-allowed-domains>
    and then change it to:
    <cors-requests-allowed-domains>http://localhost:2777</cors-requests-allowed-domains>