Liferay Portal 6.1 - User Guide
| Download PDF | Purchase Print Book |
Liferay stellt eine umfangreiche Sammlung von Ressourcen und Informationen zur Verfügung die unsere Community bei der Arbeit mit unserer Technolgie unterstützt.
| Download PDF | Purchase Print Book |
Set this property to true to enable execution of antivirus check when files are submitted into a store. Setting this value to true will prevent any potential virus files from entering the store but will not allow for file quarantines.
dl.store.antivirus.enabled=false
Set the name of a class that implements com.liferay.portlet.documentlibrary.antivirus.AntivirusScanner. The document library server will use this to scan documents for viruses.
Example:
dl.store.antivirus.impl=com.liferay.portlet.documentlibrary.antivirus.DummyAntivirusScannerImpl
dl.store.antivirus.impl=com.liferay.portlet.documentlibrary.antivirus.ClamAntivirusScannerImpl
Set the name of a class that implements com.liferay.portlet.documentlibrary.store.Store. The document library server will use this to persist documents.
Examples:
dl.store.impl=com.liferay.portlet.documentlibrary.store.AdvancedFileSystemStore
dl.store.impl=com.liferay.portlet.documentlibrary.store.CMISStore
dl.store.impl=com.liferay.portlet.documentlibrary.store.DBStore
dl.store.impl=com.liferay.portlet.documentlibrary.store.FileSystemStore
dl.store.impl=com.liferay.portlet.documentlibrary.store.JCRStore
dl.store.impl=com.liferay.portlet.documentlibrary.store.S3Store
CMISStore
dl.store.cmis.credentials.username=none
dl.store.cmis.credentials.password=none
dl.store.cmis.repository.url=http://localhost:8080/alfresco/service/api/cmis
dl.store.cmis.system.root.dir=Liferay Home
FileSystemStore
dl.store.file.system.root.dir=${liferay.home}/data/document_library
JCRStore
dl.store.jcr.fetch.delay=500
dl.store.jcr.fetch.max.failures=5
Set this to true to allow version labels to be moved when updated. This provides a workaround to duplicate version labels that may result when using JCRStore.
dl.store.jcr.move.version.labels=false
S3Store
dl.store.s3.access.key=
dl.store.s3.secret.key=
dl.store.s3.bucket.name=
Set the maximum file size and valid file extensions for documents. A value of 0 for the maximum file size can be used to indicate unlimited file size. However, the maximum file size allowed is set in the property com.liferay.portal.upload.UploadServletRequestImpl.max.size.
Examples:
dl.file.max.size=307200
dl.file.max.size=1024000
dl.file.max.size=3072000
A file extension of * will permit all file extensions.
Examples:
dl.file.extensions=*
dl.file.extensions=.bmp,.css,.doc,.docx,.dot,.gif,.gz,.htm,.html,.jpg,.js,.lar,.odb,.odf,.odg,.odp,.ods,.odt,.pdf,.png,.ppt,.pptx,.rtf,.swf,.sxc,.sxi,.sxw,.tar,.tiff,.tgz,.txt,.vsd,.xls,.xlsx,.xml,.zip,.jrxml
Set this to false to allow users to update file entries by uploading a file with an extension different from the one of the originally uploaded file. There is a known issue where setting this to true will break OSX compatibility. See http://issues.liferay.com/browse/LPS-10770 for more information.
dl.file.extensions.strict.check=false
You can map a PNG for generic thumbnails by adding the image to the theme’s file system folder. For example, the generic thumbnail for documents can be found in: /html/themes/_unstyled/images/file_system/large/document.png.
dl.file.generic.names=compressed,document,flash,image,music,pdf,presentation,spreadsheet,video
dl.file.generic.extensions[compressed]=lar,rar,zip
dl.file.generic.extensions[document]=doc,docx,pages,rtf,odt
dl.file.generic.extensions[flash]=flv,swf
dl.file.generic.extensions[image]=bmp,gif,jpeg,jpg,odg,png,svg
dl.file.generic.extensions[music]=acc,mid,mp3,ogg,wav,wma
dl.file.generic.extensions[pdf]=pdf
dl.file.generic.extensions[presentation]=key,keynote,odp,pps,ppt,pptx
dl.file.generic.extensions[spreadsheet]=csv,numbers,ods,xls,xlsx
dl.file.generic.extensions[video]=avi,m4v,mov,mp4,mpg,qt,rm,wmv
Set the maximum file size for indexing file contents. Files larger than this property will not have their contents indexed, only their metadata will be indexed. A value of -1 indicates that all file contents will be indexed. A value of 0 indicates that no file contents will be indexed.
dl.file.indexing.max.size=10485760
Set the file extensions that will be ignored when indexing file contents. Files with these extensions will not have their contents indexed, only their metadata will be indexed.
Examples:
dl.file.indexing.ignore.extensions=
dl.file.indexing.ignore.extensions=.pdf,.ppt
You can map a GIF for the extension by adding the image to the theme’s image display and document library folder. The wildcard extension of * will be ignored. For example, the default image for the DOC extension would be found in: /html/themes/_unstyled/images/file_system/small/doc.gif.
dl.file.icons=.bmp,.css,.doc,.docx,.dot,.gif,.gz,.htm,.html,.jpeg,.jpg,.js,.lar,.odb,.odf,.odg,.odp,.ods,.odt,.pdf,.png,.ppt,.pptx,.rtf,.swf,.sxc,.sxi,.sxw,.tar,.tiff,.tgz,.txt,.vsd,.xls,.xlsx,.xml,.zip,.jrxml
Set which file extensions are comparable by the diff tool. Any binary files listed here will only be comparable if OpenOffice is enabled and the the file is convertable to text.
dl.comparable.file.extensions=.css,.doc,.docx,.js,.htm,.html,.odt,.rtf,.sxw,.txt,.xml
Set this to true to enable comments for document library files.
dl.file.entry.comments.enabled=true
Set this to true to enable drafts for document library files.
dl.file.entry.drafts.enabled=false
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.AudioProcessor,com.liferay.portlet.documentlibrary.util.ImageProcessor,com.liferay.portlet.documentlibrary.util.PDFProcessor,com.liferay.portlet.documentlibrary.util.RawMetadataProcessor,com.liferay.portlet.documentlibrary.util.VideoProcessor
Set this to true to enable the read count for document library files.
dl.file.entry.read.count.enabled=true
Set the interval on which the CheckFileRankMessageListener will run. The value is set in one minute increments.
dl.file.rank.check.interval=15
Set this to true to enable file rank for document library files.
dl.file.rank.enabled=true
Set this to the maximum number of file ranks to maintain.
dl.file.rank.max.size=5
Set the values related to preview and thumbnail generation for document library files. The classes enabled under dl.file.entry.processors will utilize these parameters to generate the necessary files.
Some parameters are applied universally across all processors (e.g., dl.file.entry.thumbnail.max.height) while others are specific to certain types of generation, as specified (e.g., dl.file.entry.thumbnail.document.depth).
See the properties imagemagick.enabled, openoffice.server.enabled and xuggler.enabled.
Examples:
dl.file.entry.preview.enabled=true
dl.file.entry.preview.document.depth=8
dl.file.entry.preview.document.dpi=300
dl.file.entry.preview.document.max.height=0
dl.file.entry.preview.document.max.width=1000
dl.file.entry.preview.video.height=360
dl.file.entry.preview.video.width=640
dl.file.entry.thumbnail.enabled=true
dl.file.entry.thumbnail.max.height=128
dl.file.entry.thumbnail.max.width=128
dl.file.entry.thumbnail.custom1.max.height=100
dl.file.entry.thumbnail.custom1.max.width=100
dl.file.entry.thumbnail.custom2.max.height=0
dl.file.entry.thumbnail.custom2.max.width=0
dl.file.entry.thumbnail.document.depth=8
dl.file.entry.thumbnail.document.dpi=72
dl.file.entry.thumbnail.video.frame.percentage=25
Input a list of comma delimited audio MIME types that will trigger generation of video previews.
dl.file.entry.preview.audio.mime.types=audio/basic,audio/mid,audio/midi,audio/mod,audio/mp3,audio/mpeg,audio/mpeg3,audio/wav,audio/x-mid,audio/x-midi,audio/x-mod,audio/x-mpeg,audio/x-pn-realaudio,audio/x-realaudio,audio/x-wav
Input a list of comma delimited video MIME types that will trigger generation of image previews.
dl.file.entry.preview.image.mime.types=image/bmp,image/gif,image/jpeg,image/png,image/tiff,image/x-ms-bmp,image/x-tiff
Input a list of comma delimited video MIME types that will trigger generation of video previews.
dl.file.entry.preview.video.mime.types=video/avi,video/mp4,video/mpeg,video/quicktime,video/x-flv,video/x-ms-wmv,video/x-msvideo
Set this to true if document library should be published to live by default.
dl.publish.to.live.by.default=true
Input a list of comma delimited class names of the third party repositories that extend com.liferay.portal.kernel.repository.BaseRepositoryImpl.
dl.repository.impl=com.liferay.portal.repository.cmis.CMISAtomPubRepository,com.liferay.portal.repository.cmis.CMISWebServicesRepository
Sets the depth of mapped CMIS entries to remove when a deletion is called from within the portal. The deeper the setting, the more calls to the server required. When a deletion is called from outside the portal, mapped CMIS entries remain stagnant in the database. Expected values are: -1 for deep, 0 for none and 1 for shallow.
dl.repository.cmis.delete.depth=1
Set the list of supported display views.
dl.display.views=icon,descriptive,list
Set the default display view.
dl.default.display.view=icon