<< Click to Display Table of Contents >> 隐藏界面操作复制链接 |
1.概述
用户在将BI产品集成到自己的系统中时,经常会有需要根据实际需要隐藏相关操作的场合,产品支持用户通过自定义css文件、配置属性、配置URL参数控制界面上数据源、数据集和报告相关操作的隐藏、显示。
2.自定义CSS
自定义CSS文件隐藏功能步骤:先获取data-locator信息,然后定义css文件,在bi.properties中添加属性external.resources=XXX.css(XXX为css文件名称),其次重启BI,最后进入产品对应界面,确认功能隐藏。
当用户想要隐藏制作报告左侧资源树上方的更多/刷新和报告中的第一个分隔线(分隔线包括横向和竖向)。
1)在产品安装路径/bihome路径新建css文件,在下文中找到操作的data-locator放入css文件,并设置该操作的display:none !important;。
css文件中内容写法如下:
[data-locator=db-editor] [data-locator=menu-rep-tree] [data-locator=action-refresh]
{
display:none !important;
}
[data-locator=action-separator-0]
{
display:none !important;
}
2)在bi.properties中添加属性external.resources=XXX.css(XXX为css文件名称),然后重启。
3)打开制作报告页面对应区域已隐藏,隐藏前后对比图如下。
•数据源界面的data-locator
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=action-newConn] 左侧资源树上方的新建
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator= tree] [data-locator= searchInput] 左侧资源树上方的搜索栏
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=toolButton] 左侧资源树上方的驱动管理
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=moreButton] [data-locator=action-tree-more] 左侧资源树上方的更多
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-add-folder] 左侧资源树上方的更多/新建文件夹
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-paste-to-root] 左侧资源树上方的更多/粘贴
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-refresh] 左侧资源树上方的更多/刷新
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-search] 数据源/搜索
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-tree-more] 数据源/更多
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-open] 数据源/打开数据源
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-rename] 数据源/重命名
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-copy] 数据源/复制
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-move] 数据源/移动到…
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-paste] 数据源/粘贴
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-remove] 数据源/删除
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-refreshConn] 数据源/刷新数据
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-newQuery] 数据源/新建数据集
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-tree-more] 文件夹/更多
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-rename] 文件夹/重命名
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-add-folder] 文件夹/新建文件夹
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-copy] 文件夹/复制
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-paste] 文件夹/粘贴
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-move] 文件夹/移动到…
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-remove] 文件夹/删除
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-tree-more] 表/更多
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-addTable] 表/新建表…
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-refreshConn] 表/刷新数据
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-detaildata] 表名/预览数据
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-tree-more] 表名/更多
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-addTable] 表名/新建表…
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-removeTable] 表名/删除表
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-refreshConn] 表名/刷新数据
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-newDB] 表名/新建报告
[data-locator=conn-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-tree-more] 视图/更多
[data-locator=conn-editor] [data-locator=menu] [data-locator=action-refreshConn] 视图/刷新数据
[data-locator=conn-editor] [data-locator=g-toolbar] [data-locator=action-editParamQry] 数据库配置信息上方/编辑参数
[data-locator=conn-editor] [data-locator=g-toolbar] [data-locator=action-refreshParamQry] 数据库配置信息上方/刷新参数
[data-locator=conn-editor] [data-locator=g-toolbar] [data-locator=action-settingQry] 数据库配置信息上方/设置
[data-locator=conn-editor] [data-locator=g-toolbar] [data-locator=action-createQry] 数据库配置信息上方/新建数据集
[data-locator=conn-editor] [data-locator=g-toolbar] [data-locator=action-testConn] 数据库配置信息上方/测试连接
[data-locator=conn-editor] [data-locator=g-toolbar] [data-locator=action-saveConn] 数据库配置信息上方/保存
[data-locator=conn-editor] [data-locator=g-toolbar] [data-locator=action-saveAsConnection] 数据库配置信息上方/另存为
•数据集界面的data-locator:
[data-locator=qry-editor] [data-locator=conn_tree] [data-locator=action-newQuery] 左侧资源树上方的新建
[data-locator=qry-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=searchInput] 左侧资源树上方的搜索栏
[data-locator=qry-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=toolButton] 左侧资源树上方的数据脱敏
[data-locator=qry-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=moreButton] [data-locator=action-tree-more] 左侧资源树上方的更多
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-add-folder] 左侧资源树上方的更多/新建文件夹
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-openLineageAnalyze] 左侧资源树上方的更多/打开查看血缘
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-paste-to-root] 左侧资源树上方的更多/粘贴
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-refresh] 左侧资源树上方的更多/刷新
[data-locator=qry-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-tree-more] 文件夹/更多
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-rename] 文件夹/重命名
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-add-folder] 文件夹/新建文件夹
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-copy] 文件夹/复制
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-move] 文件夹/移动到…
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-paste] 文件夹/粘贴
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-remove] 文件夹/删除
[data-locator=qry-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-detaildata] 数据集/数据详情
[data-locator=qry-editor] [data-locator=conn_tree] [data-locator=tree] [data-locator=action-common-tree-more] 数据集/更多
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-open] 数据集/打开数据集
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-rename] 数据集/重命名
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-openLineageAnalyze] 数据集/查看血缘
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-downloadQryItem] 数据集/下载…
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-copy] 数据集/复制
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-move] 数据集/移动到…
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-paste] 数据集/粘贴
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-remove] 数据集/删除
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-newDB] 数据集/新建报告
[data-locator=qry-editor] [data-locator=g-toolbar] [data-locator=action-editParamQry] 数据集信息上方/编辑参数
[data-locator=qry-editor] [data-locator=g-toolbar] [data-locator=action-refreshParamQry] 数据集信息上方/刷新参数
[data-locator=qry-editor] [data-locator=g-toolbar] [data-locator=action-settingQry] 数据集信息上方/设置
[data-locator=qry-editor] [data-locator=g-toolbar] [data-locator=action-perfQry] 数据集信息上方/检测性能
[data-locator=qry-editor] [data-locator=g-toolbar] [data-locator=action-downloadQry] 数据集信息上方/下载
[data-locator=qry-editor] [data-locator=g-toolbar] [data-locator=action-createDB] 数据集信息上方/新建报告
[data-locator=qry-editor] [data-locator=g-toolbar] [data-locator=action-saveQry] 数据集信息上方/保存
[data-locator=qry-editor] [data-locator=g-toolbar] [data-locator=action-saveAsQry] 数据集信息上方/另存为
[data-locator=qry-editor] [data-locator=g-toolbar] 数据集信息上方/分隔横线
[data-locator=qry-editor] [data-locator=export_more_button] 打开数据集/更多
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-export_query_data] 打开数据集/导出到数据库
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-export_query_data_csv] 打开数据集/导出为CSV文件
[data-locator=qry-editor] [data-locator=menu] [data-locator=action-export_query_data_excel] 打开数据集/导出为Excel文件
[data-locator=qry-editor] [data-locator=export_query_data] 打开数据集/抽取数据
[data-locator=qry-editor] [data-locator=export_query_data] 打开数据集/禁止下载
•制作报告界面的data-locator
[data-locator=db-editor] [data-locator=action-newDB] 左侧资源树上方的新建
[data-locator=db-editor] [data-locator=menu] [data-locator=action-createAnalysisDB] 左侧资源树上方的新建分析报告
[data-locator=db-editor] [data-locator=menu] [data-locator=action-createVividDB] 左侧资源树上方的新建大屏报告
[data-locator=db-editor] [data-locator=menu] [data-locator=action-createAdHocDB] 左侧资源树上方的新建即席分析
[data-locator=db-editor] [data-locator=menu] [data-locator=action-createCombinedDB]左侧资源树上方的新建组合报告
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=searchInput] 左侧资源树上方的搜索
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=moreButton] [data-locator=action-tree-more] 左侧资源树上方的更多
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-add-folder] 左侧资源树上方的更多/新建文件夹
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-multi-share] 左侧资源树上方的更多/批量分享
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-lineage-analyze] 左侧资源树上方的更多/查看血缘
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-paste-to-root] 左侧资源树上方的更多/粘贴
[data-locator=action-separator-N] 分隔横线,N从0开始,表示第一个
➢说明:
报告中分隔竖线和分隔横线使用的是同一个data-locator。
[data-locator=db-editor] [data-locator=menu-rep-tree] [data-locator=action-refresh] 左侧资源树上方的更多/刷新
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=cancel-all-attentions] 收藏/取消全部收藏
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-topping] 收藏报告/置顶
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-cancel] 收藏报告/取消置顶
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-commontree-more] 文件夹/更多
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-rename] 文件夹/重命名
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-add-folder] 文件夹/新建文件夹
[data-locator=action-separator-N] 分隔横线,N从0开始,表示第一个
➢说明:
报告中分隔竖线和分隔横线使用的是同一个data-locator。
[data-locator=db-editor] [data-locator=menu-rep-tree] [data-locator=action-copy] 文件夹/复制
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-move] 文件夹/移动到
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-paste] 文件夹/粘贴
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-remove] 文件夹/删除
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-common-tree-more] 报告/更多
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-open] 报告/打开报告
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-add-to-my-db] 报告/收藏
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-cancel] 报告/取消收藏
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-share] 报告/分享
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-lineage-analyze] 报告/查看血缘
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-download] 报告/下载
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-export-template] 报告/导出为模板
[data-locator=action-separator-N] 分隔横线,N从0开始,表示第一个
➢说明:
报告中分隔竖线和分隔横线使用的是同一个data-locator。
[data-locator=db-editor] [data-locator=menu-rep-tree] [data-locator=action-copy] 报告/复制
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-move] 报告/移动到
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-paste] 报告/粘贴
[data-locator=db-editor] [data-locator=tree-rep-tree] [data-locator=action-remove] 报告/删除
[data-locator=db-editor] [data-locator=action-depth-to-top] 组件/到顶部
[data-locator=db-editor] [data-locator=action-depth-to-bottom] 组件/到底部
[data-locator=db-editor] [data-locator=action-depth-shift-up] 组件/上移一层
[data-locator=db-editor] [data-locator=action-depth-shift-down] 组件/下移一层
[data-locator=db-editor] [data-locator=tree-elem-tree] [data-locator=searchInput] 组件/搜索
[data-locator=db-editor] [data-locator=tree-elem-tree] [data-locator=action-icon-unlock] 组件/ 解锁切换为锁定
[data-locator=db-editor] [data-locator=tree-elem-tree] [data-locator=action-icon-lock] 组件/ 锁定切换为解锁
[data-locator=db-editor] [data-locator=tree-elem-tree] [data-locator=action-common-open_eye] 组件/可见切换为不可见
[data-locator=db-editor] [data-locator=tree-elem-tree] [data-locator=action-common-close_eye] 组件层级/不可见切换为可见
[data-locator=db-editor] [data-locator=tree-elem-tree] [data-locator=action-common-tree-more]组件/更多
[data-locator=db-editor] [data-locator=menu-elem-tree] [data-locator=action-rename] 组件/重命名
[data-locator=db-editor] [data-locator=menu-elem-tree] [data-locator=action-remove] 组件/删除
[data-locator=db-editor] [data-locator=menu-elem-tree] [data-locator=action-merge-group-elem] 组件/多个组件组合
[data-locator=db-editor] [data-locator=menu-elem-tree] [data-locator=action-cancel-merge-group] 组件/多个组件取消组合
制作报告顶部工具栏
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-prev] 撤销
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-next] 重做
[data-locator=action-separator-N] 分隔竖线,N从0开始,表示第一个
➢说明:
报告中分隔竖线和分隔横线使用的是同一个data-locator。
[data-locator=db-editor] [data-locator=menu] [data-locator=action-replaceQuery] 替换数据集
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-parameter] 参数
[data-locator=db-editor] [data-locator=menu] [data-locator=action--1] 编辑参数
[data-locator=db-editor] [data-locator=menu] [data-locator=action-refreshParam] 刷新参数
[data-locator=db-editor] [data-locator=menu] [data-locator=action-137] 组件传参/填报设置
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-form] 填报
[data-locator=db-editor] [data-locator=menu] [data-locator=action-form] 填报字段
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-perf] 性能帮助
[data-locator=db-editor] [data-locator=menu] [data-locator=action-perfCheck] 检测性能
[data-locator=db-editor] [data-locator=menu] [data-locator=action-dynamicPerfCheck] 报告执行过程
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-download] 数据下载
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-dataMode] 元数据
[data-locator=db-editor] [data-locator=menu] [data-locator=action--1] 样本数据
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-layout] 桌面布局
[data-locator=db-editor] [data-locator=menu] [data-locator=action--1] 手机布局
[data-locator=db-editor] [data-locator=menu [data-locator=action-40] 输出布局
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-preview] 报告预览
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-fullScreen] 报告全屏
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-saveDB] 保存报告
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-saveAsDB] 另存报告
预览报告悬浮工具栏
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-39] 撤销
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-38] 重做
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-52] 刷新
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-101] 清除
[data-locator=action-separator-N] 分隔竖线,N从0开始,表示第一个
➢说明:
报告中分隔竖线和分隔横线使用的是同一个data-locator。
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-501] 分享
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-36] 邮件
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-99] 订阅
[data-locator=db-editor] [data-locator=menu] [data-locator=action-subscribe-setting] 新建订阅
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-37] 输出
[data-locator=db-editor] [data-locator=menu] [data-locator=action-export-pdf] 输出PDF格式
[data-locator=db-editor] [data-locator=menu] [data-locator=action-export-xlsx] 输出Excel格式
[data-locator=db-editor] [data-locator=menu] [data-locator=action-export-doc] 输出Word格式
[data-locator=db-editor] [data-locator=menu] [data-locator=action-export-docforedit] 输出Word格式(易编辑)
[data-locator=db-editor] [data-locator=menu] [data-locator=action-export-png] 输出PNG格式
[data-locator=db-editor] [data-locator=menu] [data-locator=action-export-csv] 输出CSV格式
[data-locator=db-editor] [data-locator=menu] [data-locator=action-export-pptx] 输出PPT格式
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-40] 输出布局
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-529] 演示
[data-locator=db-editor] [data-locator=menu] [data-locator=action-demo-Manual] 手动演示
[data-locator=db-editor] [data-locator=menu] [data-locator=action-demo-auto] 自动演示
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-502] 提交
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-505] 打印
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-527] 性能
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action--1] 手机型号、手机屏幕大小
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-167] 全屏
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action-62] 关闭
[data-locator=db-editor] [data-locator=g-toolbar] [data-locator=action--1] 收起工具栏/展开工具栏
•查看报告界面的data-locator
树状视图
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=searchInput] 左侧资源树上方的搜索
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=moreButton] [data-locator=action-tree-more] 左侧资源树上方的更多
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-multi-share] 左侧资源树上方的更多/批量分享
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-lineage-analyze] 左侧资源树上方的更多/查看血缘
[data-locator=db-viewer] [data-locator=menu] [data-locator=action-refresh] 左侧资源树上方的更多/刷新
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-common-tree-more] 报告/更多
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-open] 报告/打开报告
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-add-to-my-db] 报告/收藏
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-cancel] 报告/取消收藏
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-share] 报告/分享
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-lineage-analyze] 报告/查看血缘
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-dowload] 报告/下载
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-168] 报告/复制报告链接
[data-locator=db-viewer] [data-locator=tree-rep-tree] [data-locator=action-cancel-all-attentions]收藏/取消全部收藏
[data-locator=db-viewer] [data-locator=tab-close] 关闭单个报告
[data-locator=db-viewer] [data-locator=tab-delete-all] 关闭全部报告
图标视图:
[data-locator=db-portal] [data-locator=action-to-parent] 后退
[data-locator=db-portal] [data-locator=action-refresh] 刷新
[data-locator=db-portal] [data-locator=action-share] 分享
[data-locator=db-portal] [data-locator=action-lineage-analyze] 查看血缘
[data-locator=db-portal] [data-locator=searchInput] 搜索
[data-locator=db-portal] [data-locator=action-add-to-my-db] 收藏
[data-locator=db-portal] [data-locator=action-cancel] 取消收藏
[data-locator=db-portal] [data-locator=action-more] 更多
[data-locator=menu] [data-locator=action-download] 更多/下载
[data-locator=menu] [data-locator=action-168] 更多/复制报告链接
[data-locator=menu] [data-locator=action-share] 更多/分享
[data-locator=tab-close] 关闭单个报告
[data-locator=tab-delete-all] 关闭全部报告
查看报告悬浮工具栏
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-39] 撤销
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-38] 重做
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-52] 刷新报表数据
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-101] 清除
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action--1] 编辑
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-82] 返回
[data-locator=action-separator-N] 分隔竖线,N从0开始,表示第一个
➢说明:
报告中分隔竖线和分隔横线使用的是同一个data-locator。
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-501]分享
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-36] 邮件
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-99] 订阅
[data-locator=menu] [data-locator=action-subscribe-setting] 新建订阅
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-37] 输出
[data-locator=menu] [data-locator=action-export-pdf] 输出PDF格式
[data-locator=menu] [data-locator=action-export-xlsx] 输出Excel格式
[data-locator=menu][data-locator=action-export-doc] 输出Word格式
[data-locator=menu][data-locator=action-export-docforedit] 输出Word格式(易编辑)
[data-locator=menu] [data-locator=action-export-png] 输出PNG格式
[data-locator=menu] [data-locator=action-export-csv] 输出CSV格式
[data-locator=menu] [data-locator=action-export-pptx] 输出PPT格式
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-40] 输出布局
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-503] 书签
[data-locator=menu] [data-locator=action-bookmark-create] 创建书签
[data-locator=menu] [data-locator=action-bookmark-edit] 编辑书签
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-529] 演示
[data-locator=menu] [data-locator=action-demo-Manual] 演示/手动演示
[data-locator=menu] [data-locator=action-demo-auto] 演示/自动演示
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-504] 保存草稿
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-502] 提交
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-505] 打印
[data-locator=g-toolbar] [data-locator=action-download] 下载
[data-locator=db-viewer [data-locator=g-toolbar] [data-locator=action-527] 性能
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-65] 保存
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-67] 另存为
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-167] 全屏
[data-locator=db-viewer] [data-locator=g-toolbar] [data-locator=action-62] 关闭
•Wap界面的data-locator
[data-locator=hidden-download] 下载
[data-locator=hidden-search] 搜索框
[data-locator=hidden-header] 工具栏
2.3报告data-locator获取方法
如果你想隐藏的报告相关的操作不在上文所列举的信息中,您可以通过以下方式获取data-locator。数据源和数据集暂不支持用户通过此方法获取。
浏览器打开开发者模式,在控制台输入命令行“window.getYHAPI('startFindUILocator').then((m) => {m()});”回车,然后点击操作,控制台会返回data-locator。
使用完成后在控制台输入命令行“window.getYHAPI('stopFindUILocator').then((m) => {m()});”结束查找data-locator。
3.配置属性
•hidden.command.bar=true,同时隐藏首页、退出等按钮
•hide.portal.home.icon=true,隐藏门户的首页图标。
•hide.portal.exit.icon=true,隐藏门户的退出图标。
•hidden.portal.bar.greet=true,隐藏门户的问候语。
•hide.advanced.options=true,隐藏个人中心-个性化设置中的邮箱、账号密码
•qrcode.visible=true,隐藏个人中心的服务器二维码
•ml.homepage.hide=true,隐藏深度分析内置的行业案例。
•permission.asset.author.hide=true,隐藏【管理系统>认证授权】下的授权编辑标签页。
•sched.type.email.hide=true,隐藏发送邮件。
•user.edit.strict=true,隐藏【系统设置 > 认证授权 > 用户邮箱、用户密码、批量导入用户、批量导出用户。
•global.action.hidden=XXX,隐藏数据源、数据集、订阅、邮箱、作业执行提醒设置、网页组件
•phone.browser.showToolbar=true,隐藏移动端报告顶部的工具栏
•hideDBToolbar=hide,hide,hide,隐藏移动端报告工具栏上的返回、标题、更多菜单
•hideFullscreenToolbar=hide,hide,hide,隐藏移动端组件工具栏上的返回、标题、更多菜单
•lightdbToolbar=false,隐藏轻应用内报告的工具栏
4.配置URL参数
•在手机浏览器URL后面添加参数dbToolbar=false,隐藏当前浏览器查看的报告的顶部工具栏
•在手机浏览器URL后面添加参数download=false,隐藏当前浏览器下载App入口
•在手机浏览器URL后面添加参数hideDBToolbar=true,隐藏当前浏览器报告工具栏上的返回、标题、更多菜单
•在手机浏览器URL后面添加参数hideFullscreenToolbar=true,隐藏当前浏览器组件工具栏上的返回、标题、更多菜单
•在手机浏览器URL后面添加参数hideAttention=true,隐藏当前浏览器报告收藏功能
•在手机浏览器URL后面添加参数showToolbar=false,隐藏当前浏览器首页菜单、搜索框。
•在手机浏览器URL后面添加参数lightDBtoolbar=false,隐藏轻应用内报告的工具栏