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
6 replies
Subscribers
7 subscribers
Views
5741 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Query on File Size Limit
joanneh
over 8 years ago
While creating the File Upload function in ui, may I know if there is anyway to SET PARTICULAR LIMIT to the size of file being upload?
Thanks.
OriginalPostID-233969
Discussion posts and replies are publicly visible
Parents
0
kdimitrov
over 8 years ago
Hi there,
There's a small hack that allows you to access the temporary document uploaded and do validation on it. It involves having a "fake" SAIL component with the variable, please find below an example:
= with(
local!doc: todocument(55),
local!docSize: a!fileUploadField(
value: local!doc
).uploadedDocumentSize,
local!tempSize
)
You can use this local variable to perform validation as usual.
Hope that is useful.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
kdimitrov
over 8 years ago
Hi there,
There's a small hack that allows you to access the temporary document uploaded and do validation on it. It involves having a "fake" SAIL component with the variable, please find below an example:
= with(
local!doc: todocument(55),
local!docSize: a!fileUploadField(
value: local!doc
).uploadedDocumentSize,
local!tempSize
)
You can use this local variable to perform validation as usual.
Hope that is useful.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data