Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Unanswered

Run Report in PDF format on Custom Button Click

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

  • Nya Profile Picture
    Nya 29,056 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans