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,...
Answered

Configuring a Quick Create Form button in Ribbon Workbench on the Home/Dashboard pa

(0) ShareShare
ReportReport
Posted on by 335

Hey there, I could use some help!

I am trying to configure a button on my D365CE Home/Dashboard page to launch a quick create form for a new account. I have gotten the button to show up, but when I click it, nothing happens. I am guessing I've done something wrong in my configuration, or in my code. If anyone could look through this and tell me if I'm missing something, that would be great. I've been trying to get this to work for days now... Ribbon Workbench is my nemesis! Below are the screenshots, and the text of my code. THANK YOU!

Button:

pastedimage1651242316749v1.png

Button Configuration in Ribbon Workbench:

button-config.png

Command Config in Ribbon Workbench:

command-properties.png

And finally, the code I'm calling in that command:

var OpenAccountQuickCreate = {

     //OpenAccountQuickCreate.OpenRecord

     OpenRecord: function (primaryControl) {

           var entityFormOptions = {};

           entityFormOptions[“entityName”] = “account”;

           entityFormOptions[“useQuickCreateForm”] = true;

          var formParameters = {};

         // Open the form.

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

               function (success) {

               console.log(success);

                },

               function (error) {

              console.log(error);

              });

};

I have the same question (0)
  • Verified answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    Try below code without namespace.

    function OpenRecord(primaryControl) {

    alert("Code triggered");

              var entityFormOptions = {};

              entityFormOptions["entityName"] = "account";

              entityFormOptions["useQuickCreateForm"] = true;

             var formParameters = {};

            // Open the form.

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

                  function (success) {

                  console.log(success);

    alert("ok");

                   },

                  function (error) {

                 console.log(error);

    alert("Not OK");

                 });

    }

    And update Ribon command to use OpenRecord as function name instead of OpenAccountQuickCreate .OpenRecord

    Publish your changes.

    Please check the console from Developer Tool to check for any issue. Also add alert in your code to see if your code is getting executed

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • LCRMAdminG Profile Picture
    335 on at

    Ok Bipin, I'll try this. Should there be a semicolon at the end of the code block though?

  • LCRMAdminG Profile Picture
    335 on at

    I did this and it worked! Thank you so much! It did indeed need the semicolon at the end of the block, but otherwise, executed perfectly. Thank you!!

  • Adelm Profile Picture
    5 on at

    hello

    how can i select a precise quick create form because i have more than one

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Nagaraju_Matta Profile Picture

Nagaraju_Matta 121

#2
ManoVerse Profile Picture

ManoVerse 67 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans