Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

open a quick create form from a lookup field in entity form

(0) ShareShare
ReportReport
Posted on by

Hello,
I need to know how to set which form to open when we click on the +New button in lookup fields in an entity form in microsoft dynamics crm.And is it possible that we can populate quick create form fields based on a form field ,on which the lookup field from which the quick create form was opened, is present?

*This post is locked for comments

  • RE: open a quick create form from a lookup field in entity form

    I got the solution for opening quick create form.
    We can set it by setting the following properties to the lookup field.
    document.getElementById("lookupfieldname").setAttribute("entitylogicalname", "nameofentityyouwanttoset");
    document.getElementById("lookupfieldname").setAttribute("entitytypecode", "codeforthatentity");  

    But I need to know that is it possible that we can populate quick create form fields based on a form field of the form on which the lookup field,from which the quick create form was opened, is present?

  • Suggested answer
    shivaram Profile Picture
    shivaram 3,315 on at
    RE: open a quick create form from a lookup field in entity form

    Hi Ripal,

    According to CRM quick create form you create one record in that entity.So according to my knowledge it will not allows.So please go to customization and check your Quick create form once.

  • RE: open a quick create form from a lookup field in entity form

    I agree but I have two fields(Account and Contact) on my form which are having the +New button.But each one opens the same quick create form(Contact)..It should open two different forms depending on from where it is opened.How to configure that?

    And my next question states that if I open a quick create form by the +New button can I populate its fields from the fields of the form,from where the quick create form was opened?

  • Suggested answer
    shivaram Profile Picture
    shivaram 3,315 on at
    RE: open a quick create form from a lookup field in entity form

    Hi Ripal,

    "I need to know how to set which form to open when we click on the +New button in lookup fields in an entity form in microsoft dynamics crm."

    For this, Actually you can't set which form to open while clicking +New button.But you can create your custom quick create form.

    "And is it possible that we can populate quick create form fields based on a form field "

    I am sorry I didn't get this.

  • RE: open a quick create form from a lookup field in entity form

    I am talking about the 2nd button.But i have two fields in opportunity form relating to 2 entities which can be either account or contact.So if i click on new button on those fields it opens the same quick create form both the time.  i need to change the default behaviour ..Is it possible?

  • Suggested answer
    Hugo Silva Profile Picture
    Hugo Silva 1,374 on at
    RE: open a quick create form from a lookup field in entity form

    Hi Ripal,

    What button you want to change? (see image)

    buttonplus.png

    For button 1 if you want something like this check here:

    ribbonworkbench.uservoice.com/.../489288-show-or-hide-the-add-new-button-on-form-sub-grid

    For button 2 its automatic as soon you create the related entitie.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,401 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans