RE: Unable to get webdav url

Nagaraju Uppalapati, modified 10 Years ago. New Member Posts: 24 Join Date: 6/29/15 Recent Posts
Hi All,

I am trying to get the file physical path or the webdav url but not getting success.

I am trying to copy the file from "document and media" section to a local folder in designated server location. To achieve this I am trying to get the physical path of the file.

Single approval workflow is in place and have mapped it to a folder in "document and media". In the approval script section, the code which I wrote is not working properly.

Your suggestions will be really helpful to find the file physical path or the webdav url.
I am using Liferay 6.2.

Thanks,
Nagaraju
thumbnail
Samuel Kong, modified 10 Years ago. Liferay Legend Posts: 1902 Join Date: 3/10/08 Recent Posts
Take a look at DLUtil.getWebDavURL
thumbnail
Karthik Nainupatruni, modified 5 Years ago. Junior Member Posts: 28 Join Date: 5/5/15 Recent Posts
In 7.2 Liferay ,
​​​​​​​DLURLHelperUtil.getWebDavURL(themeDisplay, fileEntry.getFolder(), fileEntry); try this methods