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

Announcements

News and Announcements icon
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.

I have the same question (0)
  • SergioMarques Profile Picture
    Microsoft Employee on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 94 Super User 2026 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 68 Most Valuable Professional

#3
ParthPatel249 Profile Picture

ParthPatel249 62

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans