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

ViewShare.EditableRecType(属性)

说明

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

返回值

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.EditableRecType;
    // write
    viewShare.EditableRecType = 'Self';
}

脚本编辑器 示例

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