Fórum

Document Library - Remove Old Revisions

Marc Piparo, modificado 12 Anos atrás.

Document Library - Remove Old Revisions

Junior Member Postagens: 43 Data de Entrada: 14/03/11 Postagens Recentes
Hi all.
Using LR 6.0.6
How do i remove older/specific revisions of a document? I do not see a mechanism in the UI??
thanks!
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Document Library - Remove Old Revisions

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Just click on the document file from the Document Library in the Control Panel and "Version History" with list of all version should show up. Just click on the "Delete" link in the left hand side.
Marc Piparo, modificado 12 Anos atrás.

RE: Document Library - Remove Old Revisions

Junior Member Postagens: 43 Data de Entrada: 14/03/11 Postagens Recentes
thanks!
For some reason when I was clicking on the file entry from within the Document Library in the Control Panel I was not seeing the file details page and an error was being thrown. After a restart I able to get to the file details page and see the version history listing to delete the entry. strange??
thanks.
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Document Library - Remove Old Revisions

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Just for my information, what kind of error were you getting. Would appreciate if you can post the error message just in case someone else
comes up with a similar problem.
thumbnail
Bui Nguyen Bui, modificado 7 Anos atrás.

RE: Document Library - Remove Old Revisions

New Member Mensagem: 1 Data de Entrada: 26/09/16 Postagens Recentes
This functions you use offline.
Folder folder = getFolder(themeDisplay);
DLAppServiceUtil.deleteFileEntryByTitle(folder.getRepositoryId(), folder.getFolderId(), "3873892363_0604e9c679.jpg");

Wish success!!!!!!!!!!!!!!!!!!