Get File Object

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 2023-11-14 13:20:49 +0530 +0530

ON THIS PAGE

RELATED LINKS

File Store