Standard Peoples Tab in Salesforce Communities :
In the standard people tab under the community, we can search the users but we cannot add additional fields to the search criteria or add more fields to search results. So we cannot identify the user if there are users with the same names until we click on the user link and check for the other fields like email, title etc and again back to the tab. This does not create a good user experience. Also the standard tab does not allow users to search for fields other than name.
Custom Salesforce Communities :
We have created the customized people’s tab where we can see all our users with the columns which should be needed to distinguish it from other users.
We can also search the users by our own criteria like by name, location, title etc.
We have to just select the criteria and enter any relevant text into the input text and it will show the records according to the text entered.
We can also re-search the users quickly by clearing the old search criteria by simply clicking on the Clear button.
Implementation Components :
- Visualforce page to display the functionality
- Apex Controller for the Visualforce page
- Test Case for the Apex Controller
- Communities Tab for the Visualforce page
The key things that can cover by this customized People tab are as follows:
- We can see either all the users or even search the particular users using keywords.
- We can distinguish users from others easily as we have different columns being displayed under the results.
- We can quickly search and re-search users because of the clear functionality, it can clear the results and ready to re-search again by clicking on one button only.