まずintra-mart全体の設定として以下の設定があります。
■intra-mart Accel Platform 設定ファイルリファレンス
https://document.intra-mart.jp/library/iap/public/configuration/im_configuration_reference/texts/im_servlets/request-control-config/index.html#リクエストクエリの長さ制限
これはファイルアップロードに限らず、リクエストに対して制限をかける設定となり、設定可能な上限値はlong型の最大値となります。
リクエストのサイズとはリクエストメッセージボディのサイズ(エンコードされたファイル、区切り文字、リクエストパラメータ等)となり、上記設定値を超えた場合【HTTPステータスコード 413】が返却されます。
セットアップガイドでも上記設定をご案内しています。
■intra-mart Accel Platform セットアップガイド
5.3.5.1. ファイルのアップロードを制限する方法
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/create_war/how_to_limit_of_file_upload.html#how-to-limit-of-file-upload
つぎに、機能毎にファイルサイズの設定が可能な場合があります。
独自設定が可能な機能は以下となります。
◆IM-BloomMaker for Accel Platform
エレメント「ファイルアップロード」「マルチファイルアップロード」にてアップロード可能なファイルサイズの上限を指定することが可能です。
詳細は以下をご参照ください。
■intra-mart Accel Platform 設定ファイルリファレンス
ファイルアップロードエレメント設定
https://document.intra-mart.jp/library/iap/public/configuration/im_configuration_reference/texts/im_bloommaker/file-upload-element-config/index.html
なお 2022 Spring より、クライアント側でもエレメントのプロパティで最大ファイルサイズを指定することが可能になりました。
詳細は以下要件をご参照ください。
https://issue.intra-mart.jp/issues/34184
◆標準タグ(互換)
詳細は以下APIドキュメントをご参照ください
■ スクリプト開発向けim-BizAPI (互換)
https://api.intra-mart.jp/iap/apilist-jssp-tagdoc/doc/imart_tag_api/upload/index.html
属性:maxRequestLength(アップロード可能な最大リクエストサイズ)
属性:maxSize(アップロード可能な最大ファイルサイズ)
■JavaEE開発向けタグライブラリ
https://api.intra-mart.jp/iap/apilist-jsp-tagdoc/doc/standard/upload/index.html
属性:maxRequestLength(アップロード可能な最大リクエストサイズ)
属性:maxSize(アップロード可能な最大ファイルサイズ)
◆SAStrutsを利用している場合
詳細は以下をご参照ください。
■intra-mart Accel Platform セットアップガイド
5.3.5.1. ファイルのアップロードを制限する方法
5.3.5.1.2. SAStrutsを利用している場合
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/create_war/how_to_limit_of_file_upload.html#sastruts
但し、intra-mart Accel Collaboration 電子会議室・アンケートについては、上記struts-config.xml の maxFileSize ではなく以下の設定で制御します。
■intra-mart Accel Collaboration 設定ファイルリファレンス
・電子会議室設定
https://document.intra-mart.jp/library/iac/public/iac_configuration_reference/bbs_module/texts/iac_bbs/iac_bbs_config/index.html#mbytes
・アンケート設定
https://document.intra-mart.jp/library/iac/public/iac_configuration_reference/questionnaire_module/texts/iac_questionnaire/iac_questionnaire_config/index.html#mbytes
上記機能以外 IM-Workflow、IMBox、IM-FileExchange、IM-FormaDesigner for Accel Platform、IM-BIS for Accel Platform については独自設定はなく
intra-mart全体のリクエストクエリの長さ制限で制御します。
-- 対象 ------------------------------------------------------------------------
iAP/Accel Platform/全アップデート
iAP/Accel Extensions/IM-FormaDesigner for Accel Platform/全アップデート
iAP/Accel Extensions/IM-BIS for Accel Platform/全アップデート
iAP/Accel Extensions/IM-BloomMaker for Accel Platform/2020 Spring以降
iAP/Accel Applications/Accel Collaboration/全アップデート
--------------------------------------------------------------------------------
FAQID:1184
intra-mart各機能でアップロードできるファイルにはサイズ制限がありますか?
