Tip: Before continuing, make sure you've read Working with Wix App Collections.
When you add the Wix File Share application 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"
.
This document describes the permissions and fields in your FileshareFiles collection.Â
The FileshareFiles collection has the following permissions:
You cannot change the FileshareFiles collection permissions.
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.Â
Description: Name of file. This is the Main field.
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
Description: Unique identifier of the user who created the file. Can be a site owner, contributor, 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
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
Description: Reference to the file's parent folder, as listed in the FileshareFolders 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
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
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
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
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
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
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
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
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