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
Team WorksTeam Works 

Custom Visual Force Page

Hello Dear All,

I hope you having a good day but i am kind of stuck.

I am currently displaying the User List in a custom VF Page. When i click the Name of the User it should take the user to a Custom Visualforce page where i will display the some user details, and list of his Activities, Accounts, Opportunities. Shall i use the standard User Controller and OR a custom controller. Please Guide me the steps.

Many Thanks

Best Answer chosen by Team Works
Nilesh Jagtap (NJ)Nilesh Jagtap (NJ)
You can make your user name as a clickable link.

You can try somthing like
<apex:commandLink action="/apex/detailpage?userid={!user.id}" value="{!user.name"} id="theCommandLink"/>

If this answers your question, mark this as best answer.
-N.J

All Answers

Nilesh Jagtap (NJ)Nilesh Jagtap (NJ)
You can make your user name as a clickable link.

You can try somthing like
<apex:commandLink action="/apex/detailpage?userid={!user.id}" value="{!user.name"} id="theCommandLink"/>

If this answers your question, mark this as best answer.
-N.J
This was selected as the best answer
Team WorksTeam Works
Hi NJ. Many Thanks
My question is about the visual force page. I cana create the page but how to get the user owned Account,Opportunity records on the page?
Thanks