Skip to content
开发文档
能力中心
应用市场
WebOffice
开发者后台

ViewShare.VisibleRecType(属性)

说明

可读写 返回当前分享视图高级权限中,可查看的记录范围

返回值

DbSharedCriteriaType

浏览器环境示例

javascript
async function example() {
    await instance.ready();
    const app = instance.Application;
    const viewShare = await app.Sheets(1).Views(1).ViewShare;
    // read
    const visible = await viewShare.VisibleRecType;
    // write
    viewShare.VisibleRecType = 'Self';
}

脚本编辑器 示例

javascript
function main() {
    const viewShare = Application.Sheets(1).Views(1).ViewShare;
    // read
    const visible = viewShare.VisibleRecType;
    // write
    viewShare.VisibleRecType = 'Self';
}
main();
回到旧版