Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Lookup field "+" New Record in Popup Modal

Posted on by 20

Hello,

I've added a lookup field to a form that looks up Candidates from a Candidates Entity.   When a Candidate does not exist in the Entity I would like to make the "+" button at the bottom of the lookup field open a popup modal form to open a new Candidate.  Is this possible?

Thanks for any assistance you can provide.

  • ___Pool___ Profile Picture
    ___Pool___ 182 on at
    RE: Lookup field "+" New Record in Popup Modal

    Hello Leo, I am facing a similar problem for which the quick create is not a viable solution due to the fact that our users on the +NewEntity form use a custom ribbon (custom js) to fill some of the fields of the record we are creating.

    In the standard ui a popup with the complete form to create the new entity is displayed, so the custom button is available, furthermore once created the new record is automatically filled on the lookup. Do you know if it is planned a release with a similar behaviour?

    In the Unified Interface if you drive your users to use the CRTL + shortcut (which is an unfriendly approach for most of the common user), after you create the record when you go back at the form the new created entity is not automatically filled in the field, more clicks that cause complaints

  • Suggested answer
    LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Lookup field "+" New Record in Popup Modal

    Hi partner,

    Unfortunately, this + button in look up field is by design.

    You could disable the quick create for the entity first, and then click "Ctrl" on your keyboard and click the "+" button in lookup field,  this will open the new create form in a new tab in browser.

    pastedimage1590127879292v1.png

    pastedimage1590127896121v2.png

    Regards,

    Leo

  • DaxjKent Profile Picture
    DaxjKent 20 on at
    RE: Lookup field "+" New Record in Popup Modal

    Thanks Leo,  I was hoping to use some of the PopUp Modal windows features I have been reading about so I could have our full Main form with tabs popup instead of a limited QuickCreate form.

    Is there a way to attach a javascript function to the "+" button to use the

    Xrm.Navigation.navigateTo(pageInput,navigationOptions).then(successCallback,errorCallback);  function?

    Thanks again.

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Lookup field "+" New Record in Popup Modal

    Hi partner,

    It is possible in D365. Actually it is by design for lookup field.

    For example, I did not find the contact I want in D365 and I want to create a new contact when I choose primary contact in account form, there will be a "+" button in look up field.

    pastedimage1589857360295v1.png

    Since your "Candidate" should be a custom entity, so if you click on the "+" button, D365 will open a new complete candidate form instead. If you don't want such a big form, you could enable "Quick Create" in Candidate entity properties.

    pastedimage1589857524139v2.png

    Then if you click the "+" ribbon again, there will be a smaller form.

    pastedimage1589857583820v3.png

    And you could configure the fields show on the quick create form in form editor.

    pastedimage1589857664438v4.png

    Here are some documents for your reference.

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/create-edit-quick-create-forms

    https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/create-edit-quick-create-forms

    Best Regards,

    Leo

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans