Fórum

How to access ROOT folder object

Katarzyna B, modificado 12 Anos atrás.

How to access ROOT folder object

New Member Postagens: 18 Data de Entrada: 07/01/12 Postagens Recentes
Hello,

I'm unable to access DLFolder object for ROOT folder (Documents Home) in Document Library. Is there any way to do it?
ROOT folder's id is 0 (zero), but when I call any method for accessing folders from DLFolderLocalServiceUtil it gives me NoSuchFolderException.

Any ideas?
Thanks,
Katarzyna
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: How to access ROOT folder object

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
If version of Liferay are you using? Earlier Liferay 6.0.x had this problem.

You can access the ROOT folder using WebDAV to delete entries. Recommend that you create sub-folders to put files.