Hi Sonal,
You should be able to display a jasper report in the browser as an HTML portlet.
<head>
<style type="text/css">
html, body, div, iframe { margin:0; padding:0;}
iframe { display:block; width:100%; border:none; }
</style>
<head>
<div>
<iframe id="myiframe" frameborder="0" border="0" height="800"></iframe>
</div>
<script>
var url1 = window.location.href;
var str1="/reportservice/flow.html?_flowId=viewReportFlow&standAlone=true&reportUnit=/Custom_Reports/Project_Summary_Dashboard&decorate=no&viewAsDashboardFrame=false&projectKey_1=";
var location1 = url1.indexOf("id=");
var projectKey_1 = url1.substring(location1 + 3, location1 + 10)
var myiframe = document.getElementById('myiframe');
myiframe.src = str1 + projectKey_1;
</script>
Similarly, we can configure a link to the report using an attribute and specify the output format as PDF/PPT etc.
------------------------------
Praneeth Desur
Clarity PPM Specialist
Toyota Finance Australia
------------------------------
Original Message:
Sent: 03-02-2020 05:28 PM
From: Sonal Vaidya
Subject: Jaspersoft Report Questions
Hi all,
Need some help regarding jaspersoft reporting.
In previous release (14.2) where the business object was the reporting engine I used to run report via the link like below.
https://<domain_name>/niku/nu#action:reporting.executeAndView&reportName=Project Status Reporting.&prj_id=5003641&prj_status_week=11/11/2019
This above URL gets stored in a locked attribute, Can we do something similar in clarity 15.x? So user just need to click on the link to run the report, has this been done ? Is there any other workaround to achieve this function from a URL ?
Also, running reports seems to be downloading into either PDF of XLS format, is there any way to run the report and it should display into the browser ?
Any thoughts.
Regards,
Sonal