Home > SYS_FileManager > setDocumentSource
SYS_FileManager.setDocumentSource() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
修改文档源码
Signature
typescript
setDocumentSource(source: string): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
source | string | 文档源码 |
Returns
Promise<boolean>
是否修改成功,如果输入的文档源码格式错误,将返回 false
的结果