function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ravi surapatiravi surapati 

hi friends.. if i am creating a two profiles for example doctor and patient..if doctor opens his profile he can able to see patients profile ..sameway patient can also view same..can you say how to do that

Deepak agarwal 9Deepak agarwal 9
Hi Surapati,

What exactly are the profiles of both.

Deepak Agarwal.
ravi surapatiravi surapati
i mean there need a simple relation between those ..i am having doctor tab and patient tab..for that if doctor login to his page he can able to view patients profile,,how..?
Deepak agarwal 9Deepak agarwal 9
Because doctor is upper in the role hirarechy.Go to roles from setup to see this.Thats why he is able to see patients data.
If you want that not to happen you can change this from profiles.
Ashley Wagner 7Ashley Wagner 7

Hi Ravi!
Are you wanting to see all associated Patient Profiles(Records) on the Doctors Page when he logs in? If so, try creating a Master-detail relationship on the Patient Object Looking up the Doctor Object. Then go to the Doctor Page Layout, Edit, then select the related List, Save. THen all patient records will show up under that doctor. Please let me know if this works!

Thank you,

Ashley Wagner