contentbox-boxlang-content-typeslisted
Install: claude install-skill ColdBox/skills
# ContentBox Content Types & Custom Fields (BoxLang)
Extend ContentBox content types and add custom fields using BoxLang. ContentBox supports entries, pages, and ContentStore items with extensible custom field capabilities.
## Content Types
ContentBox has three primary content types:
| Type | Entity | Service | Description |
|------|--------|---------|-------------|
| **Entries** | `Entry` | `entryService@contentbox` | Blog posts with dates, categories, comments |
| **Pages** | `Page` | `pageService@contentbox` | Static pages with hierarchical structure |
| **ContentStore** | `ContentStore` | `contentStoreService@contentbox` | Key-value content blocks |
### Entry Entity
```boxlang
property name="entryService" inject="entryService@contentbox"
// Entry properties
entry.getEntryID()
entry.getTitle()
entry.getSlug()
entry.getHTMLContent()
entry.getPlainTextContent()
entry.getPublishedDate()
entry.getCreatedDate()
entry.getModifiedDate()
entry.getIsActive()
entry.getIsPublished()
entry.getHits()
entry.getNumberOfComments()
// Relationships
entry.getAuthor() // Author entity
entry.getCategories() // Query of categories
entry.getComments() // Query of comments
entry.getSite() // Site entity
entry.getFeaturedImage() // Media entity
// Status
entry.getStatus() // "published", "draft", "pending"
entry.isPublished()
entry.isDraft()
```
### Page Entity
```boxlang
property name="pageService" inject="pageService@