Velo: Wix Portfolio "Projects" 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 Projects collection in code, refer to it as "Portfolio/Projects".

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

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

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

Permissions

The Projects collection has the following permissions:

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

You cannot change the Projects collection's permissions. 

Fields

The field name is listed as the heading of each section, with the field key 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 project ID 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 a project in the collection.

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 project.

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 project.

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

Hidden (hidden)

Description: Whether the project 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

Collection Ids (collectionIds)

Description: Array of collection IDs that the project belongs to.

Type: Array of Strings

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq, ne, hasSome, hasAll

Read-write: Yes

Required: No

Details (details)

Description: The details of the project.

Type: Array of Objects 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
1
[
2
{
3
"label": "Project Type",
4
"text": "Photography"
5
},
6
{
7
"label": "Date",
8
"text": "April 2023"
9
}
10
]

Slug (slug)

Description: The project's slug, which is its 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

Created Date (_createdDate)

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

Read-only: Yes

Required: No

Updated Date (_updatedDate)

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

Read-only: Yes

Required: No

Url (url)

Description: The url of the project page.

Type: URL

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 project.

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
1
{
2
"settings": {
3
"preventAutoRedirect": "true"
4
},
5
"tags": {
6
[
7
"children": "",
8
"custom": "",
9
"disabled": "",
10
"meta": {},
11
"props": {},
12
"type": ""
13
]
14
}
15
}

Synced Project (syncedProject)

Description: Indicates whether the project is synced with an external platform.

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

Required: No

Note: Synced projects are updated from their external platform on a daily basis.

Cover Image (coverImage)

Description: A JSON object that represents a project's cover image.

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
1
{
2
"imageInfo": "wix:image://v1/8bb438_4400b236f09943f3a60eaf257d0b67dd~mv2.jpg/8bb438_4400b236f09943f3a60eaf257d0b67dd~mv2.jpg#originWidth=2400&originHeight=3600",
3
"focalPoint": {
4
"x": 0.5,
5
"y": 0.5
6
}
7
}

Cover Video (coverVideo)

Description: A JSON object that represents a project's cover video.

Type: Object

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-write: Yes

Required: No

Note: Currently not supported in the Wix Editor.

Copy
1
{
2
"videoInfo": "wix:video://v1/162e66_1e344b4233a5430c91d8be1310ac90a8/vecteezy_the-footage-animation-of-countdown-timer-from-5-seconds__666.mp4#posterUri=162e66_1e344b4233a5430c91d8be1310ac90a8f002.jpg&posterWidth=1920&posterHeight=1080",
3
"durationInMillis": 6
4
}
Was this helpful?
Yes
No