web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to prefill customer in Quick create form

(0) ShareShare
ReportReport
Posted on by

In Appointment entity I have a relation ship with Customer Application "One Customer application TO many appointments". When a user add cusotmer application from appointment via Quick Create form I want to pre-populate Customer lookup field from appointment yo Customer. 

I dont want to use local storage for that and I think its not possible via relationship mappings either.

I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Furqan,

    One Customer application to many appointments, so Appointment and Customer Application have N:1 relationship, you want to get value from child records to populate parent record.

    Relationship mapping is really not feasible, and you mentioned that you don't want to use local storage.

    From your screenshot, Customer lookup is not required on the quick create form, so you can create Customer Application without populating customer lookup firstly.

    Then you can use workflow/flow to populate it automatically after saving the customer application record

    Because that customer application lookup on appointment will be populated after saving the customer application record, then you can update the record.

  • Furqan Majeed Profile Picture
    on at

    can we achieve it with Javascript ? or a workflow on load ?

  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Furqan,

    Both are available. 

    If you want to keep it simple, workflow is a good choice.

    Create one workflow on Appointment entity, start when record is created or record field(customer application lookup) change.

    Add conditions to check if the customer application query and customer query fields have values.

    Update customer application record with value from appointment.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 77

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 43 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans