web
You’re offline. This is a read only version of the page.
close
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.

I have the same question (0)
  • SergioMarques Profile Picture
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans