14.33 Configuring File Size

This section describes how to configure the file size.

By default, the size supported by attachment is 1 MB. If you want to attach files greater than 1 MB size using the Save and Attach button, follow these steps:
  1. Open file $FIC_HOME/EXEWebService/<WebSphere or Weblogic or Tomcat>/ROOT/conf/ DynamicWSConfig.xml

    Update from:

    <PROPERTY NAME="MAXFILESIZE" VALUE="1024000"/>

    to:

    <PROPERTY NAME="MAXFILESIZE" VALUE="<desired value in bytes up to 10MB>"/>

  2. Recreate the ExeWebservices ear file and redeployit.
  3. Restart the web application server.

The size that is allowed to be attached while performing document attachment action should be configured in the Configuration table of OFSSAAI configuration schema in its PARAMVALUE column where PARAMNAME is DOCUMENT_MAX_SIZE. It is the Maximum document file size (in bytes).