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

Announcements

No record found.

News and Announcements icon
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,064 on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
ManoVerse Profile Picture

ManoVerse 33 Super User 2026 Season 1

#2
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 32

#3
11manish Profile Picture

11manish 31

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans