Saved IRs lost when installing a new version of an application

Hello,
is there any documented solution for the following problem:
The client has saved some IR. Now a new application version is installed via script using the apex_application_install api.
The application_id of the exported version and the imported version are the same, i.e.200. The workspace_ids aren't the same.
So all reports the client saved are lost.
I found the solution http://www.talkapex.com/2009/10/saving-saved-interactive-reports-when.html
and adapted it a bit because it didn't work for me.
BEGIN
  FOR x IN (SELECT a.ID, a.name, a.session_id,a.updated_on,
                   b.interactive_report_id
              FROM apex_040000.wwv_flow_worksheet_rpts a,apex_application_page_ir b
             WHERE a.flow_id = 200
               AND a.page_id = b.page_id -- Linking is done via the page so please be aware of any IR page changes
               AND b.application_id = a.flow_id
               AND a.worksheet_id != b.interactive_report_id
               and a.status = 'PRIVATE'
               and a.session_id is null
               and A.UPDATED_ON = (SELECT max(aa.updated_on)
                  FROM apex_040000.wwv_flow_worksheet_rpts aa
                 WHERE aa.flow_id = a.flow_id
                   AND aa.page_id = b.page_id -- Linking is done via the page so please be aware of any IR page changes
                   AND aa.worksheet_id != b.interactive_report_id
                   and aa.status = 'PRIVATE'
                   and aa.session_id is null
                   and aa.name=a.name)
               and not exists(select aa.id from apex_040000.wwv_flow_worksheet_rpts aa where aa.flow_id = a.flow_id
                   AND aa.page_id = b.page_id -- Linking is done via the page so please be aware of any IR page changes
                   AND aa.worksheet_id = b.interactive_report_id
                   and aa.status = 'PRIVATE'
                   and aa.session_id is null
                   and aa.name=a.name))
  LOOP
    UPDATE apex_040000.wwv_flow_worksheet_rpts
       SET worksheet_id = x.interactive_report_id
     WHERE ID = x.ID;
  END LOOP;
END;
commit;This works correctly but this isn't documented and must be run as SYSTEM or a user with SYSTEM level access.
Is there any other solution?
I also tried this http://joelkallman.blogspot.com/2010/07/where-did-my-saved-interactive-reports.html
(apex_application_install.set_offset( p_offset => 1573299003458268419 );)
but couldn't make it work.
I use APEX 4.0.2.
Thank's.
Kirsten

The script posted by Kirsten did work for me on APEX 4.1 (just need to change APEX Schema to apex_040100). Thanks a lot for sharing.
But I have same question - is this approach save to restores users' private reports?
If this is that easy, why it is not included in the application installation?
Regards
Ivan

