cancel
Showing results for 
Search instead for 
Did you mean: 

WebDAV in Windows (change folder name to use cm:title) ???

nenad982
Champ on-the-rise
Champ on-the-rise
Hi all,

because I am in big harry I have one very important question related to WebDAV in Windows.

Do you know maybe can we somehow change node name in Windows Explorer (to use cm:title instead cm:name for node with specific type)? Is there any java class (servlet) that we can extend to achieve this? So I just want to change display name of the link, not the link url when we view/edit repository using WebDAV and Windows Explorer.

I did this using org.alfresco.repo.webdav.GetMethod.java class, but it only changed link title when we call webdav services using browser (http://servername/alfresco/webdav) not when we access using Windows Explorer.

Is it possible to do that at all?

Thanks in advance…
2 REPLIES 2

kaynezhang
World-Class Innovator
World-Class Innovator

As far as I know windows explorer and browser should use the the url address http://servername/alfresco/webdav.
So If you have modified org.alfresco.repo.webdav.GetMethod,I should work for both clients.Have you tried use Windows Explorer in other computer,maybe the result is cached.
Tell me if I am wrong.

Windows Explorer using org.alfresco.repo.webdav.PropFindMethod to create folder structure of repository. For each folder structure is built xml configuration that represents that structure. Each folder (e.i. Share site…) has prop that represents path to resource


<D:href>


and also has display name


<D:displayname>


but by the most WebDAV clients this display name (user friendly representation) is ignored and only is used last part of the path. Windows Explorer ignores display name also.

org.alfresco.repo.webdav.GetMethod is used only to build view mode of repository in web browser.

Regards