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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Where is the Quick Create: Account form getting its pull-through values from?

(0) ShareShare
ReportReport
Posted on by 30

I have added two custom Contact Lookup fields to the Account class. "Account Manager" and "Customer Contact"

I've added each field to the Quick Create: Account form.

When I click New from the "Account" field on a contact and the Quick Create: Account form loads, I see my two new fields fine, but the Account Manager field is somehow pre-populated with the value I actually want in the Customer Contact field:

QuickCreateAccount.pngpastedimage1589991549824v2.png

I've no idea how I've managed to pull through the Customer Contact from the Contact entity into the Account Entity. I want to do this, but I need to move this pull through to the Customer Contact property.

Anyone help?

Many thanks

John

I have the same question (0)
  • Suggested answer
    Apajove Profile Picture
    30 on at
    RE: Where is the Quick Create: Account form getting its pull-through values from?

    Hao, I am extremely grateful for this very detailed and clear solution. Your initial assumption about Customer Contact being the original PrimaryContact field was spot on. I've done as you suggested and it works PERFECTLY. First time!

    Very generous of you to spend the time on this for me. Thank you very much indeed.

  • Verified answer
    LuHao Profile Picture
    40,890 on at
    RE: Where is the Quick Create: Account form getting its pull-through values from?

    Hi Apajove,

    If "Account Manager" and "Customer Contact" are custom fields, then when we click New in the Account field in the Contact form, both "Account Manager" and "Customer Contact" should contain data. This is by design and cannot be changed.

    pastedimage1590046481650v1.png        pastedimage1590046497894v2.png

    The reason why it cannot be changed is that the mappings in these two custom 1: N relationships cannot be deleted.

    pastedimage1590046615031v3.png        pastedimage1590046646981v4.png

    Therefore, if "Account Manager" and "Customer Contact" are custom fields, then both should contain data in the Quick Create form, not just "Account Manager".

    In summary, I guess "Account Manager" is a custom field, but "Customer Contact" is actually the original "Primary Contact" field.

    When an Account is created from the Contact form, the "Primary Contact" is empty, again by design, and cannot be changed.

    pastedimage1590046896639v5.png

    To verify whether this idea is correct, we only need to check whether the name of "Customer Contact" is primarycontactid.

    pastedimage1590047670545v6.png


    If the above ideas are correct, then to make "Customer Contact" contain data and "Account Manager" empty, we need to do two steps.

    Step 1. New a custom Contact lookup field "Customer Contact" instead using "Primary Contact" field.

    Step 2. Create a Javascript OnLoad event for "Account Manager" in the Quick Create form to clear this field.

    function hidevalue() {
    
        Xrm.Page.getAttribute("new_accountmanager").setValue(null);
               
    }

    pastedimage1590051223239v3.png

    pastedimage1590051171419v1.png

    pastedimage1590051208709v2.png

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Where is the Quick Create: Account form getting its pull-through values from?

    Hi,

    Please check your field mappings.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 225

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 129 Super User 2025 Season 2

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 123

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans