掲示板
Document media library portlet multiple uploads fails issue
7年前 に Kiran Kumar Boyini によって更新されました。
Document media library portlet multiple uploads fails issue
Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
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.
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.
添付ファイル:
7年前 に vamshi krishna によって更新されました。
RE: Document media library portlet multiple uploads fails issue
Junior Member 投稿: 31 参加年月日: 11/03/03 最新の投稿
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
Hope you remember me .. 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
Hope you remember me .. kiran
7年前 に Kiran Kumar Boyini によって更新されました。
RE: Document media library portlet multiple uploads fails issue
Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
Thanks Vamshi,
Let me try your suggested way .
I did not forget you
Let me try your suggested way .
I did not forget you
7年前 に Kiran Kumar Boyini によって更新されました。
RE: Document media library portlet multiple uploads fails issue
Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
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
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
7年前 に vamshi krishna によって更新されました。
RE: Document media library portlet multiple uploads fails issue
Junior Member 投稿: 31 参加年月日: 11/03/03 最新の投稿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
Sounds good ...