How can i change default document upload location in Liferay?

357 Views Asked by At

i have to change the default document upload location in liferay. i am uploading document via CMS in liferay.

Any help is highly appreciated.

2

There are 2 best solutions below

0
KlajdPaja On BEST ANSWER

By default document library stores the files/folder in: ${liferay.home}/data/document_library To change this you can add a property in portal-ext.properties

dl.hook.file.system.root.dir=${newPath} and that should be enough.

0
Sushank Dahiwadkar On

For modifying default file upload location add new key in portal.properties

dl.store.file.system.root.dir = {new_path}