Why doesn't work ? sites?fields=title

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

Why doesn't work ? sites?fields=title

192.168.10.33:8091/alfresco/api/-default-/public/alfresco/versions/1/people/p1372/sites?fields=title

5 Replies
Highlighted
Master

Re: Why doesn't work ? sites?fields=title

You may want to increase logging for org.alfresco.rest.framework.webscripts.ResourceWebScriptGet to check wether the fields parameter is properly recognised. When set to debug you should see an output line about "Filtering using the following properties" when the fields parameter is correctly recognised.

I see no inherent bug in the source code. Are you sure you are using the latest stable version of Alfresco for your release?

Highlighted
Member II

Re: Why doesn't work ? sites?fields=title

My alfresco 201702.

Highlighted
Senior Member II

Re: Why doesn't work ? sites?fields=title

because the "title" is in the sub-object "site" of the entry. You can see this when using fields=site
You would have to figure out how to address the sub field - my naive approach would have been fields=site.title but this doesn't seem to work either...

Highlighted
Master

Re:       Why doesn't work ? sites?fields=title

Too bad, I just suggested that in one of his other, nearly identical threads....

Highlighted
Senior Member II

Re: Why doesn't work ? sites?fields=title

Also site[... doesn‘t fit Smiley Sad