Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Populate quick create with parent form

Posted on by 1,065

Hi all,

In a custom entity Form, I have a a subrid on which I can create and associate records. When the "+" of the subgrid is clicked, the Quick Create form of the related entity shows up and then you can populate the required fields to create a new record. However, I have a requirement on which I need to prepopulate some fields in the Quick Create form with some of the values of the primary entity. Which would be the best solution for this? I have a couple of ideas but not sure if they are the best, so suggestions will be very appretiated.

Thanks in advance!

*This post is locked for comments

  • Mostafaali93 Profile Picture
    Mostafaali93 10 on at
    RE: Populate quick create with parent form

    Can you send this link again as it is not working with me

  • Rizwan Aarif Profile Picture
    Rizwan Aarif 480 on at
    RE: Populate quick create with parent form

    Hi,

    I have a different requirement next to this.

    I need to get the value of the field (via Js) which is being prepopulated.

    I tried capturing it on on_load of form (quick create from) and on_change of field (in quick create form) but I am getting a null.

    Any way around?

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Populate quick create with parent form

    Hi,

    If you are creating record from parents record, Arun's suggestion would be the easiest in this case. But, as we know user also can create record using quick create from main page. So, if user wanted the same functionality, you have to consider this as well. You can achieve via below method.

    1. JS-webapi

    2. Workflow.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Populate quick create with parent form

    As mentioned above, the best way is to create mapping between the parent & child record.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Populate quick create with parent form

    Hi Enrique,

    Agreed with Arun create a mapping between parent entity  and related  entity  which will work for you.

  • Verified answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: Populate quick create with parent form

    You can achieve this with zero code by using OOB field mappings between entity relationships.

    blog.fullscope.com/.../save-time-entering-data-into-crm-by-mapping-fields-between-records

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