I have made a portlet that uploads a document from a form.
I have tried by making a simple dynamic java project and made a form
to upload the document, that document is saved in LiferayWorkspace/.metadata/plugins/.../project/document.docx
.
Now I have used this form
in the portlet and it saves the document, which works fine, but I was wondering where did it save my uploaded document?
I have searched the tomcat directory and possible areas already.
Also if anyone could tell me where does in liferay 6.1 using "Dynamic Data List" portlet, documents are placed after uploading.
Liferay has its configuration settings stored in portal-ext.properties which is placed in liferay-portal-tomcat-6.1/liferay-portal-6.1/ directory.
you can change from there as well
#
# FileStore
#
dl.store.file.system.root.dir=${liferay.home}/data/document_library
The default store folder is portal-folder/data/document_library
but you can change it by liferay configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With