KNOWN ISSUE: Problem using GET_PRINT_DOCUMENT to produce multiple PDFs.

Hi Folks
I'm calling a report stored in APEX (Shared Components Report Query & Layout) many times using a loop in a process on my page.
At each iteration of the loop I am updating the value of a hidden text item on the page which is the one and only parameter of the report.
I update the hidden text item using APEX_UTIL.SET_SESSION_STATE.
The first time I call the report from the process it works perfectly, the .pdf file is produced and stored in a BLOB column in the database.
The problem is that all subsequent iterations of the loop to produce the report result in a report .pdf being generated and stored but with no database values. As if the hidden text item value was NULL or not valid for the query.
I know there is no problem with the report queries or the parameter values I am using. I have tested this by forcing the initial value set by APEX_UTIL.SET_SESSION_STATE to be the next record I would have supplied in the loop. Again, the first report is generated with data and all subsequent reports get generated with no data.
It appears that whilst I can use APEX_UTIL.SET_SESSION_STATE to loop through and update the value of the hidden text item my report refers to for it's parameter, the report process only seems to recognise the first iteration and none of the subsequent ones.
Can anyone shed any light on this or offer any suggestions?
Many thanks
Dogfighter.

Hi Scott.
I have set up a bare bones demo of what the page looks like. You'll see what I'm doing.
You can have a poke around using...
Workspace :SIMONGADD
User ID :[email protected]
Password :hopeli
I have not created the report query & template but suffice to say, in the real world app the report query has one parameter. In this demo example the report query would end with..
"where order_id = :P1_ORDER_ID"
I have tried, in my app, setting the :P1_ORDER_ID to text/hidden/display only. no difference in behavior.
My logging insert statement records that the order ID is being updated in each iteration of the loop.
I have noted the behavior of the report output is as follows...
1) First report is generated perfectly.
2) Second report DOES include two bits of data (out of dozens)
3) Third report & onwards contain no data at all but the PDF files and placeholder structure of the reports are generated.
If I force the loop to start providing order_ids in a different order, or from a different starting order number I get the same behavior. The first order PDF is produced perfectly (so I deduce no issues with the query or the template), the second one just contains data in the same two report items, and the third and subsequent reports are empty.
Any suggestions welcome.
I would be happy to email you the report template rtf, query, and report outputs if you like.
Kind regards
Simon

