Velo: Wix CRM "Tasks" Collection Fields

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

To use the Tasks collection in code, refer to it as "CRM/Tasks".

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

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

Permissions

The Tasks collection has the following permissions:

  • Read: Admin and Back Office Manager
  • Create: None
  • Update: None
  • Delete: None

You cannot change the Tasks collection's permissions. 

Fields

Note: This app collection contains read-only fields that cannot be managed from the collection. You can update the fields from the relevant app in your site’s dashboard.

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.

Title (title)

Description: The name of the task.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq, contains

Read-only: Yes

ID (_id)

Description: The task ID (GUID) 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: No

Can be filtered: No

Read-only: Yes

Version (version)

Description: Running task version number. Each time an action is performed on a task, its version number is incremented.

Type: Number

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Completed (isCompleted)

Description: Indicates whether the task has been completed.

Type: Boolean

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq

Read-only: Yes

Contact ID (contactId)

Description: Unique identifier of the site contact the task is linked to.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq

Read-only: Yes

Assignee ID (assigneeId)

Description: Unique identifier of the contributor assigned to the task.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq

Read-only: Yes

Due Date (dueAt)

Description: Date the task is scheduled to be completed by.

Type: Date

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: lt, gt

Read-only: Yes

Creator Type (creatorType)

Description: Type of the task's creator. One of the following:

  • USER: The task was created from the site's dashboard. 
  • APP: The task was created by a Wix application or using the createTask( ) function.

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

User ID (userId)

Description: Unique identifier of the user who created the task in the dashboard. Only present if the Creator Type is USER.

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

Application ID (ApplicationId)

Description: Unique identifier of the application that created the task. Only present if the Creator Type is APP.

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

Use the following APIs to work with data from the Tasks collection:

Was this helpful?
Yes
No