Hi all
I want to upload/add files only in the format of PDF, Image/Jpeg, Word document file but not to upload execute file
Please give me suggestion
Thanks
Saiteja.p
Hi @Pulipati Sai Teja ,
Please find the oml file for the same,
Here in below condition you just need to add the extension which you want. Only that type of files you will be able to upload.
Thanks,
Ajit Kurane.
This is the better way to upload file instead of using extensions.
Hi Saiteja P,
I see you've selected Traditional Web and Reactive, both in your forum post.
May I know which type of application are you actually building?
Hi,
You can check the extension of uploaded file and according to that can take action.
regards
Hy @Pulipati Sai Teja
Here you have a little example
https://success.outsystems.com/Documentation/How-to_Guides/Logic/How_to_validate_file_input_on_a_File_Upload_Widget_in_a_Traditional_Web_App
Then here is a list of media-types that
https://www.iana.org/assignments/media-types/media-types.xhtml
Here you have another example
https://www.outsystems.com/forums/discussion/56361/how-to-get-the-most-direct-type-name-of-a-file/
If you look in the forum, you have a lot of other post that can help you with the type of files to upload
Hi Team,
Requirement is when we click the upload ICOn the explorer is opened , In the explorer it self we need to show only PDF files,
How we can achieve this any one can support
If my entity doesn't have a field that saves the file name, can I check for the variable?