Similar Messages

  • Is there a known issue for using IE11 when using business catalyst cms

    Is there a known issue for using IE11 when using business catalyst cms?  I have a client trying to update pages on her site using IE11 and the it says it updates successfully, but the new content is not saved.

    I concur with Barry; I see no significant difference in using the Home button vs. the gestures. But the "fade" effect is part of iOS 7.1 and there's no way to disable it that I know of.
    Regards.

  • Are there any known issues when using PSE 13 after installing Apple's recent 10.10.3 Combo update for Yosemite?

    I've had Yosemite for some time and bought/installed PSE 13 afterwards.
    In the last few days I upgraded to Yosemite 10.10.3.
    As a PSE 13 novice I've been working my way through "Adobe Photoshop Elements 13 - Classroom in a Book". Working through the exercises I've found my iMac is sometimes taking longer to process the functions I'm using than prior ro the 10.10.3 upgrade. E.g., using the Healing Brush tools, Straighten Tool etc.
    I've struggled with Apple's upgrade and had to re-install my machine from a previous Time Machine Backup and so I was wondering:-
    Are there any known issues with PSE 13 post 10.10.3 upgrade?
    Are there things I should be concerned about in the future before accepting an OS X upgrade?
    Thanks,
    Andy

    No, no known issues. However it's a good idea to always delete preferences after OS X system updates.

  • Problem: Using iTunes 6 with multiple user accounts in XP

    I recently installed iTunes 6.0.0.18 as an upgrade in Windows XP Professional. After installing the software and a restart, I attempted to use iTunes with success as the Administrator. However as another user, iTunes when launched will prompt the user with the user license agreement. When the user accepts the agreement, iTunes never opens, however I have noticed that the hard drive where the music files are located is continually accessed. When logging out an "End Task" message pops up stating that Quicktime Helper Files are still being used.
    After the problem arose I attempted twice to completely uninstall iTunes, restart, cleanup the directories, reinstall, and then give all users full control permissions in both the directory structure of iTunes and the registry, with the exact same results.
    Currently I have no fix for this problem, but I suspect that it is an issue with the software (iTunes 6.0.0.18). I have since downgraded back to iTunes 5.0.1.4 and am not having any issues.

    Hello B,
    So I finally had time to download the latest version of iTunes (ver. 6.0.1.3) and install it (logged on as the Administrator account). Please note that during the install I did get an error message that stated something to the effect that "a program tried to access memory location XXXX which is "READ" only." I believe this to be the new memory lock "virus" deterrent system that Intel has recently introduced with the latest 64-bit processors and motherboards, (which I have) but I am only guessing. In any case the installer finished in the background without incident.
    After installing iTunes I launched it as the Administrator, and everything work just fine. I then logged off and logged in as my user account and attempted to run iTunes. I got the license agreement window, clicked "Accept" and nothing happened, but again I noticed that the Network card and my NAS were being accessed. I launched "services.msc" to check, as you suggested, to see if my QuickTime service had started. Much to my surprise the service was not listed. So I figured, well if there is such a service that needs to be launched then perhaps launching QuickTime would start this service, (still baffled to why the service is not listed in Windows Services). I launched QuickTime, and while leaving QuickTime open I then attempted to launch iTunes. Much to my surprise it started! I then closed both apps and have attempted to start iTunes several times since with success. A crazy fluke but, the steps listed above seemed to work for me. I can only hope that it helps others out who may be experiencing the same issue.
    So it seems that my issue has been resolved. Thank you for all your time and efforts on this matter, I do appreciate it.
    Jamie

  • Are there any known issues concerning using DIGEST-MD5 SASL authentication with iPlanet Directory Server 5.0 on Windows NT 4.0?

    I am developing support for the DIGEST-MD5 sasl mechnism on a c-ldap client. I am using the evaluation version of the iPlanet Directory Server 5.0 which lists DIGEST-MD5 as a supported SASL mechanism. The server is running on NT 4.0 After installing the Directory Server with the test database, a changed the passwordStorageScheme from the default of SSHA to clear text. I then added my test user. When I run my test I always get back a resultCode of 49 (invalidCredentials). The digest-challenge I receive from the server and my digest-response are shown below. I have satisfied myself that the calculation of the response directive in the digest response is correct. Does anyone see any problems in the digest response or have any other suggestions? Is there a known problem with the iPlanet Directory Server 5.0?
    digest-challenge:
    realm="BGB2.ndp.provo.novell.com",nonce="Ed8UPLXsWaC6CN",qop="auth",algorithm=md5-sess,charset=utf-8
    digest-response:
    username="uid=bgbrown,ou=people,dc=siroe,dc=com",realm="BGB2.ndp.provo.novell.com",cnonce="A9IuPJKr30RiwL",nc=00000001,qop=auth,digest-uri="ldap/BGB2.ndp.provo.novell.com",response=97061205298e5ebaf206c8ac3598fdce,charset=utf-8,nonce="Ed8UPLXsWaC6CN"

    Found the answer. When the username is an LDAP DN it needs to be proceeded by "dn:".
    example: username="dn:uid=bgbrown,ou=people,dc=siroe,dc=com"
    The server also accepts a simple uid value.
    example: username="bgbrown"

  • Any problems using diskutil createRaid with multiple external drives

    Thinking of connecting 3 - 1tb drives Via FireWire and using diskutil createRaid.

    jimgilbride wrote:
    Thinking of striping across all three 1tb drives for a 3tb virtual drive that can be mounted and used for storage, but one change though will be using USB 2.0 instead of FireWire. I think I would be using RAID-0.
    USB 2 is rather slow interface, the RAID 0 would make little difference. Firewire 800 would be fastest, 400 next.
    Problem with RAID 0 is the data path is separated, one of those drives has a problem and you lose data on all drives. Some people use external RAID 0, but merely as a "scratch disk" or temporarily as they are working on it in a program like Photoshop or similar for faster performance.
    For permanent storage, RAID 0 is very poor and highly risky unless you also have it being backed up daily or using a RAID 0+1 which the RAID 0 set is "mirrored" (RAID 1) at the same time to another drive or another RAID 0 set, thus giving a live backup in case the one RAID 0 fails, which they tend to do more often the more drives are added to the array.
    In your case a RAID 0 of three drives has the 3x potential of failure than using one drive (spindle)
    Another issue is RAID 0 (RAID 1 as well) via Disk Utility is software based RAID, OS X handles it, thus there is a higher potential for failure than hardware based RAID sets. OS X tends to hiccup and if it does, so does your RAID set.
    Another problem with RAID 0 is that you need the storage drive your transferring from to also be a RAID 0 in order to gain maximum speed of the interface (FireWire 800,  Thunderbolt) transferring or else when you transfer files you default to the fastest speed of the slowest drive, likely meaning your internal hard drive.
    You could set up two exact drives on the same interface, RAID 0 those, use it as a working diisk. Then use something like Carbon Copy Cloner to auto-update the RAID 0 to the 3rd drive nightly. This would give you the backup of the RAID 0 you need, unfortunately you will be confined to 1TB of drive space available of the 3rd drive.
    Disk Utility doesn't support the more complex RAID sets, like RAID 5, 10 etc., that dedicated hardware and external controllers can do. RAID 5 with a lot of drives will give the performance and redundancy, in fact if a drive dies you just replace it and it's auto-matically rebuilt from the data on the other drives. Sweet.
    For more information and external hardware solutions in RAID to better meet your video/audio needs on your Mac, I highly advise you visit MacGuru's
    http://www.macgurus.com/

  • How do I use "Generate" to produce multiple file formats from the "Default" layer?

    I have a Photoshop file with ~50 layers, each with unique file names for images I want to create.  I want to produce in both .png and .svg file formats for each layer.
    Rather than adding the code to each layer individually can multiple file formats be assigned on the "Default" layer? What is the correct syntax to do that?
    Something like:
    default  100% .png, svg/ *.svg
    ... to generate the .png versions and then also create a folder called "svg" that contains all the .svg versions of those images?

    Dear Thomas,
    I entered TM and found the sparsebundle under the Filesync library. However, it appears NOT to be recoverable and I tried double clicking on it but it doesnt do anything other than show a summary of what it is.
    By the way, I really do appreciate your comments and agree completely. Something strange happened with my syncing of Idisk (which is set to "automatic"). It has been working fine for years. But for some reason, it stopped two days ago and did not let me know. When I tried to put something manually on it (through drag/drop), it never showed up on the Idisk on the cloud which made me notice and check it out by going to Mobileme through the browser. I then went to the tech service for Idisk and they explained that something probably got corrupted so just hit STOP syncing and then hit Automatic again. Which is what I did. Then everything from the cloud went to my Idisk on my computer and for some reason, the latest version of my excel spread sheet for attendance showed two days ago, not last night. so I lost wed/thursday classes. I KNOW it was on my Laptop which is backed up to TM every morning.. Thats why I believe that the latest file IS on my TM backup for this morning. But I can't get to it. Any other help would be appreciated.
    Skip

  • Any known issues with using JAI-CVM10, Rev. D in Random Trigger Mode w/ PCI-1409

    I am using a JAI-CVM10, Rev. D camera with a PCI-1409 framegrabber. I am having trouble getting it to work in random trigger mode. I used the example vi for JAI-CVM10, Rev. F and am able to get a picture using the internal trigger. However, I lose the video signal if my acquisition frequency is too low (3 images/sec) or I use an external trigger. Has anyone had this problem and does anyone have a solution?

    hi Nan:
    I have same problem with you.
    can you got clear Image? or you got solution.
    Could you tell me how to do.
    Thanks.
    Yang
    [email protected]

  • Known Issue: Cannot use SocialInfoContract types even after adding the Mobile Extension SDK to my project.

    The Mobile Extension SDK is referring to
    Windows.ApplicationModel.SocialInfo.SocialInfoContract, but the contract is currently in the wrong location.

    Work around:
    From an administrative command prompt, rename the contract folder:
    On X64 bit machines type:
    Ren “C:\Program Files (x86)\Windows Kits\10\References\
    Windows.Phone.StartScreen.SOCIALRTContract” “Windows.ApplicationModel.SocialInfo.SocialInfoContract”
    On X86 bit machines type:
    Ren “C:\Program Files\Windows Kits\10\References\
    Windows.Phone.StartScreen.SOCIALRTContract” “Windows.ApplicationModel.SocialInfo.SocialInfoContract”

  • I'm having problems using Firefox when opening up PDF files that are called from jsp.

    I'm trying to open my billing statement in pdf format. When I click on the link, Firefox 4 takes me to the dowload page and starts to download a readPDF.jsp file. How come Firefox is asking for that? When I use IE 7 I get no problems. Please advise on how to get Firefox to open jsp files automatically.

    I have same problem too

  • Problem using Automator to create "Watermark PDF Documents"

    After having updated our macs from Mavericks to Yosemite, the "Watermark PDF Documents" using Automator is no longer working.

    Hi Miykael,
    Do you have flash player installed on your system for that browser? Did you tried accessing that pdf file from a different browser?
    I would also recommend you to refer this KB Document : https://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
    Regards,
    Rahul

  • Is there a plugin for producing multiple pdfs from one print action in Indesign?

    Hello,
    I am wondering if there is a script or method for indesign that will allow you to write 2 or more pdfs from indesign in one action ?
    In other words - is there a print or export function that will allow you to write both a high res and low res file in one command ?
    Saving location isn't important, just the ability to tell indesign to write two files at once, like a pdf server server might.
    With thanks in advance for any input
    Rich

    There is a third party plugin: MadeToPrint, from Axaio

  • Are there any know issues with using multiple (2) apple tv's in the same household??

    I'm thinking of getting a second Apple TV. Are there any known issues with using multiple (2) apple tv's in the same household? Thank you in advance.

    No, shouldn't have any problems

  • WRT160N Problems Using FlipShare

    Hello,
    I'm running the latest firmware of "v3.0.02 build 004Nov 29, 2009" on my WRT160N router. I've been able to pinpoint a performance issue with all machines wirelessly connected the moment that I attempt to upload videos using FlipShare. Once the upload fails, all the wireless devices will be very slow. The Win7x64 box simply losses connection and and is unable to detect the router anymore. The only way that I've been able to recover is to unplug/replug in the router. If I use YouTube's app to upload video, there are no problems.
    Is there a known issue with using the FlipShare app to upload videos via the Linksys router? 
    Thanks... 

    Have you tried using different computer..?
    Are you getting the same problem on the wired computer.
    Try to adjust the settings on the router...Open the router setup page,Under the Wireless tab,Change the Channel Width to 20MHz only and Channel to 11.Under the Advanced Wireless Settings..Change the Beacon Interval to 75,Change the Fragmentation Threshold to 2304,Change the RTS Threshold to 2304 and Click on Save Settings...
    Power cycle the router and check.

  • Known Issues & Brtools Upgrade for SAP Netweaver 7.01 with Oracle 11.2.0.3?

    Hi,
    We are currently on Netweaver 7.01 with below SAP components running on Unix OS AIX 6.1 and Oracle DB 10.2.0.4
    ERP 6.0 EHP4          
    CRM 7.0
    BW 7.0
    EP 7.0
    Solution Manager 7.0 EHP1 on Windows
    Now, we are planning to upgrade oracle from 10.2.0.4 to 11.2.0.3.
    Can anyone please help us to have answers to below questions
    1) any Known Issues / Problems faced and troubleshooting guide related to oracle upgrade 11.2.0.3 ?
    2) Our SAP Kernel release is 701 patch level 150, do we need to upgrade brtools to 7.20 as specified in SAP Note 12741 ?
    3) What could be the testing done after upgrade, apart from running DBcheck and update statistics ?
    With Regards,
    Parin Hariyani

    >
    > 1) any Known Issues / Problems faced and troubleshooting guide related to oracle upgrade 11.2.0.3 ?
    >
    Check SAP note 1431797.
    > 2) Our SAP Kernel release is 701 patch level 150, do we need to upgrade brtools to 7.20 as specified in SAP Note 12741 ?
    >
    Check SAP note 1430669
    > 3) What could be the testing done after upgrade, apart from running DBcheck and update statistics ?
    >
    You can also additionally run backup and database related jobs for testing.
    Thanks
    Sunny

