This article explains the fixed permissions and field structure for the following Wix Blog collections:
Note: These collections are system collections, so you can't change their permissions in the CMS.
Tip: Before continuing, make sure you've read Working with Wix App Collections.
This section explains the permissions and fields available in the Categories collection.
To use the Categories collection in code, refer to it as Blog/Categories.
The Categories collection has the following permissions:
read: ANYONEcreate: Noneupdate: Noneremove: NoneThis section describes each field in this collection and its properties.
Each field heading shows the field name followed by the field ID in parentheses, in the format "fieldName (fieldId)".
_id)Description: The ID of the blog category. This is a system field and is hidden by default.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: Yes
Filter Support: eq, ne
Read-only: Yes
label)Description: The name of the category as it appears in the Blog menu.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: Yes
Sortable: Yes
Filter Support: eq, ne, contains, startsWith, hasSome
Read-only: Yes
postCount)Description: The number of posts in the category.
Type: Number
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: Yes
Filter Support: eq, ne, lt, lte, gt, gte
Read-only: Yes
posts)Description: A list of posts in this category, referenced from the Blog/Posts collection.
Type: Multiple-item reference
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: Yes
Read-only: Yes
language)Description: The category language.
Type: Language
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: Yes
Read-only: Yes
translationId)Description: ID of the category's translations.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: Yes
Read-only: Yes
categoryPageSlug)Description: The slug of the category page on your published site.
Type: URL
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
categoryPageUrl)Description: The URL of the category page on your published site.
Type: URL
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
coverImage)Description: Category cover image.
Type: Image
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
description)Description: Category description.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
slug)Description: Slug of the category to retrieve.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: Yes
Sortable: No
Filter Support: No
Read-only: Yes
This section explains the permissions and fields available in the Posts collection.
To use the Posts collection in code, refer to it as Blog/Posts.
The Posts collection has the following permissions:
read: ANYONEcreate: Noneupdate: Noneremove: NoneThis section describes each field in this collection and its properties.
Each field heading shows the field name followed by the field ID in parentheses, in the format "fieldName (fieldId)".
_id)Description: The ID of the post. This is a system field and is hidden by default.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: Yes
Filter Support: eq, ne
Read-only: Yes
title)Description: The title of the post.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: Yes
Sortable: Yes
Filter Support: eq, ne, contains, startsWith, hasSome
Read-only: Yes
publishedDate)Description: The date the post was originally published.
Type: Date
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: Yes
Filter Support: eq, ne, lt, lte, gt, gte
Read-only: Yes
coverImage)Description: The cover image of the post.
Type: Image
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
categories)Description: The categories assigned to the post, referenced from the Blog/Categories collection.
Type: Multiple-item reference
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: hasAll, hasSome, contains
Read-only: Yes
mainCategory)Description:
Type: Reference
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: Yes
Read-only: Yes
plainContent)Description: The text of the post without any formatting.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
richContent)Description:
Type: Rich Content
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
excerpt)Description: A few lines of text that appear in the blog feed. Defined in Post Settings or default of first 160 characters of the post.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
hashtags)Description: List of all hashtags in the post.
Type: Tags
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: hasAll, hasSome
Read-only: Yes
viewCount)Description: The number of times the post was viewed.
Type: Number
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: Yes
Filter Support: eq, ne, lt, lte, gt, gte
Read-only: Yes
Note: viewCount data used on your site pages may require up to 24 hours to update. To make sure new post views are included on your site in real time, disable caching for any page that uses viewCount data. Note that disabling caching may increase your page loading time.
likeCount)Description: The number of likes the post received (from members only).
Type: Number
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: Yes
Filter Support: eq, ne, lt, lte, gt, gte
Read-only: Yes
Note: likeCount data used on your site pages may require up to 24 hours to update. To make sure new post likes are included on your site in real time, disable caching for any page that uses likeCount data. Note that disabling caching may increase your page loading time.
commentCount)Description: The number of comments the post received (from members only).
Type: Number
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: Yes
Filter Support: eq, ne, lt, lte, gt, gte
Read-only: Yes
featured)Description: Indicates whether the post is set as featured in the post settings.
Type: Boolean
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: eq, ne
Read-only: Yes
pinned)Description: Indicates whether the post was pinned to the top of the page in the live site.
Type: Boolean
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: eq, ne
Read-only: Yes
lastPublishedDate)Description: The most recent publish date of the post.
Type: Date
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: Yes
Filter Support: eq, ne, lt, lte, gt, gte
Read-only: Yes
coverImageDisplayed)Description: Indicates whether the cover image is displayed in the feed. If false, the cover image is displayed only when you share the post on social media.
Type: Boolean
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: eq, ne
Read-only: Yes
postPageURL)Description: The relative URL of the post page on your published site.
Type: URL
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
language)Description:
Type: Language
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: Yes
Read-only: Yes
translationId)Description:
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: Yes
Read-only: Yes
timeToRead)Description: Estimated time in minutes required to read the post.
Type: Number
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
relatedPosts)Description:
Type: Multi-Reference
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: No
Read-only: Yes
tags)Description:
Type: Multi-Reference
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: Yes
Read-only: Yes
author)Description:
Type: Reference
Can connect to data: No
Can use in dynamic page URL: No
Sortable: No
Filter Support: Yes
Read-only: Yes
slug)Description:
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: Yes
Sortable: No
Filter Support: No
Read-only: Yes
paidPlans)Description:
Type: Multi-Reference
Can connect to data:
Can use in dynamic page URL: No
Sortable: No
Filter Support: Yes
Read-only: Yes
This section explains the permissions and fields available in the Tags collection.
To use the Tags collection in code, refer to it as Blog/Tags.
The Tags collection has the following permissions:
read: ANYONEcreate: Noneupdate: Noneremove: NoneThis section describes each field in this collection and its properties.
Each field heading shows the field name followed by the field ID in parentheses, in the format "fieldName (fieldId)".
_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
Sortable: Yes
Filter Support: eq, ne
Read-only: Yes
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
Sortable: Yes
Filter Support: eq, ne, contains, startsWith, hasSome
Read-only: Yes
postCount)Description: The number of posts with the tag.
Type: Number
Can connect to data: Yes
Can use in dynamic page URL: No
Sortable: Yes
Filter Support: eq, ne, lt, lte, gt, gte
Read-only: Yes
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
Sortable: No
Filter Support: Yes
Read-only: Yes
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
Sortable: No
Filter Support: No
Read-only: Yes
slug)Description: Slug of the tag to retrieve.
Type: Text
Can connect to data: Yes
Can use in dynamic page URL: Yes
Sortable: No
Filter Support: No
Read-only: Yes