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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer Service forum

JavaScript to populate customer lookup with the associated contacts account in an incident.

(0) ShareShare
ReportReport
Posted on by

Can anyone help me with a JavaScript example on how I can populate the customer lookup field, with the associated contacts (that which I have entered into the Contact lookup field) 'Account Name' with in the same incident form on create.


New Incident (Case)

User populates Contact Lookup = Fred Blogs

JavaScript then populates:

Customer = with Fred Blogs Account Name

Categories:
I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    you can set the customer field value as it is described here: community.dynamics.com/.../javascript-set-lookup-details

    by the way the entity types is contact in your case.

    Your post is a duplicate of community.dynamics.com/.../715418

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans