cancel
Showing results for 
Search instead for 
Did you mean: 

How to put webdav url for spaces or documents in templates

tico
Champ in-the-making
Champ in-the-making
Hello you all,

I am trying to get the webdav url in email templates with no chance… Could some one give me a help ?

I tried the following:
http://localhost/alfresco/webdav${space.displayPath}

Unfortunately, it gives the companyHome in the path, which doesnt exist in webdav.

Thanks and regards.
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
You can use the various substring() […] functions in FreeMarker to manipulate the string and remove the /Company Home part of the part - as they rest is a valid webdav path.
http://freemarker.sourceforge.net/docs/ref_builtins_string.html

Thanks,

Kevin

tico
Champ in-the-making
Champ in-the-making
Thanks kevin (once more !! Smiley Wink

I'll have a look.

Regards,

Eric.