Create a Folder Instance
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.
<FILE_STORE_INSTANCE>.getFolderInstance( id: Long ): ZCatalystFolder
- id: The unique Folder ID of the folder that the instance object must be returned for
A sample code snippet is shown below:
ZCatalystApp.getInstance().getFileStoreInstance().getFolderInstance(2823000000006561) //Replace this with your Folder ID
Last Updated 2023-09-03 01:06:41 +0530 +0530
Send your feedback to us