sfdc-happy-soup icon indicating copy to clipboard operation
sfdc-happy-soup copied to clipboard

Could Impact Analysis include Public Groups?

Open godfroy316 opened this issue 3 years ago • 6 comments

Ability to see public group sharing usage related to things like list views, report folders, etc would be awesome!

godfroy316 avatar Jul 16 '21 19:07 godfroy316

Hi @godfroy316 ,

Thanks for reaching out! Can you please expand on your use case? List views and report folders are not available in HappySoup at the moment so I'm curious what your scenario is.

Also, to thank you for reaching out, I'm giving you the exclusive link to HappySoup 2.0 BETA https://happysoup2-beta.herokuapp.com/

pgonzaleznetwork avatar Jul 17 '21 08:07 pgonzaleznetwork

Hi @pgonzaleznetwork, @godfroy316 is on my team. He's referring to similar functionality of the Where Is It Used button, but on Public Groups. Please this idea posted on the ideaexchange - https://trailblazer.salesforce.com/ideaView?id=08730000000BrQjAAK

It would be AMAZING if we could find all the places a Public Group is used using Happy Soup.

jamienrogers222 avatar Aug 09 '21 14:08 jamienrogers222

@jamienrogers222 Thanks for the added info. This is indeed a great idea, I'll look into it!

pgonzaleznetwork avatar Aug 09 '21 14:08 pgonzaleznetwork

Yes! Thank you @jamienrogers222 and @pgonzaleznetwork! Apologies for not following up with this.

godfroy316 avatar Aug 09 '21 19:08 godfroy316

From my surface level research, it doesn't look like the Metadata dependency API supports this yet. But you might be able to gleam usages by doing the following:

  • Querying share records for that group ID
  • Simple file search across your git repositories holding your metadata (if you have your list views / reports pulled into source, this may cover it.)

zerkz avatar Aug 23 '21 00:08 zerkz

Thank you @zerkz ! I suspected this wasn't available via the dependency API as support is generally limited. You are right, I would have to query records for that public group, and also the SharingRule object to show specific rules https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sharingrules.htm

pgonzaleznetwork avatar Aug 23 '21 08:08 pgonzaleznetwork