We're considering deleting some public groups, but we need to know all the different areas that the groups my "touch". So far, here's the list I've come up with:

Sharing Rules
Record Sharing
List Views
Other Public Groups (nested)
Report Folders access
Document Folder access
Library sharing

What am I missing?

1 Answer 1


You need to do a code search for them as well, as they can be referenced in Apex. Best practice is to query for them by DeveloperName because it is unique, but it would be wise to also look for reference to Name. Any such references would need to be wrapped in single quotes, so you would do a global search on 'My_Group_DeveloperName', for example.

  • @sfdcfox I don't follow. Perhaps that should be a separate answer?
    – Adrian Larson
    Commented Mar 10, 2016 at 0:24
  • 1
    I think that a single, complete answer that contains everything would be more beneficial, in this case, than several competing answers, all of which are only partially correct or contain otherwise redundant data. For example, I'd be compelled to say "code + calendar", then if someone came up with something else, they'd say "code + calendar + ..." I guess we should probably ask on meta to make sure.
    – sfdcfox
    Commented Mar 10, 2016 at 0:27
  • @sfdcfox This is now a community wiki. Please add your vast knowledge. :) Thanks!
    – Adrian Larson
    Commented Mar 10, 2016 at 14:49
  • I wonder - can you actually delete a public group that's still in use? Shouldn't it display the usage when you try to delete it?
    – Semmel
    Commented Jun 11 at 13:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .