Foren

Document Library - Remove Old Revisions

Marc Piparo, geändert vor 12 Jahren.

Document Library - Remove Old Revisions

Junior Member Beiträge: 43 Beitrittsdatum: 14.03.11 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: Document Library - Remove Old Revisions

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: Document Library - Remove Old Revisions

Junior Member Beiträge: 43 Beitrittsdatum: 14.03.11 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: Document Library - Remove Old Revisions

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Document Library - Remove Old Revisions

New Member Beitrag: 1 Beitrittsdatum: 26.09.16 Neueste Beiträge
This functions you use offline.
Folder folder = getFolder(themeDisplay);
DLAppServiceUtil.deleteFileEntryByTitle(folder.getRepositoryId(), folder.getFolderId(), "3873892363_0604e9c679.jpg");

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