Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Disable versioning in document & media
Hi All,
We would like to disable the versioning completely in documents &
media, so that we always have one version. I m able to disable the
version for particular article by passing DLVersionNumberIncrease.NONE
in updateFileEntry method.
Issue : We are able to download the
file which is updated, it works as expected but we dont see the
changes in control panel preview images / last updated time is not
proper. Any inputs on this and do we have anyother way to disable the
version completely through portal-ext or osgi/configs?
dlAppLocalService.updateFileEntry( | |
long userId, long fileEntryId, String sourceFileName, | |
String mimeType, String title, String description, String changeLog, | |
DLVersionNumberIncrease dlVersionNumberIncrease, InputStream is, | |
long size, ServiceContext serviceContext) |
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™