Foros de discusión

Need explanation on Document tables

TOM S, modificado hace 8 años.

Need explanation on Document tables

New Member Mensajes: 14 Fecha de incorporación: 6/08/14 Mensajes recientes
Can some one please explain me the use of these tables ?


dlfileentry,-
dlfilerank-
,dlfileshortcut,-
dlfileversion,-
dlfolder-


Many Thanks
thumbnail
Jan Geißler, modificado hace 8 años.

RE: Need explanation on Document tables

Liferay Master Mensajes: 735 Fecha de incorporación: 5/07/11 Mensajes recientes
I could, but first I want to know:
Why?
If you look around in the forum, David H. Nebinger and me are always warning from accessing the database directly in WRITE mode. If you want to add something, always use the Liferay Services. There are many many Remote ways of doing that, as well as from your custom code.

dlfileentry ( The location of the file which was uploaded and some additional stuff)
dlfilerank -> See here
dlfileshortcut -> Shortcuts a user created for a document. More Information is here.
dlfileversion,- ( every Version of a File, the current is referenced in dlfileentry)
dlfolder- ( The Folders and Hierarchy of a given Document Library -> For example the guest group)
TOM S, modificado hace 8 años.

RE: Need explanation on Document tables

New Member Mensajes: 14 Fecha de incorporación: 6/08/14 Mensajes recientes
HI Jan

I just asked for knowledge gathering

Thank you , that was informative emoticon
thumbnail
Olaf Kock, modificado hace 8 años.

RE: Need explanation on Document tables

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
It's a lot better to gather knowledge in other areas than data storage. Almost always when you think you understand what's going on there, you're missing something. Just assume that the database is an opaque block and learn something where it's recommended to learn it. The database content is far from it.
Taruchit Goyal, modificado hace 5 años.

RE: Need explanation on Document tables

Junior Member Mensajes: 60 Fecha de incorporación: 16/03/18 Mensajes recientes

Hello Jan,

When I upload a document with same title one after another for three times, the version of the document reflected in DLFileEntry and DLFileVersion are different.

Can you share some information regarding it?

When I see the version on portal, it shows the latest one.

Thanks

Taruchit Goyal