Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
20 replies
Subscribers
7 subscribers
Views
10532 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
How to retrieve the size of a file being uploaded using a!fileUploadField() sail
abhinavg
over 9 years ago
How to retrieve the size of a file being uploaded using a!fileUploadField() sail component on sail form and restricts the user to upload a file larger than a certain limit.
Is it correct that document(ri!file, "size") will work only when form is being submitted as document being uploaded is being saved on Appian DMS and not before if sail form is not being submitted
Attached a sail form snippet, need to capture the size being circle on form
Thanks !
OriginalPostID-141769
OriginalPostID-141769
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 9 years ago
You can't operate with the document within the form itself at all. This is not possible without submitting the form.
However, you can control this globally in custom.properties for all forms
## The maximum allowed size in bytes for a document
resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE=1024000000
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 9 years ago
You can't operate with the document within the form itself at all. This is not possible without submitting the form.
However, you can control this globally in custom.properties for all forms
## The maximum allowed size in bytes for a document
resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE=1024000000
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data