+ Start a Discussion

how do i add (multi select) picklist for permission set

HI team, As we know that we have dynamic pciklist for permission set by using apex coding. But same thing i was trying add (multi select) picklist for permission set, so how can i achieve this funtionality.i have given below example for dynamic picklist for permission set.So please let me know the solution with best example. public List getItems() { options.add(new selectOption('--Choose PermissionSet--')); for(PermissionSet name:[select Name from PermissionSet where is OwnedByProfile=false order by Name] ) { options.add(new selectOption(name.id,name.Name)); } } Thanks!