Administration
This page is for administrators who install, configure and operate the Report Builder. It collects what is needed to run it and links to the other pages for details. The requirements are listed in the chapter overview.
Enable the Report Builder
There is no switch to turn on. Install the bundles of the requirements, then clear the cache:
bin/console cache:clear
Open Custom Reports in Pimcore Studio, create a report and select Report Builder as the data source type
(adapter reportBuilder). The settings in pimcore_statistics_explorer.report_builder are optional, see
Configuration Options.
Permissions and Sharing
See Permissions and Sharing and Who Can Do What.
How Permissions Shape Results
See Workspaces.
Reportable Data
See Reportable Data.
Indexing
Reports read the Generic Data Index, so a result is as current as the index. Changes of elements show up after the index queue has processed them (see the Generic Data Index documentation for the workers).
Update the index after these changes:
| Change | Command |
|---|---|
| A class definition changed (new or changed field) | bin/console generic-data-index:update:index -c <class id> |
| New asset metadata or asset fields | bin/console generic-data-index:update:index -a |
| New document fields | bin/console generic-data-index:update:index -d |
| Installing the Generic Data Index release that adds workflow places, or any Generic Data Index fix of the index mapping | bin/console generic-data-index:update:index |
generic-data-index:update:index updates mapping and data; without options it covers all indices. Elements indexed
before a field existed have no value for it until they are reindexed. See
Workflow Places.
Settings
Performance
- Set
group_limitfor the heap of the search nodes. Large groupings can exhaust the heap beforesearch.max_bucketsstops them. - Prefer
toplimits on group fields, larger time buckets and filters over unbounded groupings. - Groupings by fields of related elements merge groups in memory and cost more than groupings by own fields.
- The builder preview is capped at 50 rows or 50 groups per group field and never runs a full table.
- Reports run on the index. Keep the index queue workers running so results stay current.
MCP Tools for Agents
See MCP Tools.
Troubleshooting
| Message or symptom | Cause and action |
|---|---|
422, unknown field "x" in ... | The configuration names a field that is not in the catalog (renamed or deleted in the class, or not queryable). Fix the field in the builder. |
422, Field "x" is not in the search index (...); update the index with "generic-data-index:update:index". | The class changed and the index does not hold the field yet. Update the index as in Indexing. |
422, The places of "x" are not in the search index ... | The Generic Data Index does not index workflow places. Upgrade it, then update the index. |
422, The report has to build about N groups, more than M allowed here ... | Too many groups. Lower top, group by fewer fields, use a larger time bucket or filter. |
422, The report creates up to N groups, more than the limit ... | The groups that exist exceed the limit and nothing can be cut further (every field is down to one group, or a time bucket level is too large); the message names both numbers. Otherwise fields without top are cut, then the deepest top is lowered, and the result is flagged. See Group Limit. |
| Notice "Showing the first groups only ..." | The result is truncated at the summary group limit. Set top or narrow the report. |
| Filter through a relation fails with a limit error | Too many related elements the report refers to, see Lookup Depth. |
(restricted) or restricted cells, counts differ between users | Workspace restrictions of the viewer, see Workspaces. |
| Report shows a notice instead of the builder | The Pimcore Studio UI lacks the Report Builder extension points. Update pimcore/studio-ui-bundle. |
403 | Missing permission, report not shared with the user, or no view permission for the report language. |
404 on a report | The report does not exist. |
500 | The search failed. The details are in the Pimcore log, not in the answer. |
MCP internal_error with ref: <id> | Search the Pimcore log for that id. |