Includes additional persistent query examples for Content Fragments:
adventure-by-path - Returns an adventure based on a path
adventure-by-price - Filters an adventure list based on a price and a given operator (greater than, less than, equal...)
adventure-by-slug - Filters an adventure list based on a slug (shortened unique identifier)
adventures-all - Returns all adventures
article-by-author - Filters an article list based on the author's first and last name (separate parameters)
article-by-path - Returns an article based on a path to a fragment
articles-all - Returns all articles
Related Issue
Motivation and Context
AEM Headless best practices should use Persistent queries whenever possible. This shows several examples of using persistent queries against WKND content.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
Includes additional persistent query examples for Content Fragments:
adventure-by-path
- Returns an adventure based on a pathadventure-by-price
- Filters an adventure list based on a price and a given operator (greater than, less than, equal...)adventure-by-slug
- Filters an adventure list based on a slug (shortened unique identifier)adventures-all
- Returns all adventuresarticle-by-author
- Filters an article list based on the author's first and last name (separate parameters)article-by-path
- Returns an article based on a path to a fragmentarticles-all
- Returns all articlesRelated Issue
Motivation and Context
AEM Headless best practices should use Persistent queries whenever possible. This shows several examples of using persistent queries against WKND content.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: