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 experience | Sales, Customer Insights,...
Suggested Answer

Creating custom view using javascript from 3 tables(Case->Account->Contact)

(0) ShareShare
ReportReport
Posted on by 36

Hello Dynamics Experts,

Can you please provide me help in creating custom view using JavaScript/webapi from 3 tables(Case->Account->Contact)

Requirement:

1) When an user opens CASE form there will be an account field lookup.

2) On hand side of the case form there will be a custom view.

3) In that contact custom view want to display linked contact related to Case -> Account to be displayed in Contact custom on CASE form.

Requirements.jpg

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I believe you can use suggestion 1 from this article - butenko.pro/.../

  • CCDEV Profile Picture
    36 on at

    Hi Andrew,

    Have implemented your suggestion, but still can't see the contact related to account on Case Form

    empty.jpg

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I'm sorry but "it doesn't work" screenshot won't help.

    Can you please provide a step-by-step description of what you did - "I did everything you wrote in your post" is not a good description of steps.

  • CCDEV Profile Picture
    36 on at

    Steps Followed:

    1) From Classic solution explorer navigated to the account and created a new “Quick View” form. Placed the grid of CONTACT to it, save and publish the form

    pastedimage1669824322160v1.png

    0042.Account.jpg

    2) Opened the “Case” form and add a “Quick View” form to it:

    4478.Case.jpg

    3) Now its should display account related contact from opened CASE form, but it was displaying account

    Error-Form.jpg

    [quote user="Andrew Butenko"]

    I'm sorry but "it doesn't work" screenshot won't help.

    Can you please provide a step-by-step description of what you did - "I did everything you wrote in your post" is not a good description of steps.

    [/quote]
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    So I see 2 things you should take a look:

    pastedimage1669825316411v1.png

    I believe in this case if you want to see all the contacts (and not only those that the current user owns) the view should be "Active Contacts".

    pastedimage1669825418060v2.png

    It seems that in a "Quick View" selector you selected not the form you designed.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 189 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
11manish Profile Picture

11manish 76

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans