Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Passing the Base64String to a plugin via Action

(0) ShareShare
ReportReport
Posted on by 170

Hello, 

Our requirement is to Generate a Report and email it as an attachment when a user clicks a button in the ribbon. I have a Javascript executing when the button is clicked. This Java script is generating the report and converting it in to a Base64string and passing the string as input parameter to an Action. 

I want to write a plugin that'll trigger on this Action and create a new email, create an attachment by gathering the base64string. However i can't seem to figure out a way to pass this string to attachment body and generate the attachment. 

Any thoughts, ideas, assistance will be greatly appreciated. Thanks!

-Shahid

*This post is locked for comments

  • Vijayaraghavan Profile Picture
    Vijayaraghavan 75 on at
    RE: Passing the Base64String to a plugin via Action

    Hi Shahid,

    please refer to the following page:

    community.dynamics.com/.../sending-email-with-entity-attachment-from-notes

    Please let me know if you solve.

    Thanks,

    Vijay

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans