Note: This collection contains read-write fields.
Tip: Before continuing, make sure you've read Working with Wix App Collections.
To use the ProjectItems collection in code, refer to it as "Portfolio/ProjectItems"
.
wixData
.query("Portfolio/ProjectItems")
.find()
.then((results) => {
// handle the results
});
This document describes the permissions and fields in your ProjectItems collection.
Important: Trying to query more than 100 items exceeds the wix-data limit and results in an error.
The Project Items collection has the following permissions:
You cannot change the Project Items collection's permissions.
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: The project ID that contains the project item.
Type: Reference
Can connect to data: Yes, to the referenced item's field.
Can use in dynamic page URL: No
Can be sorted: No
Can be filtered: eq
Read-write: Yes
Required: Yes
Description: The project item 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: No
Can be sorted: No
Can be filtered: eq, hasSome
Read-only: Yes
Required: No
Description: The project items sort order.
Type: Number
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
Description: The title of the project item.
Type: Text
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
Description: The description of the project item.
Type: Text
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
Description: The project item's type.
Type: Text
Can connect to data: No
Can use in dynamic page URL: No
Can be sorted: No
Can be filtered: No
Read-only: Yes
Required: No
Note: The type value is one of:
Description: The date the project item 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: No
Can be filtered: No
Read-only: Yes
Required: No
Description: The date the project item 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: No
Can be filtered: No
Read-only: Yes
Required: No
Description: A JSON object that represents a project item's image.
Type: Object
Can connect to data: Yes by the 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 item's video.
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
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
}