Home > SYS_FileSystem > getProjectsPaths
SYS_FileSystem.getProjectsPaths() 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.
Get the project directory paths
Signature
typescript
function getProjectsPaths(): Promise<Array<string>>;1
Returns
Promise<Array<string>>
Array of project directory paths
Remarks
Note 1: This API is only valid for semi-offline and fully offline clients. Calling it in a browser environment will always throw Error
Note 2: This API requires the user to enable the extension external interaction permission, if not enabled, it will always throw Error