Tag: absolute path

Determining Absolute Path for FileEntry in Liferay

In case you are wondering how to determine the absolute path to FileEntry objects in Liferay (i.e. Document and Media Library elements) here is how it works. First, add the following to your portal-ext.properties: Then, to calculate the absolute path for a FileEntry use the following code: Note that in order to get the foldername […]