Scalix Insights1 min read
Boosting Frappe: Paginated child doctypes
By Prafful Suthar
Paginated Child Tables
For listing Email Group linked to a Newsletter castlecraft you can query it as belows
API
https://<YOUR_FRAPPE_SITE>/api/method/frappe_utils.common.crud.get_paginated_list?
doctype=Newsletter Email Group
fields=["*"]
filters=[
[
"parent","=","castlecraft"
]
]
limit_start=0
limit_page_length=5
CURL
curl 'https://<YOUR_FRAPPE_SITE>/api/method/frappe_utils.common.crud.get_paginated_list?doctype=Newsletter%20Email%20Group&fields=%5B%22*%22%5D&filters=%5B%5B%22parent%22%2C%22%3D%22%2C%22castlecraft%22%5D%5D&limit_start=0&limit_page_length=1'
All filters used in frappe listing API can be used here.
About the author
Prafful Suthar writes for Scalix on enterprise platforms, high-throughput systems, and ERP delivery. Scalix builds and migrates mission-critical software for regulated and scale-heavy organizations from Mumbai and remote-first teams. See our case studies for problem–solution–result write-ups, or contact us about your roadmap.