I am new to VF Pages. I would like to build a VF page which has list views based on the user profile that logs in(existing list views).

In the list view if user clicks on a record i should be able to show the Custom object related lists.

For example i want my page to look like:

<apex:page standardController="myObject__c">
<apex:enhancedList type="myObject__c"> (This list view is based on user profile)
(On click of record in above list view show below)
<apex:relatedList list="myObject__r"/>

Please give me some ideas on how to acomplish this.

  • your question is not clear and secondly put the logic in the code which you are trying to achieve – Santanu Boral Apr 27 '17 at 19:13
  • @SantanuBoral : In a vf page, on click of record in enhanced list view, it has to display related lists details associated with that object. I wanted to know how it can be doen in salesofrce. – user43192 Apr 28 '17 at 13:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.