Similar Messages

  • When installed a new version of firefox my computer crashed. Can I run on the one that is still on my computer?

    I installed the new version of firefox, like requested. When went to boot up again, it crashed and I could only boot up on safemode. Then I did not have my printer or sound available either. Also did not have a version to restore to, like I had in the past. A friend told me to go to run and uncheck all startup menu and reboot. I did and here I am with another request to install a new version of firefox. Very afraid it will crash again. I have Windows 7

    Please update to Firefox 19. If it crashes, come back here and we will give you information on how to get the crash Id's so we can fix what is making it crash.

  • Will updated version to the Store remove old save state on device when installing to new version?

    So let's say I have installed an app from the app store and it's version 1.0 and it used save states to save my personal best score, will that save state and score be removed when I install an updated version (1.1)?
    I'm asking becuase I'm about to start using save states and need to know what way to save to keep the original save state through the different versions that might come, so it's not erased every time.

    Ok, thanks

  • 2715 Error when installing a newer version of iTunes

    I have been trying to solve this problem for about 10 months and I finally solved it tonight. I thought I would post the solution just in case anyone hit the same error, especially since it appears to be rare.
    Here is the error: “The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2715.”
    My problem was that every time I tried to install the latest update for iTunes, it would almost completely through the install, then throw this error and stop. It wasn't a killer until version 7.4 when I could no longer buy songs on iTunes (I was still on 7.0).
    Uninstalling and reinstalling iTunes had no effect.
    The solution was to:
    1. uninstall iTunes from Add/Remove Programs
    2. Uninstall ALL Apple software including “Apple Mobile Device Support”, Apple Updates, all iPod entries, and Quicktime
    a. In my case, some of them threw fatal errors and could not be romoved. The next steps took care of the rest of them.
    3. Searched my hard drive to find every folder related to Apple, iPod, or Quicktime that was left from the poor uninstalls. I found files still lying around in the following folders and deleted everything related to iPod, Apple, or Quicktime
    a. “Documents and Settings\All Users\Application Data\”
    b. Program Files\
    4. Next, I went into the Registry with RUN=>REGEDIT
    5. Using RegEdit, I searched for every entry for “Apple Mobile Device Support” and deleted every key and subkey
    6. I also removed every key related to “Apple Inc.” and “Apple Computer Inc.”
    7. Reinstall the latest version of iTunes from scratch
    FINALLY, this fixed the problem. The short version is I had to uninstall every piece of Apple software and update that could be removed, then remove every Apple folder on my harddrive, then delete every Apple entry in my registry, then reinstall iTunes.
    All my playlists were still there. All I had to do was re-authorize my computer (automatic when I tried to play a song from my library) and then all was well again with the latest (7.4) version of iTunes.
    Hope this helps someone.
    Rich
    [email protected]

    Answer is in the original post.

  • Problem when installing a new version sdk into flex builder 3

    i downloaded flex sdk 3.4.0 and unzipped it under the "sdks" floder,i think there should be an "Add" button to let me select it,but the button was gone.
    any help please?

    Hi Matt,
    Following your observation I have copied the folders:
    /templates/client-side-detection
    /templates/client-side-detection-with-history
    /templates/express-installation
    /templates/express-installation-with-history
    /templates/no-player-detection
    /templates/no-player-detection-with-history
    from Flex sdk 3.3 to Flex sdk 4 and that solved the issue.
    Thanks a lot for your help.

  • I have just just installed a new version of itunes. When i tried to run the new version it came up with the message "The file ituneslibrary.itl cannot be read because it was created by newer version of itunes. Can anybody advise?

    I have just just installed a new version of itunes. When i tried to run the new version it came up with the message "The file ituneslibrary.itl cannot be read because it was created by newer version of itunes.
    I installed the new version because itunes had not recognised my ipod nano 5G, and told me to reinstall. Itunes selected which version to install, so I don't understand what is going on. To add insult to injury it installed a pile of malware which I am still trying to get rid off.
    Any advice would be helpful

    Hello Davedamoclese,
    Go through the below link to Remove iTunes and all its components from your computer first and then Re-install fresh copy of iTunes on your computer.
    http://support.apple.com/kb/HT1923
    Note : DO not delete iTunes Library as it contains all your iTunes data, please go through the below link for where it is saved on your computer :
    http://support.apple.com/kb/ht1391
    You can download the latest version of iTunes from the below link :
    http://www.apple.com/itunes/download/

  • I have been using itunes all day and then it wanted me to install a newer version.  When I did it said I can't because it's missing mdsvr80 or something so i downloaded that now it has another error.  How do I get itunes back the way it was or to work?

    I have been using itunes all day and then it wanted me to install a newer version.  When I did it said I can't because it's missing mdsvr80 or something so i downloaded that now it has another error.  How do I get itunes back the way it was or to work?

    See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562

  • When the message arrives, the message tone sound that many times. How this problem can be solved? I installed the new version, but the problem is not resolved, the future is to be taken into account in the new version of this?

    When the message arrives, the message tone sound that many times. How this problem can be solved? I installed the new version, but the problem is not resolved, the future is to be taken into account in the new version of this?

    I'm not sure I understand the question, is the message tone going more then once?
    Turn off repeat message alert here:
    settings > notifications > messages > repeat alert > never
    Some people have found this does not stop the repeat miessage tone,
    if you are one of those then I suggest you contact Apple:
    http://www.apple.com/feedback/iphone.html
    They may not respond, but hopefully will fix in uodate if enough people complain.

  • After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is su

    After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is suggested; however, I can't do that because of my company's IT policies. Is there any way to solve this problem WITHOUT a complete reinstall? Thank you!
    == This happened ==
    Every time Firefox opened
    == I installed a new version ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)

    If you can't reinstall Firefox yourself then you need to contact your IT department and ask them to check the Firefox installation.
    It is possible that some files got broken with the latest update.

  • I want to install the new version of Adobe Flash on my Mac. I download it and when I go to install a security screen comes up with my user name. It asks for my password and no matter what I put it won't recognize the password and let me install the player

    I am trying to install the new version of Adobe Player on my Mac. I download it but can't install it. When I go to install it I get a security screen with my user ID and it asks for my password. I have reset my password but still can't get it to be accepted so I can't download the player

    Hello,
    Please see What userid & password do I need to install Flash Player?.
    Maria

  • Hi. I was trying to open some pdf files and got a message my adobe reader was deinstalled. I installed a new version of Adobe Reader for Mac and when trying to open a PDF file I am getting a message in a foreign language. Any suggestions?

    Hi. I was trying to open some pdf files and got a message my adobe reader was deinstalled. I installed a new version of Adobe Reader for Mac and when trying to open a PDF file I am getting a message in a foreign language. Any suggestions?

    Are you launching Pages from an icon in your Dock? Installing the update does not change the Dock icons & it does not remove the older versions. Go to your Applications folder & launch the new Pages from there.

  • I tryed to install the new version of itunes, but when it was downloading a pop up popped up and it said 'the older version of bonjour can not be updated. please contack your support group.' what do i do?

    I tryed to install the new version of itunes, but when it was downloading a pop up popped up and it said 'the older version of bonjour can not be updated. please contack your support group.' what do i do?

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • When installing the new iTunes software, the message : "the older version of apple software update cannot be removed." What should I do? I tried deleting files related, but nothing works.

    When installing the new iTunes software, the message : "the older version of apple software update cannot be removed." What should I do? I tried deleting files related through control panel or the manual way, but it doesn't work. Am I missing something?

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Apple Software Update entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install using an iTunesSetup.exe (or iTunes64Setup.exe) downloaded from the Apple Website:
    http://www.apple.com/itunes/download/
    Does it go through properly this time?

  • What do I do when I am trying to install my new version of itunes, and it says this: The installer encountered errors before iTunes could be configured. Errors occurred during installation. Your system has not been modified.

    What do I do when I am trying to install my new version of itunes, and it says this: The installer encountered errors before iTunes could be configured. Errors occurred during installation. Your system has not been modified.

    I had this, and after a large number of fruitless attempts, I had to reload Windows, which solved it. This was of course a real pain, but I had to do it since updating iTunes was necessary in order to get the new iOS version. But before doing such a drastic thing, you could try to restore Windows to a previous point in time by picking a restore point. This of course presumes that you really have some issues with your Windows (which I had) and that you can make a decent guess on when the system was ok (which I couldn't), i.e that you can decide a good date to restore to.

  • TS1702 I have installed a new version of an APP (mViewer).   This app allows me to view security cameras in my office when I'm away.  I've tried istalling it several times, put in all the information, including passwords and cannot get it to work.?

    I have installed a new version of an APP (mViewer).  This app allows me to view security cameras in my office from anywhere.  I've tried installing several times, put in all the information, including passwords, but cannot get it to work either on my iPhone or iPad. Is anyone familiar with this app?  Thank you.

    I don't know this app, but I did look it up in the iTunes Store, thinking I would suggest you could visit the developer's (vendor's) site and seek assistance there.
    But when I found the app and went to the vendor's site, I found garbage (nothing useful).
    Oh well.

Maybe you are looking for

  • Firefox crashes on windows 7 when accessing flash websites

    Hi. When I use fire-fox, it keeps on freezing when i'm accessing any websites that use flash. Googling this problem wouldn't solve it. I have updated firefox to the latest / adobe but it wouldn't solve the problem. If I use another firefox based prod

  • IDocs & sales reports

    Hi All,   Can anyone tell me about IDocs and some standard sales reports to talk in Interview? (No need of full stories, just to talk in interviews) Regards Rama Rao

  • Table SOFFPHF : usage of File_Name=FILE0001

    Hello experts, We have been asked to analyze the content of table SOFFPHF ( and also SOFFCONT1 & SOC3) In SOFFPHF for field 'FILE_NAME' we can find names like filename123456.xls filename1234.doc filename098765.jpg filename12345.pdf and other meaningf

  • Error when accessing wingui

    hello, i've configured an iview to connect to r/3 using wingui as administrator, it works when i preview the iview but as guest user, i get an error in log file i can find this : <i> Content pass of Application Integrator failed. Component Name:     

  • Classification of movement types

    Hi Experts, In which table can i find the classification of the movement types ? For example - 981 movement type is for Goods receipt. Then what is 961 for ? Also if i want to change that classification then how can it be done ? Thanks in advance. As