Does /content/filter api not allow filter on "name" field?
When using /content/filter endpoint in the Umbraco Heartcore Delivery API, it seems i cannot filter on "predefined" fields such as name (being the node name/title in the API response). Is this intentional and if so, why?
Also, how can i Filter on nested content, such as selected nodes in a "Multinode Treepicker"?
The alias for the standard Name field is "nodeName" so try using that as the alias.
For nested content, I don't think that is possible as its the alias for the property editor that is used and not in a nested fashion. But if you post a few more details about your nested content and multinode setup we can dive into what is possible.
Any assistance on how to make this happen is very appreciated, I can remodel the relation to something more appropriate if required. The only requirement from my side is that the offer cannot be a child node of the model and must remain in hierarchy with its customer.
Does /content/filter api not allow filter on "name" field?
When using
/content/filter
endpoint in the Umbraco Heartcore Delivery API, it seems i cannot filter on "predefined" fields such asname
(being the node name/title in the API response). Is this intentional and if so, why?Also, how can i Filter on nested content, such as selected nodes in a "Multinode Treepicker"?
The alias for the standard Name field is "nodeName" so try using that as the alias.
For nested content, I don't think that is possible as its the alias for the property editor that is used and not in a nested fashion. But if you post a few more details about your nested content and multinode setup we can dive into what is possible.
/ Morten
Thanks for clearifying! Is this documented somewhere? Are there other properties that are renamed in the json-output?
For the nested example, I might be taking a detour trying to setup my backoffice like this but here goes:
I have documents like this (where
Cars
andOffers
are two root nodesI then want to find all
Offer
where the Multinode Treepickermodel
isXC90
I try doing this using
/content/filter/
with something like:Any assistance on how to make this happen is very appreciated, I can remodel the relation to something more appropriate if required. The only requirement from my side is that the
offer
cannot be a child node of themodel
and must remain in hierarchy with itscustomer
.is working on a reply...