searchFolders( )


Searches the Media Manager and returns a list of folders that match the terms specified in the parameters.

If no parameters are specified, the method returns all folders in the MEDIA_ROOT folder.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Read Media Manager
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsSearchFoldersOptions

Options specifying which folders to search.

Returns
Return Type:Promise<SearchFoldersResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?