Auto Updating Report

Hello.
I am using Apex 2.2.1 and am trying to get Carl Backstrom's wonderful Auto Updating Report to work.
In the Region Template he is using REGION_STATIC_ID. What is that? How do I supply this value? In Apex 3.x there is a field in which to enter a "Report Id" when creating a report. But in 2.x, I see no such field anywhere.
I went ahead and tried to create a report using his example. I made a copy of the Standard PPR template for Theme 10 (Sand). I then copied his code into my PPR copy. When I run my report, there is no refresh and also I am getting the text "#TOP_PAGINATION#" at the top of the report.
How does one get an Auto Updating report to work in Apex 2.2.1?
Thank you for any help.
Elie

Hi Carl.
Thanks very much for helping me out.
I've posted my Apex 2.2.1 app onto my workspace on OTN. Of course, this workspace is a 3.0.1 workspace, and so, I see the REGION_ID field in the report region. This field is missing in my 2.2.1 workspace.
Here is the link and credential info you'll need to see my report page.
workspace = play30
username = [email protected]
password = flowers
The relavent page is page 3 - "Errlog Report".
With respect to the way you're auto updating your report, I have a couple questions.
1) The #REGION_STATIC_ID# and #REGION_ID# values -- are these the same as the region_id obtained via the query:
SELECT region_id
FROM apex_application_page_regions
WHERE application_id = :app_id
AND page_id = :app_page_id
AND region_name = 'Errlog Report';
2) You're using AJAX to auto update a report region, and so, I was expecting to see some reference to the javascript function htmldb_get(). And yet I see you are not calling this function anywhere in the javascript you're using. Perhaps the functions you are using are calling htmldb_get() behind the scenes, I don't know.
We've not upgraded to 3.0.1 because we have so many Apex (2.x) apps being used in production (and this number is increasing as more users see what we've done) that we need to find a suitable time to upgrade without affecting users too much. We read in the Apex install notes that we need to make our database instance unavailable during the upgrade (an hour or so), and so, finding this hour of space is the main hurdle blocking our upgrade to 3.0.1.
Thanks, again, for any help/advice. It is much appreciated.
Elie

