Velo: Wix Blog "Tags" Collection Fields

Visit the Velo by Wix website to onboard and continue learning.

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

To use the Tags collection in code, refer to it as "Blog/Tags".

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

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

Permissions

The Tags collection has the following permissions:

  • Read: Anyone 
  • Create: None
  • Update: None
  • Delete: None

You cannot change the Tags collection 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.

ID (_id)

Description: The ID of the blog tag. 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: Yes

Can be filtered: eq, ne

Read-only: Yes

Label (label)

Description: The name of the tag as it appears in the Blog menu. 

Type: Text 

Can connect to data: Yes 

Can use in dynamic page URL: Yes

Can be sorted: Yes

Can be filtered: eq, ne, contains, startsWith, hasSome 

Read-only: Yes

Post Count (postCount)

Description: The number of posts with the tag.

Type: Number

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: eq, ne, lt, lte, gt, gte

Read-only: Yes

Posts (posts)

Description: A list of posts with this tag, referenced from the Blog/Posts collection.

Type: Multiple-item reference

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: Yes

Read-only: Yes

Tag Page URL (tagPageUrl)

Description: The URL of the tag page on your published site.

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

Slug (slug)

Description: Slug of the tag to retrieve.

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

Was this helpful?
Yes
No