Foros de discusión

Document Library - Remove Old Revisions

Marc Piparo, modificado hace 12 años.

Document Library - Remove Old Revisions

Junior Member Mensajes: 43 Fecha de incorporación: 14/03/11 Mensajes recientes
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 hace 12 años.

RE: Document Library - Remove Old Revisions

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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 hace 12 años.

RE: Document Library - Remove Old Revisions

Junior Member Mensajes: 43 Fecha de incorporación: 14/03/11 Mensajes recientes
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 hace 12 años.

RE: Document Library - Remove Old Revisions

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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 hace 7 años.

RE: Document Library - Remove Old Revisions

New Member Mensaje: 1 Fecha de incorporación: 26/09/16 Mensajes recientes
This functions you use offline.
Folder folder = getFolder(themeDisplay);
DLAppServiceUtil.deleteFileEntryByTitle(folder.getRepositoryId(), folder.getFolderId(), "3873892363_0604e9c679.jpg");

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