Hi Roger,

Jahia 4 no longer uses this service which has been replaced by an integration with Slide, making files uploaded in Jahia accessible through a WebDAV interface.

Regards,
 Serge Huber.

Roger Fraisse wrote:

I manage to get the list of the file containing in a page, I use the following method but it does not return anything !!

out.print(ServicesRegistry.getInstance().getJahiaFilemanagerService
().getFilesByPage(jParams.getSite().getID(),jData.page().getID(),true).toString
());

Is there the right method to get the list of the file of a page.

I have another question : What is the difference between a Folder and a Directory ?

I would use the method "getFilesByFolderDB(int folderID, String orderSql) " to get the list of the file of a directory. Is this the right method to have the list of the file of a folder (directory) and how could I retrieve the ID of a folder ?
Because I get a page where a have some files and when I use the method file.getFolderID() it returns -1 for all the files. I don't understand why !!!


If someone could help me !!!

Thanks


Roger









Reply via email to