Maybe you are looking for

  • Iphone 4s upgraded IOS from 5.1.1 to 6.1.1. WIFI it's unusable. Phone it's connected, but doesn't navigate.... or navigate like a SNAIL.

    HI, Sorry for my BAD english, I'm Italian. I have an Iphone 4s.. four day ago, I upgraded my IOS from 5.1.1 to 6.1.1 (thinking that 6.1.1 was mature). This is WORST decision I was made. WIFI it's unusable. iPhone it's connected, but doesn't navigate.

  • Yosemite (10.10.3). Any browser don´t work with by wifi

    Hi I think i have the same problem that most the Mac users have had after upgrade from Mavericks to Yosemite (10.10.3) and are connected to internet by wifi. This new version don´t work fine, or in any way, with any internet browser (Safari, Mozilla,

  • Error in creating a directory

    Hi, I'm trying to create directory using sql command in apex. But it is throwing an error as 'Insufficient privileges' So whom I have to ask for privilege to create a directory? Thanks, Anoo..

  • Mac Mini 320GB HD 4GB Ram

    Hi Just bought new Mac Mini, Snow Leopard. Partitioned HD with Boot Camp. Gave Windows 250Gb. Formatted Partition by Windows CD to NTFS. Installed Windows. After the install is complete Windows reboots, and I get this error: <windows root>\system32\n

  • Spaces - New Window opens behind existing window

    I have an annoying situation - I love Spaces - but it has a New Window characteristic that drives me nuts. For example, if I click a website link in email or other application, the linked window will almost always open behind a window that I'll alrea