How come wwv_flow_file_mgr.get_file uses filename for retrieval?

wwv_flow_file_mgr.get_file uses the wwv_flow_files filename column for retrieving files but filename is not guaranteed to be unique. Why doesn't it use id or name instead? Is there an alternative way to retrieve files that is guaranteed to be unique?
If I store files in my own blob column, is there a way to construct a url for it that can be passed to an applet in a param tag?
Any help is much appreciated.
Thanks.

SQL> desc wwv_flow_file_mgr;
PROCEDURE GET_FILE
Argument Name                  Type                    In/Out Default?
P_ID                           VARCHAR2                IN
P_MIME_TYPE                    VARCHAR2                IN     DEFAULT
P_INLINE                       VARCHAR2                IN     DEFAULT
PROCEDURE GET_FILE
Argument Name                  Type                    In/Out Default?
P_FNAME                        VARCHAR2                IN
P_SECURITY_GROUP_ID            VARCHAR2                IN
P_FLOW_ID                      VARCHAR2                IN     DEFAULT
P_INLINE                       VARCHAR2                IN     DEFAULT
FUNCTION GET_FILE_ID RETURNS NUMBER
Argument Name                  Type                    In/Out Default?
P_FNAME                        VARCHAR2                IN
PROCEDURE PROCESS_DOWNLOADYou can retrieve via either name or id

