Hello,
Are aggregation terms in the Object API working as intended? I am following the tutorial of the documentation,
Using Aggregation Terms with REST APIs - Liferay Official Documentation - Liferay Learn
but not even the example aggregationTerms seem to be working correctly. Using “description” as a term works, but hardly even makes sense, but “dateModified” does not seem to be a supported term and only ever returns 404. Practically the only ones I got to work where “title”, “description”, and “id”, which is not very useful.
I am looking to get tagged categories to work as aggregation terms, but while that works in the search api using
{
"facetConfigurations": [
{
"name": "category"
}
]
}
as the post request body, I don’t have that option in the object api.
Version: DXP 2025.Q1
We are currently on DXP 2025.Q1
– Simon_MaurerHi Simon, this looks like is a bug, is working always only for fields created by you in the Object, as dateModified is part of any custom Object, not a custom field added by you, is returning a 404. You can create a bug with it, and our support team will provide a hot-fix.
– RoselaineMarques