DocumentListComponent [Where] syntax?

Showing results for 
Search instead for 
Did you mean: 
Member II

DocumentListComponent [Where] syntax?

So the document list component, have a [where] property which is able to filter the data in the list.

When I try the example:

it works perfectly.

My question is regarding the syntax, how do I filter the data by a property on the nodes.
I want to do something like:
[where]="'(properties['myprop']='some value')'"

According to the docs for the documentlistcomponent pointing to the node docs: it should be possible. 

I have also looked into the API explorer!/nodes/listNodeChildren but can't figure out the syntax.

Thanks in advance.

1 Reply
Senior Member

Re: DocumentListComponent [Where] syntax?

I’m fairly certain that the getChildren REST API does not support properties in the where parameter, but I could be wrong. I am checking on this for you.

I am not quite sure what you are trying to acheive, but I suggest you look into leveraging the Search REST API would give the level of control you looking for. If you need to start filtering by complex queries - the Search API is the way to go.