How to Limit The Attachment File Size? [ID 604458.1] | |||||
修改时间 06-JUN-2010 类型 HOWTO 状态 PUBLISHED |
In this Document
Goal
Solution
References
Applies to:
Oracle Application Object Library - Version: 11.5.10.0 to 11.5.10.2 - Release: 11.5 to 11.5Information in this document applies to any platform.
Goal
How to limit the size of attachments to upload?Solution
1. There is a Profile Option on site level:'Upload File Size Limit'Any file upload within OA Framework observes this profile option value.
It specifies the maximum allowable file size in KB for uploaded attachments.
For example, if the limit is 2MB, this value should be set to 2000.
2. To set this Profile Option login with Sysadmin responsibility. Navigate to:
- Profile > System
- query for 'Upload File Size Limit
- enter the file size limit in KBytes
- save
Please Note that there is a known issue with this Profile Option:
The 'Upload File Size Limit' profile option is being interpreted as bytes instead of kilobytes by the forms application.
The profile option is being interpreted correctly by the framework interface but not interpreted correctly via the forms interface.
After applying RUP5 and trying to add an attachment in the forms application you receive the following message:
"The file has no size or exceeds the allowed size limit"
The file being uploaded does not exceed the value for profile "Upload File Size Limit"
Trying to attach the same file in a self service application such as iProcurement, iExpenses or
iStore for example works without error
Fix was identified in RUP5 but did not make the drop for RUP6.
One off fix is Patch 6620452
1OFF:6490050:ATG RUP5:11.5.10.2:AFTER ATGRUP5 GET AN ERROR DOING FILE ATTACHMENT
This patch is password protected - please contact Oracle Support
The profile option is being interpreted correctly by the framework interface but not interpreted correctly via the forms interface.
After applying RUP5 and trying to add an attachment in the forms application you receive the following message:
"The file has no size or exceeds the allowed size limit"
The file being uploaded does not exceed the value for profile "Upload File Size Limit"
Trying to attach the same file in a self service application such as iProcurement, iExpenses or
iStore for example works without error
Fix was identified in RUP5 but did not make the drop for RUP6.
One off fix is Patch 6620452
1OFF:6490050:ATG RUP5:11.5.10.2:AFTER ATGRUP5 GET AN ERROR DOING FILE ATTACHMENT
This patch is password protected - please contact Oracle Support
References
BUG:4873525 - SR 4919935.992 PROFILE TO LIMIT THE DOCUMENT SIZE FOR UPLOADING ATTACHMENTSBUG:6490050 - AFTER ATGRUP5 GET AN ERROR DOING FILE ATTACHMENTS IN FORMS - SSWA ARE OK
PATCH:6620452 - 1OFF:6490050:ATG RUP5:11.5.10.2:AFTER ATGRUP5 GET AN ERROR DOING FILE ATTACHMENT
产品
|
Copyright (c) 2007, 2010, Oracle. All rights reserved. Legal Notices and Terms of Use | Privacy Statement