Connecting to Jaspersoft server reports from Modern UX's Channels
search cancel

Connecting to Jaspersoft server reports from Modern UX's Channels

book

Article ID: 145365

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

In the Modern User Experience (UX), there is a functionality to connect to external websites and interact with them, from within the application. This functionality is called Channels. Its configuration and usage are mentioned in the documentation at: Configure Links to External Content With Channels.

However, there are limitations imposed due to security reasons from external websites, that can result in nothing getting displayed in Channels. The explanation for this behaviour is explained in the KB Blueprint Channel Modules security error referencing 'X-Frame-Options'. Connecting to Jaspersoft Server Reports from within the Modern UX, can also be impacted due to this security setup.

Environment

Latest version tested: 15.7.1

Cause

The URLs used in Channels are made to point to the Jaspersoft Server. One such common URL format is shown below.

https://jaspersoft.server.ca.com/reportservice/flow.html?_flowId=viewReportFlow&standAlone=true&ParentFolderUri=/ca_ppm/reports/resource_management&reportUnit=/ca_ppm/reports/resource_management/CSK_RES_Skills

This URL will result in a violation of the CORS policy for Jaspersoft Servers.

Resolution

Connection to Jaspersoft Server Reports can be made by using the Clarity URL instead of the Jaspersoft Server URL. A sample URL is being shown below.

https://cppm0000-sandbox.ondemand.ca.com/reportservice/flow.html?_flowId=viewReportFlow&standAlone=true&ParentFolderUri=/ca_ppm/reports/resource_management&reportUnit=/ca_ppm/reports/resource_management/CSK_RES_Skills

This will result in the Jaspersoft Server Reports getting displayed in the Modern UX without throwing any errors.