Get a Folder Object

A folder object can be created using the following code snippet, which does not fire a server-side call. The filestore used in the code snippet below is the component instance.

There is no promise involved in the method above and the folder object is returned.

Copied// Get a folder instance
var filestore = catalyst.file;
var folder = filestore.folderId(FOLDER_ID);