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
5 replies
Subscribers
7 subscribers
Views
3648 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Upload Validation
ahmada674
over 8 years ago
Dears ,
I have a concern about the validation on the upload documents if i need to specify the type if document that i want the user to upload for example i need the user to upload only .doc and the user change the excel extension to be from .excel to .doc the Appian upload will accept that as a .doc while it's not.
So is there a solution to validate this issue depend on the uploaded file it self with no consideration of the extension name cuz the user can by pass this by change extension.
Thanks and hopefully i can find the answer.
OriginalPostID-241362
Discussion posts and replies are publicly visible
0
kondetiv
over 8 years ago
you can only decide type of the file based on extension. And one more thing if you change the extension then file type will change. For example if i change .pdf to .docx then file becomes .docx file. I don't think we can detect whether file type is changed or not.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sidhant Behura
over 8 years ago
Suppose lets say in Windows when you go and change the extension in Save As, it completely changes the properties of the file from .doc to .xls . Appian relies on those properties to provide the extension or filename related information.
As far as I know the solution you are looking might not be possible with OOTB features and you might have to write a plugin to achieve this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kumara2
over 8 years ago
I Agree with sidhantb. It is not possible as OOTB. We need to write a plugin for same
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ahmada674
over 8 years ago
what about specific type of upload like i want to accept only pdf is that possible in appian suite.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkateshs329
over 8 years ago
@ahmada , Please find below entry it might helps to you
forum.appian.com/.../e-153370
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel