orderBy is not supported for custom content


I am getting this when attempting to orderby on some custom content - the message is very clear but I want to check if this really is a limitation with no workaround?

At the moment I am implementing paging for my custom content but without a sane / consistent sort order it is very hard to get a workable solution besides the default return order.

orderby: 'history.createdDate desc'

Going to

GET /rest/api/content... etc...


{status: 500, statusText: "error", responseText: "{"statusCode":500,"message":"java.lang.IllegalArgu…on: orderBy is not supported for custom content"}", getResponseHeader: ƒ, getAllResponseHeaders: ƒ}
1 Like