Returns : {
“message”: “Query $filter clause not valid.”,
“details”: [
“Could not find a property named ‘id’ on type ‘Squidex.genericpage’.”
],
“statusCode”: 400
}
The use case is to use a part of the id to get a document, the id fragment is the document identifiers in our Urls.
We could use the complete id but that makes Urls very long (ang ugly).
Am I doing something wrong ? Is this even possible ?
Last question, I was wondering why the media model in returns a collection by default ? Most the time I need a unique item, for exemple Image for an article and I get a enumerable. Not a big problem (I do a firstordefault()) but I was wondering about the rational here.
Well I must think about it but I expected a simple reference for the media, a singleton. If I needed a collection of media in my schema I would nest an entity with a single media field (which would nicely inherit form the new orderable feature (thanks by the way)). But that’s entierely debatable.