Can limit us the type of file as an attachment?

Hello

Is it possible to limit the types of files that attachment of the OAF can download?
Thank you!

Published by: maeve on April 17, 2011 19:09

Hi Maeve

You can make use of the code below in the pfr to control method

if(pageContext.getParameter("FileUpload") != null)
{
DataObject fileUploadData = (DataObject)pageContext.getNamedDataObject("Bean id of OAFileUploadBean ");
String contentType = fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");

//Write logic here to limit the file type
}

For more details read JavaDoc as well as see below thread

Upload of a file

I hope that helps!

Thank you
AJ

Tags: Oracle Applications

Similar Questions

  • How can we change the types of files in Vista?

    I'm changing a. WAV (file audio .wav) in one. JPG (JPEG image file)
    I remember you can easily do in XP, but Vista gives me some problems
    Thanks in advance for your time

    I wish you had said this in the first place. It would have saved me time going haring Google trying to find something that would work. No wonder I couldn't understand how you were converting an audio file to an image file. Next time be more come on your final goals.

    Vista can display the file extension like any other Windows operating system. Go to control panel > Classic view > Folder Options > tab display uncheck the checkbox "Hide extensions of known file types". Apply/OK outside. MS - MVP - Elephant Boy computers - don't panic!

  • How can I change the type of image file to download on a site like walmart or walgreens for printing?

    How can I change the type of image file to download on a site like walmart or walgreens for printing?

    In general, they will accept the image in the format, that it was taken (if it was taken by the majority of cameras or cell phones).  But if so, you have a few options.

    The most simple and integrated solution is Microsoft Paint.  Yes it is from the 1980s, but it still works and changes of a good job for a time.  Just to right click on the photo file, choose open with and choose paint.  Then go to file > save as and save this return as the file type you want it to be (like PNG or BMP or JPG, quality declining in the JPG option).

    If you need more options like changing the quality he uses during conversion, another free option (of the very very many) is Paint.NET, an open source free image editing program. http://www.dotPDN.com/downloads/PDN.html

    There are also programs that can do it in bulk, so you can highlight 300 photos and do convert them all at once.  You can do this for free or with tools like Photoshop.

  • restrict the types of files that can be downloaded

    I refer to the Configuration Guide for Oracle E-Business Suite Release 12. I have a question on the recommendation * restrict the types of files that can be downloaded *. I'm not really a functional E-Business Suite user, more looking at it from a perspective of risk analysis.

    A few questions if you will allow me:

    May I ask if anyone of you in your E-Business Suite facilities restrict the types of files that can be downloaded? If yes which?
    What is the risk by limiting only not the files that can be downloaded? What can happen? What's the risk major?
    And also, specific to the financial modules of EBS, what types of files "load" users? Can you give us some examples?
    Can do you more harm than good by limiting certain types of files allowed for download?
    And also where exactly can you check what restrictions in terms of file type and size are currently defined? And how to navigate EBS to see what's next?

    Published by: user599292 on March 20, 2013 02:54

    Please see these documents.

    Mechanism of Security Configuration in the function of attachments in Oracle E-Business Suite [ID 1357849.1]
    Configuration Guide for Oracle E-Business Suite Release 12 [403537.1 ID]
    Error: This file Type is not allowed. Please choose another file. [1428248.1 ID]
    New Configuration of the security translates into "this file Type is not allowed" error downloading jar CX [1432305.1 ID]

    Thank you
    Hussein

  • Send list library subdirectory of files to a spreadsheet regardless of the type of file or printer

    Earlier versions of XP allowed me to BACK to print a list of items in file located in any subdirectory of the printer, regardless of the type of file or extension, just a list of files.  How to do this on XP or if available in System 7, I shall take it that buy?  Thank you.

    The game, October 7, 2010 03:20:09 + 0000, FrJim wrote:

    Earlier versions of XP allowed me to BACK to print a list of items in file located in any subdirectory of the printer, regardless of the type of file or extension, just a list of files.  How to do this on XP or if available in System 7, I shall take it that buy?  Thank you.

    Here are four ways:

    1. go to a command prompt and run the command

    dir [drive: folder] > c:\tempfilename (you can use any name and put
    in any folder of your choice)

    Then open Notepad, open tempfilename and print from there.

    2. write (for example, in Notepad), a text line 1:
    / DIR %1 > LPT1:

    Save it as 'printdir.bat' in the folder ' send to '.

    Then, to print the list of files in any folder, right click on this folder
    and select send to | Printdir.bat

    To include subfolders, set up the command DIR %1/O/S > LPT1:

    3. go in
    http://support.microsoft.com/default.aspx?scid=kb; EN-US; Q321379 and
    Follow the instructions.

    4. download and use all the several freeware/shareware utilities
    who can do this, as the popular
    http://www.KarenWare.com/PowerTools/ptdirprn.asp

    Ken Blake (MS-MVP)

  • I was wondering if there was a limit to the AMOUNT of files (not size) that I could transfer at the same time?

    Hey there, I was wondering if there was a limit to the AMOUNT of files (not size) that I could transfer at the same time? usually I go abou 40K files of external references on a regular basis, I would like to know if there is a limit to this (80K maybe?, or one does not exist?)

    Thank you

    Original title: Maximum file transfer

    Hi Chad,

    Thanks for posting the question in the Microsoft Community forums.

    Looks like you need more information on the transfer of the files of more than 80 k to external devices.

    1. have you tried to send files over 40 k?

    2. What is the brand and model of the computer?

    There is no practical limitation on the number of files that can be transferred from one computer to external devices. Although there is no file transfer limit depends on several factors, first externally you use, the memory of the computer file system if it can retain enormous transfer rates.

    Hope this information helps. Get back to us if you have more queries about Windows.

  • How to get the Types of files - not associated with the applications Adobe CC

    How can I prevent Adobe creative cloud files of type to come in my research.

    I don't know how to use I or PS I accidentally a license and an image that cannot be opened with the help of HAVE or EPS (which makes all this shit even average?)

    I just want some png or JPEG files or any files can be used without having to use adobe software.

    So now I'm forced by Adobe to pay $22.99 per month for access to their software, just so that I can open a picture - what the mini-bars

    I'm not a designer, I can't use these programs, I want just the images that I can use on my site - is it so difficult?

    It is very easy in fact. Just deselect "Vectors" in your search. Which will remove all the .ai files. The rest you can use without any Adobe applications at all.

    And to be sure, every detail of the image indicates the type of file. If she says .ai/.eps you probably don't want to.

  • Y a you it the restriction when the type of file stored on the cloud?

    Hello
    Having problems paying UTI cloud of my space on the, I wonder if there are restrictions when the type of file format
    organization unit to the size of files that can be stored on the cloud?

    Some will upload and go! Can you inform me if the system is not at the point or if it's just me
    who have this kind of problems?

    Thanks and regards.

    There are intermittent problems with the download of large files. We aware and are working on fixing it.

    -Dave

  • How display you the type of file in PS Elements 10?

    How display you the type of file in PS 10 items in the organizer for each photo?

    I know that you can right click and watch meta data.

    In PSE 7 it was displayed under each photo.

    Two things:

    1. set the display option to display file names:

    2. make sure your tiles are large enough to display the data:

    Ken

  • Where can I find the TextEdit.plist file?

    I find that I close TextEdit by Force to quit smoking!

    Where can I find the TextEdit.plist file?

    Thank you for your help.

    Hi Walter, ~ / Library/Preferences/com.apple.TextEdit.plist.

    If your library is hidden in Finder 'Go' menu 'Go to folder' enter the path in the text box that appears and press return.

  • where can I find the niscope_32.dll file?

    Hello:

    the problem is like this: I used the function scope in my program, and then I did it in an executable file. but when I copy it to another computer and run the executable file, it will load the file niscope_32.dll

    but where can I find the niscope_32.dll file?

    You should not just copy the exe to a new pc. You create an installer that not only has the runtime, but the driver NOR-Scope.

  • I can't find the fix_svchost.bat file update. The svchost.exe process is spiking the CPU at 100% after the computer crashes.

    Original title: I can't find the fix_svchost.bat file update.

    I'm in you process of having my computer running faster. The svchost.exe process takes 100% of cpu memory and computer dthe freezes. A friend of mine told me a method to solve the problem, but I can't find the fix_svchost.bat update. I went to microsoft update center and don't find any results at all, and I don't know another place to look for. I think that the update does not even exist.

    I could send you a fix_svchost.bat file, but I don't think it's the starting point.

    What you need to do is run a few respectable scans for malware first, and then see if any of you are your svchost.exe process is still badly behave.

    Behind each of the svchost.exe process that see you in the Manager of tasks can be one or more process of XP you have to be running, but malware is KNOWN to imitate or hide behind a svchost.exe process, so you won't be able to see in Manager tasks.  You have to outsmart it.

    First yo should make a reasonable effort to eliminate malware, and then start troubleshooting - not the other way around.

    Provide information on your system, the better you can:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    No matter what you use for malware protection, follow these steps:

    Download, install, update and do a full scan with these free malware detection programs at:
    Malwarebytes (MMFA): http://malwarebytes.org/
    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/

    These comprehensive analyses can take some time, but you really need to run.  SAS will probably be just a bunch of Internet tracking cookies, but you can remove them.  Once you have done at least a full analysis, you can do quick scans in the future to save time and save the analyses complete for when you have more time or are really suspicious of an infection of the system.

    They can be uninstalled later if you wish.

    In 1985, there were 11 known computer viruses.  Today, there are over 70,000 and new threats are detected every day.  Always update your virus definitions before running a scan.

  • I can not change the type of standard user to the admin account.

    I had a very difficult time, adding new accounts to the system.  Now that I have, I can not change the type of standard user to the admin account.

    As you don't declare that you tried, I am unable to say where you went wrong. Here is a method to promote the accounts without going through the various GUI screens:
    1 restart in SafeMode with network.
    2. log on as an administrator.
    3. click on start.
    4. type the three letters cmd in the search box.
    5. press on Ctrl + Shift + Enter
    6. click on "run as Administrator".
    7. type the following commands and press ENTER after each:
    NET user
    (This will show you all existing accounts)
    net localgroup administrators 'xxxx '.
    (This will encourage user xxxx to Administrator status. Replace xxxx with the correct name account).

  • How can I get the type of coverage to work

    type of coverage

    How can I get the type of coverage to work

    Hi Ted,

    Once you take the type of coverage, it's ready to go!

    You are in a place to type in information?

    Once it is aligned, it works like a regular keyboard.

    B Eddie

  • I've just updated my LR, but still can not read the new RAW files of my brand new Sony a6300. said 'impossible to read these files' is Adobe should update it program with new firmware to manage these new folders? Or something escapes me?

    I've just updated my LR, but still can not read the new RAW files of my brand new Sony a6300. said 'impossible to read these files' is Adobe should update it program with new firmware to manage these new folders? Or something escapes me?

    You updated Lightroom to version 6.5? This is the version you need. What is the exact wording of the message you receive?

Maybe you are looking for

  • How to access UpNext in music?

    I'll start by saying that I hate this last update to the Apple's music. As far as I know, they removed features. (Not to mention ugly new style "Jitterbug", with a larger text more "BOLD") How the hell can I add a song to "to the top next? The option

  • How to convert my laptop from 110 to 220 volts?

    want to take my laptop in europe and can't change the voltage as it takes. Also need to know where I can buy the correct cable.

  • HP g72 b01sa: hp g72 cpu update

    my hp g72 b01sa can support a intel i7 640 m. It came with a p6100 and iv already put in an i5 520 m which works very well.  the service manual says an i7 620 m is supported, but the only difference between 620 m and 640 m is base/turbo clock speed,

  • Eject the disc

    It says error during disc DVD is ejected.  Will not eject

  • I don't see my whole desktop screen.

    I tried to change the resolution and all that.  I even restored it but I still have the same problem. It seems that the office is bigger than my current screen, I can't see the bottom where are the taskbar.