Velo: Wix Portfolio "Project Items" 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 ProjectItems collection in code, refer to it as "Portfolio/ProjectItems"
.
1wixData.query("Portfolio/ProjectItems")2 .find()3 .then( (results) => {4 // handle the results5 } );
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.
Permissions
The Project Items collection has the following permissions:
- Read: Anyone
- Create: Admin
- Update: Admin
- Delete: Admin
You cannot change the Project Items 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.
Project (project)
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
ID (_id)
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
Sort Order (sortOrder)
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
Title (title)
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 (description)
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
Type (type)
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:
- "IMAGE"
- "VIDEO"
Created Date (_createdDate)
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
Updated Date (_updatedDate)
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
Image (image)
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
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.56 }7}
Video (video)
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.
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": 64}