Home > SYS_FileManager > getDocumentSource
SYS_FileManager.getDocumentSource() 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
getDocumentSource(): Promise<string | undefined>;
1
Returns
Promise<string | undefined>
文档源码数据,undefined
表示当前未打开文档或数据获取失败