Any suggestions please.
I too got the same requirement in irec
There is no profile option to set the upload file types..but you can send an error on top of the page. when user upload files with .exe
public void upLoadFile(OAPageContext pageContext,OAWebBean webBean)
String filePath = "D:\path";
System.out.println("Default File Path---->"+filePath);
String fileUrl = null;
DataObject fileUploadData = pageContext.getNamedDataObject("MessageFileUpload");
//FileUploading is my MessageFileUpload Bean Id
String uFileName = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
check if the file name is having .exe using substr function..then throw error if you find anything...
let me know if any issues
checking file extension is working fine in standard itself. But my requirement is to block after renaming .exe to .doc manually.
Any suggestion for EBS R12.1.3. This is working in ADF since it supports java 7.