I have two SharePoint Lists Departments
and Users
in SharePoint Online. Users list have lookup of Department Title.
I want to add List View of Users
to Display Form (DispForm.aspx) of Departments
. So that when I click on any department then below the display form, it will display users of that department. I have successfully implemented it manually.
Now I want to make connection between both webparts using any client side solution available (CSOM C#, Powershell, JSOM) for SharePoint Online. How to achieve this ?