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.

  • SergioMarques Profile Picture
    on at
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Sahra Profile Picture

Sahra 43

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans