Call a BI of OAF editor report, then save the PDF output as a BLOB in the database

Hi all

I have a requirement to customize the iExpenses page.

I need to generate a PDF output with the detailed expenditures report when the user clicks on submit button to create an expense report.

I need to take this pdf file and attach it to the expense report itself (with attachments fnd)

I have an idea about creating a BEEP report and call it from the OFA.

Usually, we write the pdf to the outputstream and view the pdf in the browser / to the local machine.

Can someone send me some code examples to capture this pdf file and write back to the database as a BLOB.

Thanks in advance.

Arun...


You can do it in two phases. Get first the BI Publisher API part works so that it returns the PDF file in the browser. You can see how it is done here:

https://dineshnair.WordPress.com/2009/06/02/integration-of-XML-Publisher-with-oafgenerating-output-in-PDF-MSWord-MSExcel-and-HTML-format/

Once you have this work, your code will need to the pdf file in a stream of data that you can then write to a blob in a table. You can see an example of a blob in a table here:

Inserting BLOB using java for DB2 and Oracle - Stack Overflow

I hope this helps.

Tags: Oracle Applications

Similar Questions

  • If I'm working on a project in a free trial of Premiere Elements, and then save the project (do not export it) and open it again in the full version of Premiere Elements, the watermark will be removed?

    If I'm working on a project in a free trial of Premiere Elements, and then save the project (do not export it) and open it again in the full version of Premiere Elements, the watermark will be removed?

    If you have made the timeline or out of a movie from the trial version, it will have this watermark on it.

    Once you have purchased and activated the software, you can remove the watermark by going to the folder directory on your computer where your project files are saved and deleting the folder Adobe Premiere elements preview files.

  • PDF/A, when I have a standard PDF file and add some text to it, and then save as PDF/A, there is an error.  Any ideas?

    PDF/A, when I have a standard PDF file and add some text to it, and then save as PDF/A, there is an error.  Any ideas?

    Preflight check should give you an idea of the problem. It may be that the file must be flattened before attempting the conversion. Not all aspects of a PDF file can be converted to PDF/A.

  • Insertion of multiple values in the report (not in the database)

    Hello!

    I have a procedure that shows example of 50 people and for each text element three different person I access values and submit to the database. There is a check box for each line. I have a selection list of Pentecost that you choose the column and a text element where you enter the value to insert. What I want to do is insert this value just in the lines that have a selected check box. I would like to insert this value just in the report (not in the database) when I click on a button.

    What do I have to use javascript? I really have no idea how to do that.

    Thanks for any help!

    This will give you an idea on how to handle the selected lines:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:95

    Other examples show how to use tabular forms.

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Save the data on the button and then save the data on a spreadsheet on another key.

    Hello

    I am a new user of Labview. I'm developing a Labview 7.1 program that will record data on the keys. Another button, he must stop recording, and then open a file dialog box to save the data stored on a worksheet. I read in this forum that I have run several loops in parallel but unfortunately I can't see the examples because I use an older version of Labview. I tried to do to pass the data in a table, once recording is started, and then I carry the data to write a function that spreadsheet inside an another case statement. However, once I put the writing on the spreadsheet for the case statement he cannot write. I tried to put out the statement box but it save only a single set of data. Sorry if I am not clear with my explanation. It will be greatly appreciated if someone can give me some advice on this.

    Thanks in advance for your information.

    See you soon,.

    Anson

    You want to build a table of data.
    If the Boolean value is true, you will add a data point in the table.

    If it's wrong, you do not add anything, and the loop will be re-iterate.

    In the example below, the same code appears twice.

    Half top shows the case of 'Real' and the bottom half shows the case of 'false '.

  • Can't seem to crop, and then save the cultures - and - undo levels

    Hello.  I used Corel Photo-Paint for many years, but now jump to PSCC.  It's much better in many ways, but I'm still trying to find my way around it.  A simple thing that I can't seem to know is how to crop an image and keep it cropped.  I want to say is, I have an image open, then with the crop tool I crop to get a smaller size.  But when I try to select the (smaller) image to be dragged onto another open image, it then selects the original image everything.  I checked the box for 'remove the trimming pixels'.  The same thing happens if I save the cropped image, then open it again... the complete original image size is still there, although it only shows the cropped section.  What do I need to do differently?  It seems to me that what I get is the effect if I unchecked "Delete cropped pixels ', but I certainly have that checked.

    Also, is there a way to increase the number of undo levels?  I get only one.

    Thank you!

    Hmm wait, if I click on the part square info from the layer, it is said "vignette of the smart object", so I guess it's a dynamic object.  Don't know why it would give me the opportunity to "convert to smart object" but anyway...  Well, that solves it.

  • Then save the changes to a model change the divs can be changed on existing pages?

    I made changes in a model that has at least 100 child pages.  When I apply the modified model to these pages to change any of the sections editable child pages?  I guess this isn't, but I need to know for sure.  If I had to review all pages of the child after the upgrade, it would be a total disaster.  When I do revisions on the model it would be better if I deleted all the information in the sections editable in the model so that they would not affect the child pages or would it be empty what is now in the editable child pages parts.  I can't find any info in my market after manual or on the adobe help on this section.  Waiting for your advice.

    Olde Worlde Lace says:

    I made changes in a model that has at least 100 child pages.  When I apply the modified model to these pages to change any of the sections editable child pages?  I guess this isn't, but I need to know for sure.

    The model should not change any content in a "editable region" page of the child. (I'll always do a backup copy of your site folder copy before making any changes just in case something goes wrong)

    Olde Worlde Lace says:

    When I do revisions on the model it would be better if I deleted all the information in the sections editable in the model so that they would not affect the child pages or would it be empty what is now in the editable child pages parts.  I can't find any info in my market after manual or on the adobe help on this section.  Waiting for your advice.

    The contents of the editable on your child pages regions should not change because they are not in areas that are "locked" in the main model.

    I would like to as I said make a copy of your record of site before you disturb updated anything.

    With 100 + pages he sounds like the workflow could be better managed using SSI (SSI). You need to download 100 pages after you make the changes to the model to discover you have missed a change and then I have to re-download the entire batch.

  • [Database Toolbox] possibility to Load From xml file in Labview and then in the database

    Before you write in my database, I want to save it and reload if the user wants to cancel the new charge that can last several minutes.

    If he cancels the load I get back my previous database data.

    I managed to save my database in XML through the "DB tools SaveRecordSet To File" VI. This VI records directly contains my database table in the xml file. And finally, I only if the other VI to load file will do the same thing, means load the file and save it in my database but it gives just a recordset in labview.

    Question: is it possible just to load the xml file into the database directly through Labview?

    Why, finally, these screws do not have the same behavior?

    I don't know, but I just thought I would chime, that if you fail to do with LabvIEW, you might want to look by making your writing in a 'Transaction' database, if your DBM takes in charge (most except MS Access)

  • Find the layer with the name "Name1" a name change for 'name2' and then save PDF

    Hi there together, we have the following problem:

    We need a Javascript script to rename all the layers named 'name1' to 'name2' and then save the PDF file.

    Any help would be greatly appreciated.

    Thank you very much

    Patrick

    This code will rename the layer:

    var ocgArray = this.getOCGs();
    for (var i=0; i
    

    Save the file afterwards is more complicated. You can use the Save command sub in a context of trust to do it silently, or you can call the dialog box save as, and let the user manually, by using the command app.execMenuItem ("SaveAs").

  • Using Lightroom 5 as it is autonomous to convert RAW, then save to CS2?

    I am a professional photographer, and I am perfectly happy with my version of CS2 in Photoshop, I can get it to do what I need, without having to spend another $600 on the latest version.


    Unfortunately the new camera that I bought has CS6, or 4-5 Lightroom to process RAW files.  Can I just buy Lightroom and use it as a stand-alone product, and then save the file in tiff format to continue work on this subject in my CS2?


    Yes, you can do it. You can designate Photoshop CS2 as external editor. When you choose to edit in Photoshop, you will receive a warning that camera raw is obsolete, and you can choose to make a copy with Lightroom adjustments. You can set up Lightroom so that the copy will be a PSD or TIF image. I think most of the people prefer to TIF. Then you can tell Lightroom does not show this option more. From there to the front any when you choose to edit in Photoshop Lightroom will create the TIF image and transmit it. When you save the changes in Photoshop these changes that will be included in the TIF image that is in the Lightroom Catalog.

  • Interactive reports will change the order of columns

    Hi all

    Have experienced this for the 3rd time now. The other times I just create a new report with the request in the order you wish to fix. But it starts to become annoying now...

    When I use the arrows to change the column order on my reports interactive nothing happens when running. The new order is saved and appears that way in design mode, but does not change the order on the report.

    Please let me know if you know how to solve this problem, or if Miss me just something really obvious.

    Thank you!
    K

    Hey,.

    Changing the order in the attributes report is more an effect, since the default report parameters overwrite it.

    If you want to change the order of the columns, you must go through the menu actions of the interactive report, then choose the column selection menu item, change the order and press ok.

    Then save this order order by default, you go to the action menu again and choose save report option this time, select "primary" or "Save as default" depending on your version of apex (this option is available only if you are connected as a developer in the generator of the apex). Then press the ok button again.

    Other users will only see the changes if they press the reset button on their version of empathy.

    I hope this helps.

  • Display region report columns in the correct order

    I have a report of area in which the first 4 columns that are displayed are listed at the end of the section "column attributes.
    Why is this happening? Another setting must be done to make them display at the end, I would like to?

    Run the report.
    Click on the "Speed" control in the interactive report.
    Select the option "select columns".
    The top & arrows in the control as a result to arrange the columns in the desired order.
    Click 'apply '.
    Click on the "Speed" control in the interactive report.
    Select the option "save report".
    Save the report as the "default report settings"

  • Call and save the reports/export to PDF using use?

    Hello

    My use is for the ".csv" files and works perfectly when read and load the files. But what would be really nice if I could somehow put the data in these files in their appropriate report templates and then export this report to a file '.pdf '.

    So, I tried to add:

    Call DataFileLoad ([Filepath], [Script]
    Call DataFileSave ([Filepath], ".") CT","CT")
    Call Report.LoadLayout ([the report path])
    Call Report.Sheets.ExportToPDF ([path to save .pdf], False)
    Call Report.Refresh
    Call Data.Root.Clear)

    «When I test the use by indexing a file manually, I get the message: Variable is undefined: «DataFileLoad»»

    So, if it is reading as a variable that suggest that it does not recognize functions unless they are specified in the sub?

    Is it possible to do what I want?

    Thank you.

    Hey Kevin,

    Your VBScript use cannot be called "red" DIAdem orders  The VBScript host that uses the use contains only basic functions VBScript more some specific commands to use, but none of the rest of orders DIAdem.

    You need to use a VBScript DIAdem script to load the data file, load the layout and save the PDF file.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Fake phone call from microsoft about an error report which does not send

    a phone call on my landline today which is active for 2 weeks of the gentleman called Sam Parker claiming that it was Microsoft. He said that my computer was going slowly and that an error report had them alerted to the fact that certain safety ripped on my computer? There therefore eft with unfamiliar programs on here etc etc. Me being the shocking type said I saw the error message but not him hadn't sent because it crashed me the kick-off of the system. He didn't want to log on and it me by happen then to the technical team who could advise me where they were and I could remove them. All this happened yesterday, or the day before that I don't remember. I told him I wasn't going to do this as it could be anyone and asked for a phone number to call later today on. He gave me the number, but when I tried to ring it says wrong number and if I use the reminder it bleeps just like the engaged tone. Ayone can tell me if he's a jerk or real please? Thank you very much

    For more information on this type of scam, see the following:

    http://social.answers.Microsoft.com/forums/en-us/w7security/thread/e5576f0a-827e-4fc0-a4b1-707add212065

  • someone calls saying that I got error reports to the CSM of hacker in my computer

    someone calls saying that I got error reports to the CSM of hacker in my computer

    they had me hold the windows key and r for program box run then type eventwr to show me message error and warning because of pirates, the top of the cookie type show I have no files to delete all cookies in the folder, then certmgrmsc to show my windows is not certified, then iexplore. support.me to check on the warning and error messages.  they wanted me to enter a code 789470 in the last 'iexplore. support.me. I told him how I know that it is that they say it is tec /msc / he gave me his name to John Maher higher tech and Roger Williams first calling me an another tech with a 1-818-572-1445 number to call him back to. I told her that I had no money in my account right now to pay for 5 years @ 199.00 or life 119.00. I don't think these guys are for real. I didn't call back and they are supposed to call me tomorrow if I don't call them all first for money to pay for. We can get them or?

    It's a scam. Just ignore it - they are just trying to make you pay for fake support services, or trying to access your computer to steal information.

    If you let their distance in, do a full scan and change your passwords on your important accounts.

Maybe you are looking for

  • Lenevo S90 - A Flash

    Hi, want to ask you, how to use the flash from the camera before? Tried the basi, but still not workin...

  • Windows Mail: this file does not have a program associated with it

    I can receive and open the email, but when I click on anything in the email a box comes up which says "this file does not have a program associated with it for performing this action. Create an association in the set associations Control Panel. Don't

  • CP1025NW: printer 1025nw cp got wet

    Hello. I did a stupid thing by placing my soda on top of my printer. My printer got wet. I noticed that the electricity in my house went out. I had to swith and turn off the circuit breaker in order to recover the electricity in my room. I removed th

  • Fingerprint reader HP HDX16 and two other drivers not detected after an upgrade to Vista Ultimate.

    Hello. Recently, I upgraded my HP Windows Vista Home Edition of Windows Vista Ultimate Edition HDX16 model (quite a 'new installation' upgrade.) Since then I've been doing a handful of drivers went unnoticed in the Device Manager. Keep in mind that t

  • Complete TextField in a dialog box

    I am trying to create a dialog box that will allow me to change the address of my place or simply confirm the address that appears in the dialog box by clicking ok.