Velo: Wix Portfolio "Collections" Collection Fields

Note: This collection contains read-write fields.

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

To use the Collections collection in code, refer to it as "Portfolio/Collections".

Copy

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

Important: Trying to query more than 100 items exceeds the wix-data limit and results in an error.

Permissions

The Collections collection has the following permissions:

  • Read: Anyone
  • Create: Admin
  • Update: Admin
  • Delete: Admin

You cannot change the Collections collection's permissions. 

Fields

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: The collection ID that was created by the server. 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, startsWith

Read-only: Yes

Required: No

Revision (revision)

Description: The current state of an item in the collection. The revision's state changes every time an item is modified.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Required: No

Title (title)

Description: The title of the collection.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: Yes

Can be sorted: Yes

Can be filtered: eq, ne, hasSome, startsWith

Read-write: Yes

Required: No

Description (description)

Description: The description of the collection.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: Yes

Can be sorted: Yes

Can be filtered: eq, ne, hasSome

Read-write: Yes

Required: No

Slug (slug)

Description: The collection item's slug. The slug is the URL-friendly name that is unique across the portfolio.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: Yes

Can be sorted: Yes

Can be filtered: eq, ne, hasSome, startsWith

Read-write: Yes

Required: No

Cover Image (coverImage)

Description: A JSON object that represents the cover image of the collection.

Type: Object

Can connect to data: Yes, by the cover image's focal points.

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-write: Yes

Required: No

Copy

Hidden (hidden)

Description: Whether the collection is hidden.

Type: Boolean

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq, ne, hasSome

Read-write: Yes

Required: No

Sort Order (sortOrder)

Description: The collection sort order.

Type: Number

Can connect to data: Yes

Can use in dynamic page URL: Yes

Can be sorted: Yes

Can be filtered: eq, ne, hasSome, lt, le, gt, ge

Read-write: Yes

Required: No

Created Date (_createdDate)

Description: The date the collection 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, hasSome, lt, gt

Read-only: Yes

Required: No

Updated Date (_updatedDate)

Description: The date the collection was last updated. 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, hasSome, lt, gt

Read-only: Yes

Required: No

Url (url)

Description: The url of the collection page.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Required: No

Seo Data (seoData)

Description: A JSON object that represents Seo data of the collection.

Type: Object

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-write: Yes

Required: No

Copy
Did this help?