Question
The IBM Planning Analytics connector has been configured and we're able to index and browse the IBM Planning Analytics content, but when trying to launch a websheet, cube view, or PAW book, a grey screen with an unhappy face is returned. Looking at the Chrome Developer tools, this error is visible on the Console tab:
Answer
This error occurs as a result of a misconfiguration on the Planning Analytics server. To remedy this issue, a change to the paw.ps1 (Windows file name) is required.
- On the Planning Analytics server, navigate to the <paw_install>/config directory
- Open the paw.ps1 file in a text editor
- Add or edit this line to the file $env:X_FRAME_OPTIONS="*"
- Add or edit this line to the file $env:API_ALLOW_ORIGINS="*"
- Add or edit this line to the file $env:CSP_FRAME_ANCESTORS="https://*.domainname.com:9443" replacing domainname with your domain and 9443 with the port number that Digital Hive is running on. If you want further lock down the policy, you can replace the * with the Digital Hive servername.
- Save the file
- From the <paw_install> directory, launch a Powershell window and run ./Start.ps1
- Press Enter to accept the default of not installing or updating the Planning installation
- Press Enter to accept the default to start the Planning administration tool
- When the IBM Planning Analytics Workspace Administration Tool launches, press Validate
- Press OK if everything validates ok
- Press Update to reload the configuration
- Change views to the Status tab
- Press Restart
- Once Planning has restarted and can be accessed through a web browser, launch Digital Hive
- In Digital Hive, execute the Planning Analytics content and the execution should complete successfully
In addition to the changes above, to be able to embed and launch Tm1Web Websheets, these settings must also be in the <tm1web_install>\webapps\tm1web\WEB-INF\configuration\tm1web_config.xml file:
<add key="CrossDomainAccessList" value="*" />
<add key="X-Frame-Options" value="2" />
If these entries had to be modified, the TM1 web service, IBM Planning Analytics Spreadsheet Services, will need to be restarted.