Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Unable to get webdav url
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
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
In 7.2 Liferay ,
DLURLHelperUtil.getWebDavURL(themeDisplay, fileEntry.getFolder(), fileEntry); try this methods
DLURLHelperUtil.getWebDavURL(themeDisplay, fileEntry.getFolder(), fileEntry); try this methods