Enable Cross Origin Resource Sharing (CORS) in the Community Dashboard Framework (CDF), Community Dashboard Editor (CDE), and Community Data Access (CDA). While you need CDE to embed the dashboard, you will access it from a different server other than the Pentaho Server, so CORS must be enabled in CDF, CDE and CDA. Open the following CDF, CDE, and CDA settings.xml files in a text editor:
- For CDF: server/pentaho-server/pentaho-solutions/system/pentaho-cdf/settings.xml.
- For CDE: server/pentaho-server/pentaho-solutions/system/pentaho-cdf-dd/settings.xml.
- For CDA: server/pentaho-server/pentaho-solutions/system/cda/settings.xml.
Make the following replacements in each settings.xml file: