web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

Run Report in PDF format on Custom Button Click

(0) ShareShare
ReportReport
Posted on by 55

Hi, 

I have a requirement, where I want run report in PDF format using a custom button with only JS or MS Flows.

Regards,

Shoaib Khan

I have the same question (0)
  • Nya Profile Picture
    29,060 on at
    RE: Run Report in PDF format on Custom Button Click

    Hi Shoaib Khan,

    You can add the custom button with Ribbon Workbench.

    Here is a sample to open report from custom ribbon button on entity form.

    Open report from custom ribbon button on entity form - CloudFronts

    As for generating the .pdf, you can run JavaScript functions from ribbon buttons created with Ribbon Workbench. For instance https://github.com/MrRio/jsPDF .

    This would of course involve fetching all the field values you wish to put in the PDF via the JavaScript function.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 58

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 16 Super User 2025 Season 2

#2
CU29080825-0 Profile Picture

CU29080825-0 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans