Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Script to pass fields to a new record created from lookup "+ new"

(0) ShareShare
ReportReport
Posted on by 1,788

Sorry if these two question have  been answered 100 times already.

a) Map field to Parent record without having saved the child record yet:

I'm on a new Application (custom table) form (not saved yet).

The user already has filled a Lookup Field "Contact" on this new form.

Now there's another lookup field on the Application Form to another custom table "Application Collection", also containing a Contact lookup field. For this we use a Quick Create or Main Dialog form.

If the User now clicks on "+ New Application Collection" in this Lookup, while the underlaying Application form hasn't been saved yet, how can we get the Contact already filled in, to be mapped / filled into the parent Application Collection form? 

b) what is the best method to get this lookup on load of the new ApplicationCollection form assumed the User has already saved the Application form before?

  • Federico Pelliccia Profile Picture
    75 on at
    RE: Script to pass fields to a new record created from lookup "+ new"

    This is a nice question.

    My only actual idea is this one: community.dynamics.com/.../intercept-replace-the-new-button-click-of-lookup-field

    So you can hide the "+ new" button and create a Recommendation Action where you can open a modal passing the attribute from the record to the new window

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 220 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Sahra Profile Picture

Sahra 43

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans