Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Sending additional parameters with bullet email button

(0) ShareShare
ReportReport
Posted on by

8666.question.JPG

I want to create a new 'bullets email' the same as if you clicked it but I want to send a paramater to the form and I want to 

call it through a javascript file. Any ideas on how to do this. I can't seem to find a plugin or something where this is happening.

  • RE: Sending additional parameters with bullet email button

    Hi Steven,

    I would say it depends on what you are using in bullets email button already, but you can make a JS function to call the openForm function, and pass you custom paramenters in the "parameters" object, which then you can use by implementing one additional JS on load of the email form

    The code to open the request should look something like:

    var parameters = {};

    parameters["param1"] = 1;

    parameters["param2"] = 2:

    ...

    var entityFormOptions = {};

    entityFormOptions["entityName"] = "contact";

    entityFormOptions["entityId"] = "8DA6E5B9-88DF-E311-B8E5-6C3BE5A8B200";

    // Open the form.

    Xrm.Navigation.openForm(entityFormOptions, parameters).then(

       function (success) {

           console.log(success);

       },

       function (error) {

           console.log(error);

       });

    Reference: docs.microsoft.com/.../set-field-values-using-parameters-passed-form

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,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans