当前位置:网站首页>Salesforce Dynamic Dashboard动态报表、限制与解决方案
Salesforce Dynamic Dashboard动态报表、限制与解决方案
2022-07-15 15:24:00 【sf_wilson】
【前言】:在验证Sharing Settings中User Visibility Settings对记录访问的影响[14]时,创建dynamic dashboard供不同用户登进community按running user身份渲染dashboard数据,在保存dashboard时,报错如下:[Error: You reached the limit for dashboards run as the logged-in user.],此篇博客将探索什么是dynamic dashboard,限制与解决方案。

【什么是动态报表?】
When you create a dashboard, you can set it to "Run as logged-in user"; this means it’s a dynamic dashboard. When a dashboard runs as the logged-in user, it will display only the records that user has access to.
在Classic中,可以按下图设置动态报表:

在Lightning Experience (LEX)中,选项显示略有不同,但效果是一样的,如下图:

应用场景:
比如想通过Timesheet记录员工在某项目上的Total Work Hours,Specialist可以看到自己的总工时, Tech Lead可以看自己和下属的总工时,而Manager可以看到整个团队的总工时,这时候可以选用Dynamic Dashboard来呈现。当然当Dynamic Dashboard勾选了"Let authorized users change running user"或者"Let dashboard viewers choose whom they view the dashboard as",Manager就可以以下属业务Consultant的身份或者以Tech Lead的身份分别查看BA和Developer分别在项目上投入的时间。
【限制】:Report Limits, Limitations, and Allocations
| Edition | Dynamic dashboards per org |
|---|---|
| Developer | 3 |
| Enterprise | 5 |
| Unlimited | 10 |
| Performance | 10 |
【解决方案】:
1. 由于增加动态报表最大数量限制是一个付费的功能,你可以寻求Salesforce客户经理增加改限制,详见Increase 'Maximum Number of Dynamic Dashboards' limit;
2. 查找并销毁未使用的动态仪表板。常用做法是把未使用的动态报表改成静态 (Classic可选择"Run as specified user",LEX可选择"Me" / "Another person") 或直接删除并清空回收站。
【查找正在使用的Dynamic Dashboard】:Find the dynamic dashboards in my organization
方法1:报表法,关键步骤如下:
创建Dashboards自定义Report Type -> 创建报表并选择该Report Type,最终效果如下图:

方法2:使用SOQL查询
SOQL1: will return Dynamic Dashboards that are not in private folders.
SELECT Id, Title, FolderName, Type FROM Dashboard WHERE Type != 'SpecifiedUser'
SOQL2: will return Dynamic Dashboards that are in private folders.
SELECT Id, Title, FolderName, Type FROM Dashboard USING SCOPE allPrivate WHERE Type != 'SpecifiedUser'
边栏推荐
- The 15th day of zero basic Lua --- finally, I'll summarize it
- Matlab_调试中figure置顶显示
- Salesforce中使用LWC本地开发
- 高效率学习工具及插件分享
- H5 cloud image background reading and writing CAD files - Online CAD, web CAD, web browsing and editing CAD
- Information system project manager 10 days before the exam limit sprint + answer (10): summary of comprehensive knowledge
- 动态规划 | 0-1背包问题
- Niuke 2021 summer training 3-e-math
- image 标签 中的 mode=“widthFix“ 属性
- 实现两个元素并排显示 (含flex一些属性的讲解)
猜你喜欢

Cool dog music interface is amazingly open

小白挑战学c语言第一天----运行环境的搭建

Huawei cloud stack opens its framework to the south to help ecological partners enter the cloud efficiently

H5 cloud image background reading and writing CAD files - Online CAD, web CAD, web browsing and editing CAD

Redis02:Linux环境安装Redis

Dynamic programming | 0-1 knapsack problem

蚂蚁隐私计算创新TEE技术获学术认可

Salesforce中實施Campaign Influence模型注意事項

Realize the side-by-side display of two elements (including the explanation of some flex attributes)

电商平台后台管理系统--->操作方法说明
随机推荐
JMM内存模型
v-bind和v-for
由四种颜色组成的环,填到五个段组成的一个环上,使得各个环与相邻的颜色并不相同的组合能有多少种(全量)。
image 标签 中的 mode=“widthFix“ 属性
12306抢票工具震撼来袭
拜占庭将军问题
信息系统项目管理师考前10天极限冲刺+答案(六):项目采购管理与合同管理
Dynamic programming | longest common subsequence
信息系统项目管理师必背核心考点(十)信息系统规划
Considérations relatives à la mise en œuvre du modèle d'influence de la campagne dans Salesforce
Redis05:Redis的事务
uni-app打电话功能
About solving the problem of token expiration
Super Ping tool
信息系统项目管理师考前10天极限冲刺+答案(十):综合知识总结
E-commerce platform background management system -- > operation method description
uni-app 标签跳转
Salesforce Dynamic Forms
电商平台后台管理系统--->操作方法说明
Salesforce运行所有测试类并获取覆盖率报告