Foren

Document media library portlet multiple uploads fails issue

Kiran Kumar Boyini, geändert vor 7 Jahren.

Document media library portlet multiple uploads fails issue

Expert Beiträge: 287 Beitrittsdatum: 02.06.11 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Document media library portlet multiple uploads fails issue

Junior Member Beiträge: 31 Beitrittsdatum: 03.03.11 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Document media library portlet multiple uploads fails issue

Expert Beiträge: 287 Beitrittsdatum: 02.06.11 Neueste Beiträge
Thanks Vamshi,

Let me try your suggested way .

I did not forget you emoticon
Kiran Kumar Boyini, geändert vor 7 Jahren.

RE: Document media library portlet multiple uploads fails issue

Expert Beiträge: 287 Beitrittsdatum: 02.06.11 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Document media library portlet multiple uploads fails issue

Junior Member Beiträge: 31 Beitrittsdatum: 03.03.11 Neueste Beiträge
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