Create a Folder Instance
You can create an instance for a specific folder in the Catalyst 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 : Int64 ) -> 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:
copylet folderInstance = ZCatalystApp.shared.getFileStoreInstance().getFolderInstance(id : 3376000000427654) //Replace this with your Folder ID
Last Updated 2023-09-03 01:06:41 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit