Create a Folder Instance
Note: Catalyst now offers you a brand new object storage component called Stratus in Early Access mode. This component is a significant upgrade to the current Cloud Scale File Store component. You can find out more about the Stratus component here.
To use the Stratus component in the Early Access mode, email us at support@zohocatalyst.com.
To use the Stratus component in the Early Access mode, email us at support@zohocatalyst.com.
You can create an instance for a specific folder in the File Store using the getFolderInstance() method, and enable the methods defined in this class to access the instance object. You must pass the Folder ID of that folder to the getFolderInstance() method, as shown in the code syntax below.
The <FILE_STORE_INSTANCE> used in the code below is the instance defined in the File Store Instance page.
copy
<FILE_STORE_INSTANCE>.getFolderInstance( id: Long ): ZCatalystFolder
Parameters:
- id: The unique Folder ID of the folder that the instance object must be returned for
A sample code snippet is shown below:
copyZCatalystApp.getInstance().getFileStoreInstance().getFolderInstance(2823000000006561) //Replace this with your Folder ID
Last Updated 2025-02-24 14:38:44 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit