web
You’re offline. This is a read only version of the page.
close
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?

I have the same question (0)
  • Federico Pelliccia Profile Picture
    75 on at

    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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans