0

How to display Public groups in table format list and in select one public group,then search button clicks need to display table format list the group members in particular public group? anybody help me......

0

You could use this SOQL statement in you controller

Select Id, Name, Type, DeveloperName,RelatedId
From Group
WHERE RelatedId = NULL

0
  1. Select the public groups first.
  2. From the groups selected, select all users that have their Ids in the GroupMember table, where Group ID is in the first query list result.
  3. Display the groups and users.
0

Here is more information about custom list controllers: https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_custom_list_controller.htm

0

I have answered a similar question already.. This might be helpful for you.. Check this question..

visualforce page? - How to display public group users,when i had given group name in search bar need to display the users to particular group name in visualforce page? search bar need to display the users to particular group name in visualforce page? - How to display public group users,when i had given group name in search bar need to display the users to particular group name in visualforce page?

  • My requirement is I want table format for after select the one public group then display the group members in the form of table format First display the all public groups picklist format then we are select one user Now How to display the group members in the form of table format. – Magi102 Oct 30 '15 at 5:11
  • That is what built in the link I shared with you.. There public group is searched from the text search which then later I provided the solution to convert in a picklist with list of public groups available ... – Nishant Singh Panwar Oct 30 '15 at 19:42
  • Explore that code .. I'll post the final code to use picklist instead of search box tomorrow... – Nishant Singh Panwar Oct 30 '15 at 19:43

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.