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"
.
wixData
.query("Portfolio/Projects")
.find()
.then((results) => {
// handle the results
});
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.
The Projects collection has the following permissions:
You cannot change the Projects collection's permissions.
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.
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
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
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: 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
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
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
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
[
{
"label": "Project Type",
"text": "Photography"
},
{
"label": "Date",
"text": "April 2023"
}
]
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
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
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
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
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
{
"settings": {
"preventAutoRedirect": "true"
},
"tags": {
[
"children": "",
"custom": "",
"disabled": "",
"meta": {},
"props": {},
"type": ""
]
}
}
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.
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
{
"imageInfo": "wix:image://v1/8bb438_4400b236f09943f3a60eaf257d0b67dd~mv2.jpg/8bb438_4400b236f09943f3a60eaf257d0b67dd~mv2.jpg#originWidth=2400&originHeight=3600",
"focalPoint": {
"x": 0.5,
"y": 0.5
}
}
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.
{
"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",
"durationInMillis": 6
}