Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

JavaScript open "quick create" form

Posted on by Microsoft Employee

Hello.

Does anyone know, how can I open "quick create" form using JS?

I want to create button on form, and when user click that button CRM should open "quick create" form.

Is it possible to do that?

*This post is locked for comments

  • Syed_Faisal Profile Picture
    Syed_Faisal 815 on at
    RE: JavaScript open "quick create" form

    Hi Syed,

    Could you please send the link how to create Rest endpoints and js

  • Verified answer
    Alagunellaikumar Profile Picture
    Alagunellaikumar 6,210 on at
    RE: JavaScript open "quick create" form

    HI

    For Microsoft Dynamics CRM Online 2015 Update 1 or later use this function

    Xrm.Utility.openQuickCreate(entityLogicalName,createFromEntity,parameters).then(successCallback, errorCallback);

    Please refer MSDN Site

    msdn.microsoft.com/.../jj602956.aspx

  • Verified answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: JavaScript open "quick create" form

    Hi Sergii,

    You can create button which opens a quick view form using javascript.

    Please refer the blog below.

    neilparkhurst.com/.../open-quick-create-or-entity-forms-from-javascript

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: JavaScript open "quick create" form

    Hi Sergii,

    Since crm 2015 update 1 a new function has been introduced to open quick create form though javascript. Below is the syntax:

    Xrm.Utility.openQuickCreate(entityLogicalName,createFromEntity,parameters).then(successCallback, errorCallback);

    For parameters you cna refer to below link:

    msdn.microsoft.com/.../jj602956.aspx

    You can create a custom button through tools like Ribbon workbench and add this function to a webresource. This webresource can be set as Action to your custom button.

  • Verified answer
    spavithracse Profile Picture
    spavithracse 145 on at
    RE: JavaScript open "quick create" form

    Yes, Possible. Refer the following link

    neilparkhurst.com/.../open-quick-create-or-entity-forms-from-javascript

  • SyedHussain Profile Picture
    SyedHussain 1,820 on at
    RE: JavaScript open "quick create" form

    You can create a form in HTML with your fields as a web resource, and create a record using REST endpoints and JS. It's very easy. I have found this approach better than using the default Quick Create method.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: JavaScript open "quick create" form

    hi. not yet... (

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: JavaScript open "quick create" form

    I'm looking to do the same thing, did you figure it out?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans