留言板

Document media library portlet multiple uploads fails issue

Kiran Kumar Boyini,修改在7 年前。

Document media library portlet multiple uploads fails issue

Expert 帖子: 287 加入日期: 11-6-2 最近的帖子
Hi,

while uploading multiple files through document and media portlet getting below error like document extenstion names end with one of the following.

.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,.mht,.wav,.chm


for this i have added properties in ext file portal-ext.properties :

dl.store.file.system.root.dir= E:/doc_lib_liferayEdgeDoc
dl.file.max.size=15728640
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,.mht,.wav,.chm
dl.file.indexing.max.size=0
dl.file.entry.preview.image.mime.types=image/bmp,image/gif,image/jpeg,image/pjpeg,image/png,image/tiff,image/x-ms-bmp,image/x-tiff
dl.default.display.view=list
dl.show.liferay.sync.message=false
asset.tag.suggestions.enabled=false
last.modified.check=false

even though am getting error and i attached screen shot below. any one can suggest me solution for this.
thumbnail
vamshi krishna,修改在7 年前。

RE: Document media library portlet multiple uploads fails issue

Junior Member 帖子: 31 加入日期: 11-3-3 最近的帖子
Hi Kiran,

Why don't you try this way
1) Go to Configuration -->Server Administration page
2) select File Upload tab
3) in the same page you will find Documents and Media section

here you can provide below list rest of the things you can provide in portal-ext.properties
Maximum File Size
Maximum Previewable File Size
Maximum Thumbnail Height
Maximum Thumbnail Width
Allowed File Extensions enter like ".bmp,.doc,.docx,.gif,.jpg,.jpeg,.pdf,.png,.ppt,.pptx,.rtf,.swf,.tif,.txt,.vsd,.xls,.xlsx,.csv"

then save it will work ,the same i have implemented in my project it is working perfectly,
or else
try to use below property in the portal-ext.properties
allowed.extensions.files=\.bmp,\.doc,\.docx,\.gif,\.jpg,\.pdf,\.png,\.ppt,\.pptx,\.rtf,\.swf,\.tiff,\.txt,\.vsd,\.xls,\.xlsx

it will work ,hope it will help you kiran emoticon

Hope you remember me .. kiran emoticon
Kiran Kumar Boyini,修改在7 年前。

RE: Document media library portlet multiple uploads fails issue

Expert 帖子: 287 加入日期: 11-6-2 最近的帖子
Thanks Vamshi,

Let me try your suggested way .

I did not forget you emoticon
Kiran Kumar Boyini,修改在7 年前。

RE: Document media library portlet multiple uploads fails issue

Expert 帖子: 287 加入日期: 11-6-2 最近的帖子
Thanks a lot Vamshi,

Only I added the below line in .properties file
allowed.extensions.files=\.bmp,\.doc,\.docx,\.gif,\.jpg,\.pdf,\.png,\.ppt,\.pptx,\.rtf,\.swf,\.tiff,\.txt,\.vsd,\.xls,\.xlsx

It is working emoticon
thumbnail
vamshi krishna,修改在7 年前。

RE: Document media library portlet multiple uploads fails issue

Junior Member 帖子: 31 加入日期: 11-3-3 最近的帖子
Kiran Kumar Boyini:
Thanks a lot Vamshi,

Only I added the below line in .properties file
allowed.extensions.files=\.bmp,\.doc,\.docx,\.gif,\.jpg,\.pdf,\.png,\.ppt,\.pptx,\.rtf,\.swf,\.tiff,\.txt,\.vsd,\.xls,\.xlsx

It is working emoticon



Sounds good ... emoticon