cancel
Showing results for 
Search instead for 
Did you mean: 

Folder Listing Sample doesnt work

ddanninger
Champ in-the-making
Champ in-the-making
Hello,

When I call http://ddsrv01:8080/alfresco/service/sample/folder/Company%20Home

an error 404 is comming:

"Folder Company Home not found."

I use the Alfresco Version 2.9B.

Can somebody help me please.

Greets
Dominik
8 REPLIES 8

davidc
Star Contributor
Star Contributor
Are you authenticating as a user who has read access to Compay Home?

ddanninger
Champ in-the-making
Champ in-the-making
Yes i logged in with admin

davidc
Star Contributor
Star Contributor
Does Company Home actually exist?  Have you checked in the web client?

Have you tried another folder?

ddanninger
Champ in-the-making
Champ in-the-making

davidc
Star Contributor
Star Contributor
Try using the actual display name of the folder which in your case has changed due to translation to another language.

ddanninger
Champ in-the-making
Champ in-the-making
Thanks it works.
Is this usual?

davidc
Star Contributor
Star Contributor
Not sure what you mean by usual, but this sample happens to use display name to reference folders.  It's possible to write a script that alternatively references by id or qname, both of which are not affected by translation.

ddanninger
Champ in-the-making
Champ in-the-making
o.k so i have to write a script because i want to read the folders for a treemenu.

And this should be avaible in all languages.