从Liferay portlet中删除“自动提取的元数据和版本历史记录”

时间:2015-06-11 06:51:36

标签: liferay

我想删除“自动提取的元数据和版本历史记录”以及类似的内容: “版本1.0 最近由管理员更新 5/5/15 5:24 PM 状态:已批准
下载(911k)获取URL或WebDAV URL。“形成文档和媒体Portlet。我如何实现这一目标?

1 个答案:

答案 0 :(得分:2)

发布在这里: http://www.liferay.com/de/community/forums/-/message_boards/message/26039804

从portal-ext.properties中的dl.file.entry.processors中删除com.liferay.portlet.documentlibrary.util.RawMetadataProcessorImpl

# Input a list of comma delimited class names that implement
# com.liferay.portlet.documentlibrary.util.DLProcessor. These classes will
# trigger asynchronous processing for document library files.
#
# com.liferay.portlet.documentlibrary.util.PDFProcessor will process all
# PDF files and, if OpenOffice is enabled, all formats convertable to PDF.
# Image generation will use PDFBox by default unless ImageMagick is enabled.
# PDFBox is less accurate in image generation and has trouble with certain
# fonts.
#
dl.file.entry.processors=com.liferay.portlet.documentlibrary.util.AudioProcessorImpl,com.liferay.portlet.documentlibrary.util.ImageProcessorImpl,com.liferay.portlet.documentlibrary.util.PDFProcessorImpl,com.liferay.portlet.documentlibrary.util.RawMetadataProcessorImpl,com.liferay.portlet.documentlibrary.util.VideoProcessorImpl

另一种方法是挂钩文档库并从jsp中删除相关部分。