> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Wix Media "FileshareFiles" Collection Fields

## Article: Wix Media "FileshareFiles" Collection Fields

## Article Link: https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-app-collections/other-apps/wix-media/wix-media-fileshare-files-collection-fields.md

## Article Content:

# Velo: Wix Media "FileshareFiles" Collection Fields

<blockquote class="tip">

**Tip:** 
Before continuing, make sure you've read [Working with Wix App Collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code.md).

</blockquote>

When you add the [Wix File Share application](https://support.wix.com/en/article/about-the-file-share-app) to your site, the FileshareFiles collection is automatically added to your site.

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

```javascript
wixData.query("Media/FileshareFiles")
  .find()
  .then( (results) => {
    // handle the results
  } );
```

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

### Permissions

The FileshareFiles collection has the following [permissions](https://support.wix.com/en/article/about-collection-permissions):

*   **Read:** Anyone
*   **Create:** None
*   **Update:** None
*   **Delete:** None

You cannot change the FileshareFiles 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](https://support.wix.com/en/article/accessing-your-sites-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. 

#### Name (name)

**Description**: Name of file. This is the [Main field](https://support.wix.com/en/article/about-your-database-collection-fields#main-fields).

**Type**: Text

**Can connect to data**: Yes

**Can use in dynamic page URL**: Yes

**Can be sorted**: Yes

**Can be filtered**: eq, ne, lt, lte, gt, gte, hasSome, hasAll, contains, startsWith, endsWith

**Read-only**: Yes

#### Owner (\_owner)

**Description**: Unique identifier of the user who created the file. Can be a site owner, [contributor](https://support.wix.com/en/article/about-roles-permissions-contributors), or member. This is a system field and is hidden by default.

**Type**: Text

**Can connect to data**: Yes

**Can use in dynamic page URL**: Yes

**Can be sorted**: Yes

**Can be filtered**: eq, ne, hasSome, hasAll, contains

**Read-only**: Yes

#### Date Created (\_createdDate)

**Description**: The date and time the file 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**: Yes

**Can be filtered**: eq, ne, lt, lte, gt, gte, hasSome, hasAll, contains, startsWith, endsWith

**Read-only**: Yes

#### Parent Folder (parentFolder)

**Description**: Reference to the file's parent folder, as listed in the [FileshareFolders](https://support.wix.com/en/article/velo-wix-media-filesharefolders-collection-fields) collection.

**Type**: Reference

**Can connect to data**: Yes

**Can use in dynamic page URL**: No

**Can be sorted**: Yes

**Can be filtered**: Yes

**Read-only**: Yes

#### Path (path)

**Description**: Array of objects representing the full path from root to the parent folder of the file.

**Type**: JSON

**Can connect to data**: No

**Can use in dynamic page URL**: No

**Can be sorted**: No

**Can be filtered**: No

**Read-only**: Yes

```json
[
  {
    "id": "f3788ddf-8615-4ea9-8baf-db57252f89d7", 
    "name": "/"
  }, 
  {
    "id": "7b1a6e48-56fd-4e33-ba2e-39fe1227190f",
    "name": "pictures"
  }
]
```

#### Favorite Count (favoriteCount)

**Description**: The number of times the file was marked as a favorite. Both site members and visitors can mark a file as a favorite.

**Type**: Number

**Can connect to data**: Yes

**Can use in dynamic page URL**: Yes

**Can be sorted**: Yes

**Can be filtered**: eq, ne, lt, lte, gt, gte, hasSome, hasAll, contains, startsWith, endsWith

**Read-only**: Yes

#### Favorite (favorite)

**Description**: Indicates whether the file was marked as a favorite by the current visitor.

**Type**: Boolean

**Can connect to data**: Yes

**Can use in dynamic page URL**: No

**Can be sorted**: No

**Can be filtered**: No

**Read-only**: Yes

#### View Count (viewCount)

**Description**: The number of times unique visitors viewed the file. Note that multiple views by the same visitor and downloading the file do not increment the view count.

**Type**: Number

**Can connect to data**: Yes

**Can use in dynamic page URL**: Yes

**Can be sorted**: Yes

**Can be filtered**: eq, ne, lt, lte, gt, gte, hasSome, hasAll, contains, startsWith, endsWith

**Read-only**: Yes

#### Viewed (viewed)

**Description**: Indicates whether the current visitor viewed the file.

**Type**: Boolean

**Can connect to data**: Yes

**Can use in dynamic page URL**: No

**Can be sorted**: No

**Can be filtered**: No

**Read-only**: Yes

#### Extension (extension)

**Description**: File extension. Examples: pdf, png.

**Type**: Text

**Can connect to data**: Yes

**Can use in dynamic page URL**: Yes

**Can be sorted**: Yes

**Can be filtered**: eq, ne, lt, lte, gt, gte, hasSome, hasAll, contains, startsWith, endsWith

**Read-only**: Yes

#### Size (size)

**Description**: Size of the file in bytes.

**Type**: Number

**Can connect to data**: Yes

**Can use in dynamic page URL**: Yes

**Can be sorted**: Yes

**Can be filtered**: eq, ne, lt, lte, gt, gte, hasSome, hasAll, contains, startsWith, endsWith

**Read-only**: Yes

#### \_id (\_id)

**Description**: File ID. This is a system field and is hidden by default.

**Type**: Text

**Can connect to data**: No

**Can use in dynamic page URL**: No

**Can be sorted**: No

**Can be filtered**: eq, ne, hasSome, hasAll, contains

**Read-only**: Yes