This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Salesforce

How to Query Public Groups in Salesforce

Updated on:
May 25, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to find and extract Public Groups using SOQL in Salesforce.

Quick summary

This demo shows how to query Public Groups in Salesforce using the Salesforce Inspector browser extension and a simple SOQL query targeting the Group object. Admins and developers can use this method to quickly retrieve Public Group data without navigating through Setup menus.


Steps

  1. Open Salesforce Inspector from the right side panel of your browser.
  2. Select 'Data Export' from the Salesforce Inspector menu.
  3. In the new window that opens, enter your SOQL query: type SELECT <input field> FROM Group WHERE Type = 'Regular' — this is the basic template for querying Public Groups. Modify the fields to match your needs.
  4. Click 'Run Export' and Salesforce will extract and display the results.

📌 Why this matters

Querying Public Groups in Salesforce is a common need for admins managing sharing rules, permission sets, and user access at scale. Using Salesforce Inspector with SOQL gives teams a fast, code-light way to retrieve Public Group data directly — no manual Setup navigation required. This approach saves time during audits, org cleanups, and permission reviews. It's an essential technique for any Salesforce administrator or developer maintaining org hygiene and access control.
Your product deserves an interactive demo
Start free
Similar Articles
Salesforce

How to Use Salesforce Inspector Reloaded

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How to Share Dashboards in Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How to Send Mass Emails in Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Events & webinars
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it