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: How the Document Library Works?
Hi,
I have been trying to understand the Document Library portlet, and I have some questions.
When I set dl.hook.impl=com.liferay.documentlibrary.util.FileSystemHook I tought that the contents must have been stored on the file system, but only references are stored, and the documents are stored on the Data Base.
So, are the files always stored on the data base independient of the hook set?
Are there any way to store the files on the File System or another system?
If I set the hook to JackRabbit, the documents are stored on the Data Base too?
I need to make an application that store the contents on Alfresco, and I need to know if is possible to do that from the Document Library adding a new Hook.
Thanks,
Tony
I have been trying to understand the Document Library portlet, and I have some questions.
When I set dl.hook.impl=com.liferay.documentlibrary.util.FileSystemHook I tought that the contents must have been stored on the file system, but only references are stored, and the documents are stored on the Data Base.
So, are the files always stored on the data base independient of the hook set?
Are there any way to store the files on the File System or another system?
If I set the hook to JackRabbit, the documents are stored on the Data Base too?
I need to make an application that store the contents on Alfresco, and I need to know if is possible to do that from the Document Library adding a new Hook.
Thanks,
Tony
Hi Tony, I never used FileSystemHook myself, but looking at its source code, I see that it stores the contents in a folder set in portal.properties: dl.hook.file.system.root.dir. The meta-data is always stored in the database, hooks are responsible for storing the actual content.
Thanks Bruno,
now I see clearer. Is the fisrt time I work with a ECM or CMS and I don´t know its operation.
Tony
now I see clearer. Is the fisrt time I work with a ECM or CMS and I don´t know its operation.
Tony