Sub topic 12
Edition limits, permissions and governance
This chapter covers the limits and permissions that decide whether a dashboard design works in your org. It also covers the habits that keep dashboards manageable as their number grows. It assumes you can build a dashboard, set a running user, and share a folder, as covered in earlier chapters. It also assumes you can open Setup and read a permission set.
Why governance matters for dashboards
A dashboard shows data through its running user. The running user's access, not the viewer's, decides what appears on a static dashboard. That makes three questions important:
- Which dashboards can your edition support, especially dynamic ones?
- Which users hold the permissions to create, change, schedule, or re-point a dashboard?
- Who owns each dashboard and its folder when people leave or change roles?
Governance means answering these before the dashboards pile up, not after.
Edition limits
Salesforce limits how many dynamic dashboards an org can have. The count depends on the edition. Dynamic dashboards are not available in every edition. The figures below are the commonly documented defaults. Salesforce changes limits over time, so check Salesforce Help for your org's current numbers.
| Edition | Dynamic dashboards (typical default) |
|---|---|
| Enterprise | 5 |
| Unlimited and Performance | 10 |
| Developer | 3 |
| Professional | Not included |
Other limits shape the design of any dashboard, static or dynamic:
- A dashboard holds up to 20 components.
- A dashboard can have up to 3 dashboard filters.
- Each dashboard filter can have up to 50 filter values.
- Each component reads from one source report. If you need more data, build more reports or reuse reports with different groupings.
The dynamic dashboard limit is the one that causes surprises. It counts dashboards, not viewers. One dynamic dashboard serves any number of users, so five dynamic dashboards can cover a whole sales organization if you plan them well.
Planning within the dynamic dashboard limit
Spend dynamic dashboards on content where each viewer needs their own data. Examples are "My open pipeline" and "My cases by status".
Use static dashboards for shared views. A leadership dashboard that everyone should see identically does not need to be dynamic. Give it a specified running user with the right visibility.
Consider consolidating. One dynamic dashboard with a dashboard filter often replaces several near-identical copies.
Also consider the "view dashboard as" option on dynamic dashboards. Managers with the right permission can view the dashboard as a subordinate, so you do not need separate manager copies.
Permissions that control dashboards
Dashboard access is split across user permissions, folder access, and record visibility. Missing any one of the three produces a failure, so treat them as separate checks.
| Permission | What it allows |
|---|---|
| Run Reports | Run reports, which dashboards depend on |
| Create and Customize Dashboards | Create dashboards and edit those in folders the user can edit |
| Edit My Dashboards | Edit dashboards the user owns |
| Manage Dynamic Dashboards | Create and edit dynamic dashboards (the "run as logged-in user" setting) |
| Manage Dashboards in Public Folders | Edit and delete dashboards in public folders, including dashboards owned by others |
| Schedule Dashboards | Set up scheduled refreshes |
Permission names and bundling differ slightly between releases and between profiles and permission sets. Confirm the exact names in your org's Setup.
Three points are easy to miss:
- Permissions are not folder access. A user with Create and Customize Dashboards still cannot save into a folder where they have only Viewer access.
- Folder access is not data access. A viewer who can open a folder sees the dashboard shell. The data comes from the running user, or from the viewer for a dynamic dashboard. If the viewer cannot see the underlying report folder, a static dashboard still renders, because the running user's access is what counts. Editing the components is a different matter, and it requires access to the source reports.
- A specified running user can expose data. If a static dashboard runs as an administrator, every viewer sees administrator-level numbers. Pick a running user whose visibility matches what the audience should see.
Choosing running users safely
Follow these rules:
- Use the narrowest running user that still shows the required data. A role-based or integration-style user is better than a system administrator.
- Do not use a personal account as the running user for a shared dashboard. When that person is deactivated or changes role, the dashboard breaks or shows different numbers.
- Prefer a dedicated user for each audience, such as "Sales Dashboard Runner", with a role and sharing access that match the audience.
- Document the choice in the dashboard description.
Folder governance
Folders are the main place to apply governance, because access is set once and applies to everything inside.
- Use access levels deliberately: Viewer for consumers, Editor for authors, Manager for owners.
- Give folder Manager access to a small group, not to everyone on the team.
- Share with roles, groups, or permission-based audiences instead of individual users where possible. Individual shares do not survive reorganizations well.
- Keep dashboard folders and report folders consistent. A dashboard that points to reports in a private folder is hard to maintain, because other editors cannot open its sources.
- Keep personal work out of shared folders. Test dashboards belong in a private folder until they are reviewed.
A simple naming scheme helps audits. For example, use a prefix by function (Sales -, Service -) and a suffix for dynamic dashboards ((My View)). The name then tells people what kind of dashboard it is before they open it.
Auditing with SOQL
The Dashboard object exposes the running user type, so you can check your dynamic dashboard usage against your edition limit directly. Run these queries in the Developer Console Query Editor, Workbench, or the Salesforce CLI.
Count dashboards by running user type:
SELECT Type, COUNT(Id) total
FROM Dashboard
GROUP BY TypeThe LoggedInUser row is your dynamic dashboard count. Compare it with your edition's limit. Other values include SpecifiedUser and MyTeamUser.
List the dynamic dashboards so you can review whether each one still needs to be dynamic:
SELECT Id, Title, DeveloperName, FolderName, Type, RunningUserId
FROM Dashboard
WHERE Type = 'LoggedInUser'The same check works from the command line. This example assumes the Salesforce CLI is installed and an org alias named prod is authorized:
sf data query \
--query "SELECT Type, COUNT(Id) total FROM Dashboard GROUP BY Type" \
--target-org prodFor static dashboards, RunningUserId shows which user each one runs as. Group or sort the results to find dashboards that share one personal account. Cross-check those user IDs against the User object to find inactive users.
Governance routines
A light routine prevents most dashboard problems. These steps work for most orgs:
- Quarterly dynamic dashboard review. Run the count query and list query. Retire or merge dashboards nobody opens.
- Running user check. After each user deactivation or role change, search for dashboards that run as that user. Reassign them.
- Folder access review. Look for folders shared with "All Internal Users" at Editor or Manager level. That setting is rarely intended.
- Change control for shared dashboards. Edit a copy in a private folder and replace the original only after review. Sandboxes are useful for larger changes.
- Sandbox testing for permissions. Create a test user with the same profile and permission sets as a typical viewer, and open the dashboard as that user.
Common mistakes
- Creating a dynamic dashboard for every team, then hitting the limit. Use filters and consolidate first.
- Using an administrator as the running user for a convenient static dashboard, and exposing sensitive records to every viewer.
- Assuming that granting "Create and Customize Dashboards" lets someone edit any dashboard. Folder access still applies.
- Leaving a deactivated user as the running user. The dashboard stops showing correct data.
- Expecting a dynamic dashboard to be refreshed on a schedule. Dynamic dashboards show data for the user who opens them, so there is no single run to schedule. Refresh options are covered in the refresh chapter.
Exercise
A query of SELECT Type, COUNT(Id) total FROM Dashboard GROUP BY Type returns LoggedInUser = 5 in an Enterprise Edition org, and a team asks for a sixth dynamic dashboard. Name two options that avoid exceeding the limit.
Show answer
Merge the request into an existing dynamic dashboard by adding a dashboard filter or extra components, or retire an unused dynamic dashboard found with the list query. A third option is to make the new dashboard static with a specified running user, if viewers do not need their own data.
Exercise
A user has the Create and Customize Dashboards permission, but cannot save a new dashboard to the "Executive" folder. What is the most likely cause, and where do you fix it?
Show answer
The user has only Viewer access to the folder. User permissions and folder access are separate checks. Fix it by sharing the folder with the user (or their role or group) at Editor or Manager level, through the folder's Share option.
Exercise
Why is a personal user account a poor choice as the running user of a shared static dashboard?
Show answer
The dashboard shows that person's data visibility. If the person is deactivated or changes role, the dashboard breaks or shows different numbers for everyone. A dedicated user with a role matching the audience is safer and easier to maintain.