View on GitHub

docs

AgileXRM Documentation

Home –> AgileDialogs Design Guide –> File

File control

This control is used to allow the user to upload files.

It can be configured in two modes using the AllowMultiple property:

If the browser supports it, the File control allows drag & drop of files from the PC (e.g. Internet Explorer 11):

The maximum size (in Bytes) allowed can be configured in the property MaxFileSize.

There are 2 options to manage uploaded files:

This behavior is configured at server level in AgileDialogs application:

In order to use the XRM entity, the UseAgiledialogsAttachmentsEntity setting must be set to true.

Also, file control can be configured to delete the uploaded file using the AllowDelete property. When AllowDelete property is set to true, file control will show a button to delete the attachment.

Note: For previously uploaded files, AgileDialogs does not delete the attachment until the Next button is clicked.