How to generate a report manually using script

Ramkumar Rajend
Tera Expert

Hi,

Is there any way to create a report through script, I want to create a pivot report and need to show it on one of the form during the

onclick of ui action. I want to understand how do i can pass required parameters such as table name of the report, filter conditions, column

values and row values(field name), aggregate etc. next point is generating that report and rendering it.

Regards,

Ram

2 REPLIES 2

Gurpreet07
Mega Sage

Following link will guide you for this.


Embedding reports in Jelly


Re: Service Portal Report Widget


Hi Gurpreet,



Thanks for your prompt response, i was also trying to use the below function



embedReportById(targetSpan, reportId, additionalFilter).      



But whatever the filter i pass its not recognizing and report is generated without that filter.


Can you please let me know how to pass that filter, say for example i want to pass Class is "ABC" and the report is on CI table



Regards,


Ram