Similar Messages

  • How to display more than 10 rows in an Auto Updating Report

    I followed Carl Backstorm's example, http://htmldb.oracle.com/pls/otn/f?p=11933:40:525653462286833::NO:RP:: to create a page with an auto update report/region. It's working fine (thanks, Carl) but I can't have the report display all rows (38 rows in total). Everytime I press the "Manual Refresh" button, it shows 10 (the first 10) rows only.
    When the report displays at the first time, it shows all the rows (38 rows). Number of Rows and Maximum Row Count are set to 999999 and "No Pagination Selected" in the report region. But after I press the "Manual Refresh" button or specifiy an update time value (like 1 second) to have it auto update, then it only display the first 10 rows.
    Is there a way to display more than 10 rows in an Auto Updating Report using Carl's example auto update report/page? Anyone can help? Thank you.
    -Michele
    Edited by: 106451 on Jun 30, 2010 10:12 AM

    Yes, I changed it to:
    function table_object(pId){
         this.id = pId;
         this.start_record = 1;          //optional
         this.num_record = 50; //optional
         this.num_record2 = 50;          //optional
    I don't quite understand how these vaiables are used for though. Thanks.

  • Carl's Auto Updating Report example with Apex 3.0

    Hi,
    I'm try to develop a page very similar to Carls' "Auto Updating Report" page and been very new to Apex I find it very hard to work out all the things I need to do from the example pages.
    Is there anywhere I can download a sample application so I can explore the code through APEX to see how everything works and fits together.
    Any help would be most appreciated.
    Anthony

    Carl,
    Thanks I have it working.
    Just one more question is it possible to have two reports on same page to auto update?
    If I simply add another html_PPR_Report_Page with the second report_id I get an Error : "gNode is null or not an object". using IE.
    function mon_Refresh()
    setTimeout("mon_Refresh()",5000);
    html_PPR_Report_Page (null,'R1736701112358007',$x('r_R1736701112358007').getAttribute('htmldb:href'))
    works fine but
    function mon_Refresh()
    setTimeout("mon_Refresh()",5000);
    html_PPR_Report_Page (null,'R1736701112358007',$x('r_R1736701112358007').getAttribute('htmldb:href'))
    html_PPR_Report_Page (null,'R1738006943370690',$x('r_R1738006943370690').getAttribute('htmldb:href'))
    raises an error.
    Anthony

  • Carls Auto Updating Report  - Updating more than one Report on a page.

    Does any one know how or adapted Carl's Auto Updating Report to work with more than one report on a page.
    If I simply add another html_PPR_Report_Page with the second report_id I get an Error : "gNode is null or not an object". using IE.
    function mon_Refresh()
    setTimeout("mon_Refresh()",5000);
    html_PPR_Report_Page (null,'R1736701112358007',$x('r_R1736701112358007').getAttribute('htmldb:href'))
    works fine but when I add the second call I get the "gNode is null or not an object". error.
    function mon_Refresh()
    setTimeout("mon_Refresh()",5000);
    html_PPR_Report_Page (null,'R1736701112358007',$x('r_R1736701112358007').getAttribute('htmldb:href'))
    html_PPR_Report_Page (null,'R1738006943370690',$x('r_R1738006943370690').getAttribute('htmldb:href'))
    Any help most appreciated.
    Anthony

    Hello,
    Looks like you might be running into our AJAX race condition take a look at this fix and see if it helps you out.
    Race condition in htmldb_get.js
    Carl

  • Issue with Carl's Auto Updating Report example

    Hi. I'm trying to figure out how to implement PPR templates into my application. I've looked at Carl's example and thought downloading it to my test workspace and checking it out would be the best way forward. I've created the table per the instructions and am getting an odd error when I try to set the refresh rate:
    Line: 23
    Char: 3
    Error: 'null' is null or not an object
    This is a link to my report:
    http://htmldb.oracle.com/pls/otn/f?p=43812:40:12406459224965513538::NO:RP::
    Does anyone have any tips, common errors, that I can check out?
    Thanks a bunch. Len

    OK. So I see from a previous post that region_id does not have a variable option. To find the region ID if I look at the source code for the page I use the Rnnnnn listed? Then go to the 'Edit Attributes' of the page and change the number in the HTML Header section?

  • Firefox 29 . Will auto update work ok without reporting missing files ?

    I am getting ready to switch from IE to Chrome or Firefox. I have read numerous complaints about the Auto Update feature on Firefox. Below is a copy of one of them. How common is this problem?

    Firefox has almost 1/2 billion users. Chances are there are many people will post about a problem even if it only affects a small minority or is fixed.
    Possibly you are asking about the Rapid Release Cycle. I think most would agree it initially caused problems mainly with incompatible addons. That problem is largely resolved now. Corporate users deploying Firefox may also have had issues but now have the option of using a different release channel of Firefox.
    Your article was apparently not attached, maybe you could provide a link to it. I would point out that discussion of Development issues is normally considered off topic on this forum. I will edit the title from
    * Is there a problem with missing files with FF auto updates?
    to
    * Firefox 29 . Will auto update work ok without reporting missing files ?
    That way the question is current and we actually expect developers to be around this week answering questions about Firefox 29.

  • How do I roll-back to the previous version of Firefox? An auto update occurred and now one of the programs used at the office (ACT! v6.0 SwiftMail) won't run with the browser.

    The office I work in uses a very old version of ACT!, an accounting package. This package has a component called SwiftPage, an antiquated email system that enables us to email from the ACT DB. SwiftPage runs via the web browser.
    Firefox just did an auto update (that I will have to find out how to turn off) and now SwiftPage won't run as it is not compatible.
    Can I "roll-back" my version of Firefox or do I have to uninstall and try to re-install an older version?
    HELP!

    Try loading and using the add-on from this link: https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/
    Many add-ons do in fact work if you force them to run. The procedure to roll-back is given in this article: [[installing previous versions of firefox]]
    Unfortunately the official Firefox policy is that you downgrade to 3.6 which is supported for a while longer, and not the now unsupported Firefox 4. If after installing and running the ''add-on compatibility reporter'' you still have problems there are ways around the official policy.
    I think it is absurd that Firefox 4 may be used by tens of millions of users one day and a few days later those that upgrade to Firefox 5 should be not only told not to use a now unsupported browser, if they need to revert due to problems, but are actually obstructed in attempts to do so. See also [/questions/840397#answer-205154]

  • Closed Auto Loan Reporting As Open Question

    I have an auto loan reporting across all bureaus as open but in good standing. I suppose that is well and good except for the fact that the loan was closed in Dec of last year. My question...would having the loan shown as open reduce my credit score or do you think it's helping? I've heard having a loan of that nature close can reduce your score so I'm not sure what to do about it. Any input is appreciated. Thanks!

    Well, see whether you get any other feedback from other folks on here.  But if I were you, I'd just end up having some low grade anxiety if I had a record on my report that claimed I owed a big chunk of money for something I didn't.  The explanation, I assume, is that the creditor never updated the record to show that you paid off the loan. Unless someone here tells you differently, I'd reach out to the lender and confirm with them that they agree that you paid off the loan in December.  If they do agree, explain that they haven't yet updated the final status of the account to show that you paid it off -- and ask them to do that.  That way you'll end up with an accurate report that shows future creditors that you can manage and pay off a car loan. I have allowed incorrect data to stay on my report when it is absolutely 100% positive.  This is a bit of a mixed bag: a record that falsely asserts you still owe a creditor a good chunk of change.  Whetever benefit you get out of it being "open" doesn't seem worth it to me.  But see what other people say.

  • Crashing on start up, auto-updating even when disabled & not allowing a safe toolbar add-on to download

    I have followed all of the steps in all of the relevant help articles (http://support.mozilla.org/en-US/kb/firefox-crashes-troubleshoot-prevent-and-get-help#w_get-help-fixing-this-crash), and nothing has fixed this problem.
    I was running v17, and yesterday it auto-updated to v18 when I opened firefox. As soon as it updated it crashed, pressing 'restart firefox' did nothing, I could only quit. So I found an old install file, went back to v17, checked the option to ask permission before updating, run malwarebytes and spybot, so my PC is clean. This morning, same thing happened - auto update with no warning or permission given. Crashed. Repeatedly, restarted, closed everything else that was running, uninstalled and reinstalled the older stable version. Both times I spent a long time reinstalling add ons and themes. On top of that my goodapp toolbar from goodsearch will no longer be installed by firefox because 'it can't modify the necessary files'. All other add ons work fine, and I was using this toolbar with no issues in v17 only yesterday.
    The second reinstall I clicked the option 'never check for updates'. But tonight, when I opened firefox, it updated without warning to v18 again and I was ready to switch to chrome after a decade of using this browser. There was no Firefox (safe mode) to run from my program files, and since I couldn't open the browser at all before it crashed, all I could do was uninstall and reinstall v17 for the third time in 24 hours and as you can imagine I am not very happy that your so-called stable release is anything but that. I think with the number of people having problems that you should stop work on v20 and actually accept there is a problem with this release instead of trying to blame it on malware.
    Latest crash report ID: bp-3ea35888-008f-4e21-b31f-023002130112

    This crash is usually caused by to malware and the involved randomly named file in your case is astktkra.dll as you can see in the modules list of the crash report.
    Try to use MSConfig and disable that file to prevent it from getting started.
    *http://www.howtogeek.com/74523/how-to-disable-startup-programs-in-windows/
    Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) to see if that allows to locate and remove the file either manually or with a malware scanner.
    You will have to search the Windows registry (Ctrl+F) for references to that file and export and remove involved keys to avoid startup issues with missing files or alternatively use a registry cleaner like CCleaner.
    If you are not comfortable with editing the registry then it is best to skip this step.
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Adobe Flash Auto-update

    Adobe's long policy of aggressive auto update lacks the quality one would expect from Adobe.
    This is simply because one can be in the middle of a process that can't be interrupted by restarting the computer.
    This is specially true of developers or traders as just two categories of users.
    Please stop playing forcing people to choosing auto-update Adobe flash. I rather disable Adobe flash permanently than to allow my computer restart whilst i am in the middle of a work process.

    See:
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=630199 Bug 630199] – Flash crash [@ VP3VideoDecoder_DecodeFrameCompleteCallback ]
    ''(please do not comment in bug reports; you can vote instead)''

  • Error when attempting to run auto invoice report

    Hi,
    We are currently using Oracle E-Business Suite 11.2.  One of our users was attempting to run an Auto Invoice Report this morning and got an error occur.  The log file shows the following:
    SELECT INTERFACE_LINE_ID
    FROM   RA_INTERFACE_LINES L2
    WHERE  L2.REQUEST_ID = :b5
    AND    L2.INTERFACE_LINE_CONTEXT = 'UPLS INVOICES'
    AND    L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND    L1.LINK_TO_LINE_ATTRIBUTE10 = L2.INTERFACE_LINE_ATTRIBUTE10
    AND    L1.LINK_TO_LINE_ATTRIBUTE11 = L2.INTERFACE_LINE_ATTRIBUTE11
    AND    L1.LINK_TO_LINE_ATTRIBUTE12 = L2.INTERFACE_LINE_ATTRIBUTE12
    WHERE NVL(INTERFACE_STATUS, '~') != 'P'
    AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
    AND EXISTS
    SELECT 'x'
    FROM   RA_INTERFACE_LINES L2
    WHERE  L2.REQUEST_ID = :b7
    AND    L2.INTERFACE_LINE_CONTEXT = 'UPLS INVOICES'
    AND    L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND    L1.LINK_TO_LINE_ATTRIBUTE10 = L2.INTERFACE_LINE_ATTRIBUTE10
    AND    L1.LINK_TO_LINE_ATTRIBUTE11 = L2.INTERFACE_LINE_ATTRIBUTE11
    AND    L1.LINK_TO_LINE_ATTRIBUTE12 = L2.INTERFACE_LINE_ATTRIBUTE12
    len = 1171
    Current system time is 09-OCT-2013 07:33:50
    APP-AR-11526: ORA-01427: single-row subquery returns more than one row
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE =
    APP-AR-11526: 2913367/ar/src/autoinv/raamil.lpc 1333
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = sysdate,
    LAST_UPDATED_BY = :b2,
    LAST_UPDATE_LOGIN = :b3,
    CUSTOMER_TRX_ID = NULL,
    INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
    RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
    SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
    LINK_TO_LINE_ID =
    Would someone be able to help me with this as my knowledge on Oracle is quite basic and the person who usually deals with these queries is out of the office.
    Regards,
    Jon Ditchfield

    The error is
    APP-AR-11526: ORA-01427: single-row subquery returns more than one row
    A subquery that is supposed to return only one row is returning more than one. Most likely it is this query
    SELECT 'x'
    FROM   RA_INTERFACE_LINES L2
    WHERE  L2.REQUEST_ID = :b7
    AND    L2.INTERFACE_LINE_CONTEXT = 'UPLS INVOICES'
    AND    L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND    L1.LINK_TO_LINE_ATTRIBUTE10 = L2.INTERFACE_LINE_ATTRIBUTE10
    AND    L1.LINK_TO_LINE_ATTRIBUTE11 = L2.INTERFACE_LINE_ATTRIBUTE11
    AND    L1.LINK_TO_LINE_ATTRIBUTE12 = L2.INTERFACE_LINE_ATTRIBUTE12

  • 11.0.9 is unusable, but after downgrading to 11.0, Acrobat keeps auto-updating back to 11.0.9

    I can't use 11.0.9 because it screws up the HTML > PDF conversion (alignment issues galore). I learned how to downgrade to 11.0 yesterday. This morning, I came into work and it had auto-updated back to 11.0.9. In Preferences > Updater it's set to not download and install updates, so I don't understand why this happened (apart from the fact that all updates on our machines require admin logins, which certainly didn't happen in the middle of the night!)
    I have the Creative Cloud, and it was running, but still, such an update shouldn't have happened without the admin login. We've turned off the CC launching at boot, but I do need to run it occasionally to update other apps, but I NEVER want Acrobat to update until they come out with a usable product again.
    Any help out there?
    TIA,
    Kirby

    Hi KRKnight,
    The latest version of Acrobat is v 11.0.10. Please check if you still face such conversion issues with Acrobat.
    Acrobat’s PDF export to HTML is targeted to facilitate reuse of exported HTML and retaining the exact layout is a secondary aspect. The export engine therefore focuses on accurately generating text content with minimum HTML tags that is well suited for text re-flow.
    If the base version 11.0 works correctly for you then you can continue using it but it's always recommended to update to the latest version as most of the reported bugs and security vulnerabilities are fixed in the latest version.
    Disabling the Adobe Acrobat XI update notifications is actually pretty easy. There’s a registry setting in HKEY_LOCAL_MACHINE that will allow you to completely disable both update notifications and the update functionality. The full path of the key is HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Adobe Acrobat\11.0\FeatureLockDown
    The registry entry is named bUpdater and is a DWORD value. Setting the value to 0 disables updates. (Note: This DWORD value does not exist by default and either has to be created manually or by some other automated method like Group Policy.)
    Regards,
    Rave

  • Use the system lang of AIR applications auto update.

    Hello,
    I recently used the auto update framework for my AIR application, this works fine but i have a small problem.
    I made some reasearches and i found AIR uses the system lang by default. When i install my package for the first time, the lang is my sytem lang but when i find a new update after running auto update of my app, the AIR updater window doesn't use my sytem lang, which is french, but uses english lang. I'd like to put this window in french.
    Thanks.

    Try loading and using the add-on from this link: https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/
    Many add-ons do in fact work if you force them to run. The procedure to roll-back is given in this article: [[installing previous versions of firefox]]
    Unfortunately the official Firefox policy is that you downgrade to 3.6 which is supported for a while longer, and not the now unsupported Firefox 4. If after installing and running the ''add-on compatibility reporter'' you still have problems there are ways around the official policy.
    I think it is absurd that Firefox 4 may be used by tens of millions of users one day and a few days later those that upgrade to Firefox 5 should be not only told not to use a now unsupported browser, if they need to revert due to problems, but are actually obstructed in attempts to do so. See also [/questions/840397#answer-205154]

  • Nokia S60v3 time auto update bug

    **NOTE: You will ONLY see this bug if you live in USA where there is no DST**
    I live in Phoenix (Arizona) and there is no day light savings here i.e. MST+NO DST or they also call it "Arizona time (GMT-7hr)".
    When i bought N95-1 in April 2007, i had set the phone to auto update based on network time. It would always report +1 hour of my actual time i.e. 7:00PM when the actual time was 6:00PM. I did all sorts of debugging (changing sims,trying AT&T vs T-mobile sims, firmware updates) but no success and i ended up disabling network time and set the time manually on my phone which is not nice if you travel between time zones. My current sim would report correct time on my wife's Treo-680 & Motorola Razor. Later i bought N95-3, same problem!
    Then i was surprised to see my friend with Nokia N80 had exactly the same problem here in Phoenix so now at least i knew i was not doing something stupid.
    I finally nailed it that it is bug in Nokia phone software because after first Sunday of November (11/04/2007) when DST end in USA and we revert to standard time the Auto update feature started reporting correct time and is working properly now. And i bet after the second Sunday in March (i.e. on 9 March 08) when DST kicks in, it would go bad again to +1 hour offset.
    Nokia needs to fix this bug.
    Nokia N97 NAM

    I do not believe this is network operator issue. if that were the case, then it should break other phones as well. As far as I've been able to determine, looking at other Nokia, Sony Ericsson, LG, and Motorola phones, this isn't the case. They all work fine. Actually my Nokia 6270 works fine on the SAME operator and on the SAME sim card!!
    Another point is that i even tried other operator SIM cards into my N95 and it is always the Nokia and not the operator. I can also say this with confidence that the issue is not only N series but also the E series device that have S60v3 or higher
    I am not the first to report this. Here is another thread and towards the end it seems Nokia knows about this. Which makes me even more mad!
    http://forums.cingular.com/cng/board/message?board.id=nokia&message.id=42541
    Nokia N97 NAM

  • LUMIRA Server Auto refresh reports

    Hi,
    In Lumira Server 1.17. Is it possible to auto-refresh reports without refreshing the web page? Only when I refresh the page, then the data gets updated.
    Thanks.

    Hi Cherry,
    I believe the only option to schedule a refresh of a Lumira data set is when it is based on a .UNX universe. The BI 4.1 platform will enable this functionality from within the CMC. Here you can schedule a refresh and the data will be updated on the HANA platform.
    Please let me know if you have any additional questions!
    With kind regards,
    Martijn van Foeken | Intenzz

Maybe you are looking for

  • Macbook Pro 13" late 2013 Vs MacBook Air 13" 2013

    I am a College Student studying Computer Engingeering i just wanted to know if there is much difference with Iris and HD 5000 graphics- The Two models That i am stuck between buying is 1)MacBook Pro 13″ 2.4GHz Dual-core Intel Core i5, Turbo Boost up

  • I need to re-download Adobe Acrobat X Standard to my laptop.  Where do I go to do this?

    I need to re-download Adobe Acrobat X Standard to my laptop.  Where do I go to do this?

  • CHARACTER TO DECIMAL Conversion

    hi all , i get data from a flat file for one column i am getting 65900 650 754399 for eg : 65900 i should insert into table as 659.00 for : 754399 i should insert into table as 7543.99 The last two digits should be separated i cant change the datatyp

  • Best way to store data server side

    Our APEX (v3.1) applications use quite a bit of stored procedures to implement the business logic. What do you think is the best way to maintain some complex state on the server (where complex is anything more than a string)? Ideally I would like to

  • Duplicate entries in table

    Hi, I am using a standard function module, BBP_GET_BOBUSERS_F4. However, after the execution, im getting duplicate entries in my table. Please suggest cause and solution. Thanks, Prisford Pereira.