留言板

Document Library - Remove Old Revisions

Marc Piparo,修改在12 年前。

Document Library - Remove Old Revisions

Junior Member 帖子: 43 加入日期: 11-3-14 最近的帖子
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,修改在12 年前。

RE: Document Library - Remove Old Revisions

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
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,修改在12 年前。

RE: Document Library - Remove Old Revisions

Junior Member 帖子: 43 加入日期: 11-3-14 最近的帖子
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,修改在12 年前。

RE: Document Library - Remove Old Revisions

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
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,修改在7 年前。

RE: Document Library - Remove Old Revisions

New Member 发布: 1 加入日期: 16-9-26 最近的帖子
This functions you use offline.
Folder folder = getFolder(themeDisplay);
DLAppServiceUtil.deleteFileEntryByTitle(folder.getRepositoryId(), folder.getFolderId(), "3873892363_0604e9c679.jpg");

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