cancel
Showing results for 
Search instead for 
Did you mean: 

Why doesn't work ? sites?fields=title

taskinbinbir
Champ in-the-making
Champ in-the-making

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

5 REPLIES 5

afaust
Legendary Innovator
Legendary Innovator

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?

taskinbinbir
Champ in-the-making
Champ in-the-making

My alfresco 201702.

mehe
Elite Collaborator
Elite Collaborator

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...

afaust
Legendary Innovator
Legendary Innovator

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

mehe
Elite Collaborator
Elite Collaborator

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