Hello,
I have the following validations on a file upload. When I upload a wrong extension for testing, it is giving me a completely different validation message than what I have in my code and I'm not sure where it's getting it from. Also, it looks like each time I upload a new file, the earlier validation message does not get replaced with the new one and I have no point of reference to see where this is happening, if anyone knows how to fix these two issues I'd really appreciate it.
Here is the code. For reference, the constant being used (cons!GF_FILE_EXTENSIONS_UTILITY_PACKAGE_ARTIFACTS) has an array of all valid extensions (pdf, jpg, png, etc.)
Discussion posts and replies are publicly visible
Did you checked admin console setting for permitted files allowed to be uploaded on your system
Totally agree , Priority goes to Allowed files/blocked file extensions in Admin console and than the validation on interface. https://docs.appian.com/suite/help/24.3/Appian_Administration_Console.html#file-upload