Velo: Wix Media "Folders" Collection Fields

Tip: Before continuing, make sure you've read Working with Wix App Collections.

When you add a file from your Media Manager to your site, the 'Folders' collection is automatically added to your site.

To use the Folders collection in code, refer to it as "Media/Folders".

Copy
1
wixData.query("Media/Folders")
2
.find()
3
.then( (results) => {
4
// handle the results
5
} );

Note: When using this collection, you can't set up the site to link to the next or previous dynamic page.

This document describes the permissions and fields in your Folders collection. 

Permissions

The Folders collection has the following permissions:

  • Read: Anyone
  • Create: None
  • Update: None
  • Delete: None

You cannot change the Folders collection permissions.

Fields

Note: This app collection contains read-only fields that cannot be managed from the collection. You can update the fields from the relevant app in your site’s dashboard.

The field name is listed as the heading of each section, with the field ID listed in parentheses, like this: Name (name). The fields appear in this document in the order in which they appear in your collection by default. 

ID (_id)

Description: Unique ID of the folder. Same as Folder ID. This is a system field and is hidden by default.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq

Read-only: Yes

Folder ID (folderId)

Description: Unique Folder ID. Same as ID. This is the Main field.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq

Read-only: Yes

Folder Name (folderName)

Description: Unique name of the folder.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: No

Read-only: Yes

Parent Folder ID (parentFolderId)

Description: The folder's parent folder ID.

Type: String

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq

Read-only: Yes

Created Date (_createdDate)

Description: Date and time the folder was created. This is a system field and is hidden by default.

Type: Date

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Updated Date (_updatedDate)

Description: Date and time the folder was most recently updated (created or renamed). This is a system field and is hidden by default.

Type: Date

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: No

Read-only: Yes

Was this helpful?
Yes
No