Fórum

Accessing Uploaded Files By Multiple Sites to a Same Folder Name

thumbnail
Suresh Nimmakayala, modificado 6 Anos atrás.

Accessing Uploaded Files By Multiple Sites to a Same Folder Name

Liferay Master Postagens: 690 Data de Entrada: 18/08/04 Postagens Recentes
Hi Everyone
In Every Site when user upload to File to Application1 Folder, it creates a Folder in that site with that Name ,if not exist and upload files to that folder, all good user can see their own files that’s what we want


However I have a requirement If I am a Application1 Manager want to see all the Files attached to that’s Application1 Folder from all sites in one place how can we achieve this ?

I am thinking
1.First create role File Manager, define permission to manage files
2.we need to create a folder Application1 in Global scope and every time file upload , need to check that file and folder exist in Global scope if not add or update and give the permission to File Manager is this a better way to achieve ?

appreciate for any thoughts and comments cheers
thumbnail
Suresh Nimmakayala, modificado 6 Anos atrás.

RE: Accessing Uploaded Files By Multiple Sites to a Same Folder Name

Liferay Master Postagens: 690 Data de Entrada: 18/08/04 Postagens Recentes
never mind only admin has to see and manage the all the files in one place corresponding to that folder name,
so finally i have not created global folder,
i write custom method to get all the files with that folder name from all sites and show'd who is uploaded from which site and assigned role as earlier said"1.First create role File Manager, define permission to manage files"

Thanks