Get File Object
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.
A file object can be created using the following code snippet, which does not fire a server-side call. The unique File ID is passed as an argument here.The folder used in the code snippet below is the folder object.
copy
//Get a file object by passing the file ID
var filestore = catalyst.file;
var folder = filestore.folderId(FOLDER_ID);
var file = folder.fileId(FILE_ID);
Last Updated 2025-02-24 14:38:44 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit