Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Automatically get Parent Account Data in Contact Quick Create

(0) ShareShare
ReportReport
Posted on by 552

Hi together,

I've given a task that I can't solve and maybe somebody can help me....

So, when a client wants to create an opportunity and he wants to quick create a contact, who he needs,
the fields should be automatically filled out with the data (street, city, country, etc) of the parent account of the contact when chosen in the contact form (field Account Name).

Does anybody has an idea how to solve this problem?

Many thanks in advance and best regards

Mick

*This post is locked for comments

  • Mick_4711 Profile Picture
    552 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    Hi Wei,

    I have decided to write a small script to get data from the parent account for contact and lead (both forms - normal and quick create).

    That works fine, because the users see the changes directly.

    But of course and once again: thanks for your help!

  • Mick_4711 Profile Picture
    552 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    Unbelievable, Wei!

    Many many thx!

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    Hi,

    I've made a short video for you to reference.

    https://youtu.be/BqC2lUFVCAQ

  • Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    Hi,

    If you are using workflow, the result only show up when the record is saved.

  • Mick_4711 Profile Picture
    552 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    Hey Mahender,

    thx very much. I'm gonna try this.

  • Mick_4711 Profile Picture
    552 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    Hi Shidin,

    We still use the 8.2 Version.

  • Mick_4711 Profile Picture
    552 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    Hi Wei,

    Thanks for your answer.

    I tried this workflow yesterday, but this didn't work unfortunately.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    Hi,

    You can create a workflow to do so that if you do not want any code involved. But of course, it needs to wait until user click save.

    3056.29.png

  • Suggested answer
    Shidin Haridas Profile Picture
    3,497 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    Do check out the link shared by Clement and Mahen.

    Since you are on CRM 9.0, avoid using the Xrm.Page methods and use the 'getFormContext' methods as the former is going to be depreciated.

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/clientapi-form-context

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: Automatically get Parent Account Data in Contact Quick Create

    In addition to that you can look sample code here http://himbap.com/blog/?p=2874

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 > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans