Home Search

DriveWorks Pro 22
File Size Limit, Byte Limit, Upload File Size Limit

Send Feedback

File Size Limit, Byte Limit, Upload File Size Limit

  • File Size Limit (Upload Control)

    The limit on the size of the file that can be uploaded. The units can be specified, or bytes will be assumed.

  • Byte Limit (TinyMCE Control)

    The max input limit in bytes. Limits everything, including characters, HTML entities and images.

DriveWorks Live and IIS

When running DriveWorks Live through IIS this property should also be set in the web.config file.

These values should be set in the Web.config file for the theme you are using.

Please see step 6. Set File Upload Limits in the topic Configuring DriveWorks Live For IIS for more information.

Property Type

Property Type: Static

A Static property can be made Dynamic (to control the value from a rule).

See Change a Static Property to a Dynamic Property.

To use the value of this property in a rule its hierarchical reference is:

  • File Size Limit - <ControlName>.FileSizeLimit
  • Byte Limit - <ControlName>.ByteLimit

See How To: Reference Control Properties for more information.

Default Value

When the control is added the Default Value of this property will be set to 2097152.

To Change the Default Value

Ensure the property is a static property (It will display the gray orb alongside the property name).

The default value of the static property can be changed by:

  1. Click in the property for the control to be changed
  2. Type the required value.

Examples

File Size Limit Property ValueResultNotes
2097152Will limit the size of file that can be uploaded to 2097152 bytes
2MBWill limit the size of file that can be uploaded to 2 Megabytes

A rule can also be built for this property by changing the type to dynamic.

See How To: Change A Static Property To A Dynamic Property.

Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.