Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Open Quick create on view + New button

(0) ShareShare
ReportReport
Posted on by 1,023

Hi,

In UCI, I would like to open the Quick create form on click on the + New button from any entity view. Please advise how this can be achieved. 

Enabling the quick create at entiry diesnt seem to open in the above case.

Thanks.

  • Suggested answer
    ACECORP Profile Picture
    1,589 on at
    RE: Open Quick create on view + New button

    I built a solution that does what you are looking to do. 

    Steps 1, 2, 3, and 4 are the components of that solution along with code snippets that open the form in Quick Create Mode or in Normal Mode. 

    1. First, you need to enable quick create on the entity. 
    2. Then, you have to create two sets of buttons via Ribbon Workbench: (a) New {0} Quick Create , and (b) New {0}
    3. Now, hide the original New {0} button. 
    4. Next, in the New {0} Quick Create button's code, you will need to place custom javascript that Opens a new form in quick create mode, like what is shown below. 

    var entityOptions = {};
    entityOptions["entityName"] = "account";            
    entityOptions["useQuickCreateForm"] = true;
     
    var formParameters = {};
    formParameters["name"] = "Test account";
     
    Xrm.Navigation.openForm(entityOptions, formParameters).then(
                    function (lookup) { console.log("Success"); },
                    function (error) { console.log("Error"); }
                                                 );
    

           5. Next,  in the  New {0} button's code, you will need to place custom javascript that opens a new form in regular mode (not quick create), like what is shown below. 

    var entityOptions = {};
    entityOptions["entityName"] = "account";            
    entityOptions["useQuickCreateForm"] = false;
     
    var formParameters = {};
    formParameters["name"] = "Test account";
     
    Xrm.Navigation.openForm(entityOptions, formParameters).then(
                    function (lookup) { console.log("Success"); },
                    function (error) { console.log("Error"); }
                                                 );
    

    You can also hide and expose these buttons as needed with visibility rules from within Ribbon Workbench. 

  • Suggested answer
    Kenny Vaes Profile Picture
    345 on at
    RE: Open Quick create on view + New button

    The platform will show the quick create only if the quick create is enabled on the entity AND if the parent entity in whos context you are creating the entity is a required field on the entity.

    So make sure your lookup field is a required field and the quick create form should appear.

  • Suggested answer
    H V Profile Picture
    351 on at
    RE: Open Quick create on view + New button

    Hi, 

    You need to customize the NEW button from the ribbon. You should add below code on click of NEW button in COMMAND in RIBBON. 

    function openQuickCreateForm() 

    {

    var params = {};
    
     Xrm.Utility.openQuickCreate("contact", null, params).then(function () { console.log("Success"); }, function (error) {
        console.log(error.message);
     });

    }
  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Open Quick create on view + New button

    Hi,

    Have you tried enabling Allow quick Create checkboox on entity under settings->customization->customize the system->Entity ?

    Let us know your result

    If found helpful, Please mark my answer verified.

  • Suggested answer
    AJ-22040756-0 Profile Picture
    on at
    RE: Open Quick create on view + New button

    Hi Partner

    Same steps should work even while accessing quick create  form  from home grid as well

  • yify Profile Picture
    1,023 on at
    RE: Open Quick create on view + New button

    Hi Akash,

    My requirement is to open it from the home grid of the + New button ( for ex: when you open a contact view, there is a + new button. When I click that Quick create should open). But the above step shows enabling ay navigation level.

    Thanks)

  • AJ-22040756-0 Profile Picture
    on at
    RE: Open Quick create on view + New button

    Hi Partner,

    Hope you are doing good.

    I am sure you must have tried following these step, it would be great if you can verify the same

    I just tried for Lead entity in Customer service Hub App and it works well, Steps I performed are mentioned here for reference:

    1. Navigate to Customization Customize the System and look for Lead entity and check if "Allow quick create" is checked

    pastedimage1592029550201v1.png

    2. Check in the forms if the "Quick create" form Exist in the Entity you are trying to add

    pastedimage1592029634572v2.png

    3. Add this entity in Model driven App  which you are trying to access, for example I am verifying in Customer service Hub APP 

     to Add it in model driven App -> Navigate to Customization -> Customize the system -> Model driven App and select the required APP

    Once the App designer is open, Click on Entities and Select the required entity and from the Ellipses (i.e. Three dots) next to entity select all required assets

    pastedimage1592029948894v3.png

    4 Once you select the entity, you should save the changes and Publish the same 

    pastedimage1592030064102v4.png

     

    5. Once the changes are saved and Publish, verify in app designer if you are able to see the lead entity in the list on left side and Quick create form is checked as in screenshot

    pastedimage1592030251566v6.png

    6. Once you have this in place just close the App designer, Refresh the browser or logout and Login 

    7. Post refresh login, you should be able to see the Lead in quick create and this will open the quick create form

    pastedimage1592030384718v7.png

  • yify Profile Picture
    1,023 on at
    RE: Open Quick create on view + New button

    Bipin, the entity is already added in the model driven app. From the entity VIEW when I click on + New button, then it needs to show Quick create form but it is not showing. Please advise.

    Thanks.

  • Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Open Quick create on view + New button

    Hi,

    The trick to show quick create form when user click on +button is you need to add Entity in Model driven app.

    Add entity in your App from app designer. It will work.

    If found helpful, Please mark my answer verified.

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
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 99

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans