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
EWilsonEWilson 

Split a Contact record across two custom Visualforce tabs for logged-in user

Hi,

I have a staff contact record type which has a lookup field to their user record / profile.
On this contact record, it contains fields detailing personal staff information on their role and team.
Below this information, this contact record also contains multiple related lists where they are connected to other custom object records.

What I am trying to achieve is to create two custom visualforce tabs to split the contact record view: "My Profile" and "My Records"
My Profile tab would take the logged in user's contact record as input and display only the fields, NOT the related lists
My Records tab would display all the related lists on the logged in user's contact record and NOT their personal information contained in the fields.

Is anyone able to provide an outline of how I could go about achieving this?   

Any help or suggestions would be seriously appreciated. Many thanks.
July 1, 2018 · Like0 · Dislike0 · FlagBest Answer