Similar Messages

  • How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B

    Hi Friends,
    How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    External Trading Partner is sending the EDI 856 via AS2 URL to our Oracle B2B Server.
    In the inbound 856 agreement, we have checked the option of Funtional Ack and also Functiona Ack handled by B2B is yes.
    We have the outbound agreement which is sending that Functional ack 997 (auto generated by oracle b2b) and we have specified the Outbound AS2 channel of the Partner.
    997 doc is being sent to external partner using AS2 channel, but the filename is generating as '40101'.
    Please can you let me know how to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    Appreciate your valuable answers!!
    Thanks,
    Amirineni

    Amirineni,
    AFAIK, there is no option to set the file name when the 997 is generated automatically by B2B.
    Alternatively, if this is a must requirement, you can generate the FA from backend and  send to B2B with MSG_TYPE =9. In this case, you can set the header with filename (How to set the actionname property in B2B 11g)

  • HT1267 Im trying to restore my iphone 3G, i used itunes to restore it so it downloaded the iOS, after that it gives me the error 1015, when i read about the error then it tells me that i was downgrading, but how come since i used itunes to restore?

    Im trying to restore my iphone 3G, i used itunes to restore it so it downloaded the iOS, after that it gives me the error 1015, when i read about the error then it tells me that i was downgrading, but how come since i used itunes to restore? why didnt it automatically provide me with the latest software made perfectly for the iPhone?

    Your phone was jailbroken. You can't get help here.
    In VERY RARE circumstances, this may indicate a hardware failure.

  • HT1665 how come i cant use other headphones or external speakers with my ipod

    how come i cant use headphones or external speakers with my ipod.sood as you plug either in there is no sound.

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Check also Settings > General > Accessibility > Hearing. Make sure that the sound balance is not set all the way to "R".
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • How come when I use a Internet that I have already used it doesn't automatically connect

    How come when I use an Internet that I have already used it doesn't automatically connect?

    Does the iPod connect to other networks?
    Does the iPod see the network?
    Any error messages?
    Do other devices now connect?
    Did the iPod connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Framemaker uses $filename for short file name, can we edit this to change appearance? We do not want the short file name of long filename to include the .fm extension can this be removed or modified to make this happen?

    Framemaker uses <$filename> for short file name, can we edit this to change appearance? We do not want the short file name of long filename to include the .fm extension can this be removed or modified to make this happen? In compiling our books it would be helpful to not have this extension appear as it then requires us to create extra files without them.

    See: System Variables

  • How come I'm not asked for password for every app purchase, app auto downloads once I tap install, not good when my kids start buying apps because they are not asked for password, help!!

    How come I'm not asked for password for every app purchase, app auto downloads once I tap install, not good when my kids start buying apps because they are not asked for password, help!!

    Thank you for the help, have sorted it through Restrictions in General settings now : )
    No more mysterious app purchases on my c.card now thank god !!
    You would think they would set as default that Password was required - Imediatly . But they know there likely to get more purchases the way the default set it..
    Thanks again for prompt reply!!!

  • How come when I go check for my purchased apps on my iPod touch 4g ios 6.1 it loads long then it crashes. Can this be fixed ?

    How come when I go check for my purchased apps on my iPod touch 4g ios 6.1 it loads long then it crashes. Can this be fixed ?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.alredy suggested
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar

  • HOW TO CHANGE THE USEFUL LIFE FOR MORE ASSETS AT A TIME FOR ASSET CLASS

    Hi All,
    Asset which is under Asset Class Support system-B700. Here every thing is ok but the problem in USE FULL LIFE which is come by default. It must be 4 instead of  5.   So can any body help me out from this how to change the Useful life in that Asset class.  In that Asset Class we have the morethan 200 Assets. It was happend in Prdocution system so now the problem is where i can change the useful life for the asset class either in DEV or PRD.
           Also i want to know the information of How these assets are Uploaded into the system (Lsmw or etc). this is very urgent for me.
    Thanks in Advance,
    Regards,
    Siva.

    Hi Ashok,
         Can i know the reason how it was happend. i mean instead of 4 years the system showing is 5yesrs any reason is there behind that.
    Thanks in Advance.

  • How to set up the N97 for retrieving my lotus note...

    I'm new at this and may have missed the information in an existing discussion but I couldn't find a solution to my problem.  I have set up my home email but I am not sure how to set up the work email and calendar which is Lotus Notes.  I've tried using mail for exchange, email and email sync. It has been suggested that I forward the work email to another address (which is what I had to do for my home email to work) but I would think that if I did this, I wouldn't be able to retrieve lotus notes calendar information.  Does anyone else use their N97 to retrieve Lotus Notes emails and calendar information from their work?

    Run Safari and open the Preferences, in the General Tab is a field to set your Home Page

  • How to unset the 'use itunes for internet music playback' option

    In Advanced Preferences, I mistakenly clicked the SET button for "Use itunes for internet music playback". Since then, I have closed and opened itunes, so it appears the preference has been saved (the field is no longer highlighted)
    I cannot find any way to unset this option. I want to unset this option. Could someone please tell me how?

    I don't think that deleting the plist file will help.
    Clicking that button sets the handler for a bunch of file types. You can't just unset it, you need to set the handler to something other than iTunes. Normally audio and video are handled by the Quicktime Plugin. You can restore that behavior in System Preferences:
    System Preferences -> QuickTime (in the Internet and Network set) -> Advanced -> Mime Settings...
    You may have other plugins or programs you want to use for some formats (like .wmv or .avi). Those programs should be able to reclaim the file and MIME types from their preferences.

  • How to config to use SPFILE for databse

    Hi,
    As I want to setup recovery settings, OEM gave a warning:
    PFILE - The database is NOT using SPFILE. Changes to the initialization parameters will be LOST if the database is restarted.
    How do I config to use SPFILE for databse rather than using control file I suppose? Thanks,

    Thanks mdtaylor and abarra2000!
    It works! because "sql>show parameter" gives spfile's location instead of null before the changing. I notice that original spfile in dbs\ directory is untouched. newly generated spfile is in database\ directory as "show parameter" indicated.
    Thanks again,

  • How do I photomerge using PSE10 for Mac?

    I have a photo of a dog in a field and another photo of a different dog on a sidewalk. How do I photomerge these photos into one that has a common background?

    Hi 99jon,
    I have been caught up with a few other things lately and do not wish to appear ungrateful for your most welcome advice by seemingly ignoring every you. I will be able to put everything into practice quite shortly and I am sure it will now work out, thanks to you and also that other string with screenshots you referred me to. I shall indeed let you know how things pan out, for the best I hope.  : -).
    I notice you are in the UK so it is 9 a.m. here and 5 pm with you. We came from Barry, Wales, many years ago and settled in Canada in 1971. We now live on its furthermost western reaches, Vancouver Island. It is truly wonderful that you can advise me as if next door yet really 8 or 9 thousand miles away. :- )
    I shall let you know how things pan out, 99jon, hopefully for the better!
    Best regards, stehkoyeh a.k.a. Gareth

  • How come after I use IMessage, some of my old Text Message are lost?

    And I only have very little message ;P

    I've had the same problem for a long time, I found that going into settings then messages you can change how long you keep your messages for, mine was on forever. I changed it to 30 days (minimum amount) and then deleted everything as I tried before(all at once).  I left my phone with message open for about 30 mins without touching it after erasing everything. I went back to It, completely closed out of it, went back in and everything was still erased, then restarted my phone and everything was gone still! Hope that helps !

  • How come i cannot use any product of adobe creative suite 6 after i installed it?

    how come i cannot open any software of adobe creative suite 6 after installed?

    i have completed my download but what should i enter ?

Maybe you are looking for

  • Mc.9 Multiple storage location issues

    Hi, I am fetching data from mc.9 in my program but if the use enter multiple storage  in selection only 1st value is printed following is code and how will i come to know which material is for which storage location since mc.9 data is not getting sto

  • How to call JasperReports

    Hi All I am using MySQL, Jsp , I have created the report using the JASPER REport can you please tell me how to call a jasper Report from a Jsp

  • Saving the screen entries in the DATABASE Table

    Hi All, I have two fields in ztable(Database) namely by name  and contact number. And in the same way i have referred this dictionay fields and place a two set of fields in my screen like name  number             name  number when ever ever the user

  • Solaris 10 Update 5 release date question

    Did I miss the release of Update 5? I see it mentioned in docs.sun.com, but not in downloads. Or does anyone have availability date for it? It seems overdue timewise.

  • Making the request invisible in CUP 5.3

    Hello Everyone, we are using GRC 5.3 on SP 8.1 , We would like to make the Request type field unavilable in Request access Screen I cannot make invisble in End user Personlization  coz as Visiblie field (to be ste to YES or NO is greyed out) I presum