Force report refresh

How do I make sure a report embedded as a web applet pulls the latest data without the user having to press the Refresh link on the report?
The javascript code I found on this forum did not work.
Thanks.

They are ways of causing report refresh automatically using javascript or HTML code that you can find on the net but unfortunately the refresh will continue to happen in an infinite loop. There is no code to cause automatic refresh only once. i have been trying to find it but couldn't get my hands to.
If by chance you come across any such code for causing refresh only once, kindly share it over here.

Similar Messages

  • AJAX Report Refresh  a_report- Condition for display not being validated

    Hi ,
    I have a report which has the following condition for dispaly:
    Exists(SQL query returs atleast one row) - SELECT * from temp1The query for the report is : select * from temp1 Now I have a button on the page and on click of the button I call the below Javascript :
    function f_insert_Temp_table(pTrans){
          var l_Return = null;
          var get = new htmldb_Get(null,$x('pFlowId').value,
                  'APPLICATION_PROCESS=temp_table_insert',206);       // ODP to insert into temp1
          get.add('TRANS_ID_ITEM',pTrans);
          gReturn = get.get('');
         //alert(gReturn);
         //$x_Show('6342610690289435');
         $a_report('6342610690289435','1','15','15');
    }Everything executes fine and the report refreshes the rows but the condition used for display doesn't get checked when I call $a_report() ...
    I can see the ODP execute successfully and row gets inserted into temp1 which means report condition is satisfied .
    If I remove the condition for the report, I can see the report getting refreshed and showing new rows through the $a_Report() call.
    Is there something that needs to be added to the script or $a_report call to validate the condition too ?Is there a way I can validate the region condition too ?
    Appreciate any suggestions/pointers here. I really do not want to refresh the whole page.
    Thanks,
    Dippy
    Edited by: Dippy on Feb 5, 2010 11:05 AM

    Hi Flavio,
    Thanks for your support.I figured where I was going completely wrong.
    Its just that when the page loads for the first time the temp table is empty and hence the report is not being displayed which simply
    means that the report id Im passing into the a_report function is not rendered on the page. Hence no matter what the temp table contains the report id is absent from the page.
    I fixed it as follows :
    Remove the condition for the report.
    Added and item and computed(P_Compute) its value using select count(*) from temp.
    Added an onload JS function which does a $x_Show('Report_Region') if P_Compute > 0 or $x_Hide('Report_Region') if P_Compute <0 .
    Now in my JS function which has an AJAX call to an ODP does an $x_Show('Report_Region').
    Flavioc : the query for my report is simple
    select * from tempIt finally dawned upon me that I'm trying to catch hold of an ID that's not rendered.
    So one issue is solved now the other part would be figuring out how to make $a_report work with pagination etc .

  • Crystal Reports refresh issue

    Hello,
    I created some report's in CR2008 using MySQL database. I use (.udl) file to create a connection and connect to MySQL Server. I want to give the flexibility of refreshing this report on SQL Server, I created a (.udl) data source file for SQL Server and used it to connect to a SQL Server, by setting database location for the report, the refreshes works properly. But every time I open the report , it displays a new connection string, The Data Source name is only supposed to be "AAGARWAL-PC\MSSQL", but when I open a new report and refresh it, cr2008 creates a new connection string "AAGARWAL-PC\MSSQL_1". I dont understand the reason for this.
    When I refresh a MySQL report on MsSql the report refreshes properly and creates a new connection string. But when I try to refresh a MsSQL report on MySQL the report does not refresh. I shows an error saying it cannot access the database objects, I guess the reason for that could be "dbo.tablename" for for MsSQL will not be supported on MySQL, is there a workaround for this?
    Any ideas or thoughts on these issues?
    Thanks

    No work around other than setting location manually to SQL Server. Both DB's require different SQL being generated therefore you can't assume CR will just work without giving it a chance to "fix" the connection info.
    Easiest way is to have one report for each DB if you don't wnat to manage them through an application.

  • Auto report refresh on v2.2

    I'm following an old thread on how to auto refresh a region. I followed the steps but
    the page/region is not refreshing... Could anybody help me whats wrong? I copied
    the colde from Carl's page. Im still stuck with 2.2.
    thanks.

    are you talking about the database table caching? if so we are using OLAP cubes and I am not sure if caching is disabled. Is my issue related to caching? also another updated if I have just one dashboard prompt for example just year  only report 1 refreshes and the report 2 doesn't disappear. But when I add state dashboard prompt, which ever prompt I change state or year  both reports refreshes. The problem is when I add more than one prompt on the dashboard all the reports refreshes when the dashboard prompt selection changes. Any ideas.
    Thanks

  • DeskI report refreshable on the web

    I am attempting to make a DeskI report available on the web.  That part was easy, i saved as HTML, and was able to view it on a web page.  But we need a step further,  i need to be able to make this report refreshable, it has 4 prompts.  We want the user to be able to enter info into prompts and get the report.  I know this can be done,  but cannot figure out why i can't make it work, any help is appreciated.

    When saving the Deski report as HTML set the "Automatic Reload Every"
    The browser reloads the document according to the frequency specified in the box, which ensures that the HTML document is kept up-to-date with changes made to the original document in BusinessObjects. This is similar to the document refresh feature.

  • Force Reporting Services 2012 use https

    I have recently set up a new instance of SQL Server Reporting Services. I have it running and am in the testing phase of the deploy. I have set it up to use SSL and basic Authentication. This all works. The report writer has been able to deploy
    reports and start testing. In this testing we discovered that the menu on the left of the report manager in the data sources or reports management window will not use https. So let me explain it more.
    If you browse to a report or data source in Report Manager then highlight and click on the down arrow and choose "Manage" you will get a page with the report's or data sources' properties. It will also have a menu on the left with items
    like "Subscriptions", "Dependent items", and "Security". If I click on one of these items I get a 404 page error. I can then go to the url and simply put a 's' in the http so it read https and it will work.
    Due to security requirements I have had to block all port 80 traffic, if I open port 80 it will work. It only works as http with port 80 open. The menu url never defaults to htts.
    I have set the root url to have an https at the front. This made no change.
    I tried setting the ReportServerUrl in the c:\Program
    Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.configfile. I set it to include the https at the front as such https://DNSentry.com/reports.
    Yes I changed the url so the Reports is the Report Manager. This broke the entire Report Manager. It would give me an error of:
    The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
    I have also tried to force report portal to use https by setting the secureconnectionlevel in \c:\Program
    Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config to 2, then to 1 and it gave me an error both times.
    The underlying connection was closed: An unexpected error occurred on a send.
    If anyone knows how to force Reporting services to use https for all urls or if I am doing something wrong please let me know.

    @Diskokid I have exactly the same problem, did you find a solution yet?
    -edit- _remove the HTTP from the Web Service URL_
    That did it for me. I got an error at first but it turned out that the certificate was wrong. The
    machine was named ABACUS but could be reached using reports.company.com. I renamed the machine
    REPORTS, requested a certificate  and used that certificate to set up SSL and used the following url  as a guide to check all.
    http://nlsimmons.com/SQLScraps/?p=259

  • Crystal report refresh based on document ID

    Hi All,
    i am able to do webi report refresf based on document id but i am not able to find crystal report refresh based on document ID BO SDK API on JAVA.
    please help me on this?
    the below code is for webi report refresh :
    ReportEngines engines = (ReportEngines) Esession.getService("ReportEngines");
    ReportEngine widocRepEngine = (ReportEngine) engines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
    widocRepEngine.setLocale("en_US");
    DocumentInstance doc = widocRepEngine.openDocument(documentId);               
    doc.refresh();

    Well, first, the ReportEngine code you are using is only for Webi and Deski.  You may want to start by looking at the RAS and Enterprise sections of the this [wiki|http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications]

  • OBI Report Refresh automation

    Hi All
    I am having Oracle Data Integrator as ELT tool and Oracle Business Intelligence as reporting tool. Both are in Linux servers.
    I want to automate the report refreshal. My plan for this automation is as below:
    When ODI load gets completed, touch a file in my ODI server which will be FTPed to my OBI Server and let the report refresh starts.
    However, I have doubt about how to make OBI report refreshing as event based/file based?
    Any help/Sugesstion is most welcome as I am stuck up in this point.
    Thanks
    Karthik

    Hi
    The problem with this soultion is that what happens if the ETL was not completed at that time?.
    For example,
    i am scheduling Report A to be refreshed by 0400 assuming the ETL gets completed by 0345 or atleast by 0359. If at some unavoidable circumstances if my ETL load got failed or it gets completed by say 0430, then as per my scheduling the report will be refreshed by 0400 which is not correct.
    So I want to have something like, once my ETL load gets completed, I will touch a file/make an entry in table. I want the OBI refresh to be like event based such that only when that file is made/entry is made my report refresh should be initiated.
    Its something like event based trigger as we have in BO. Kindly suggest your soultion.
    Thanks

  • Report Refresh Issue coming in 3.1

    Hi,
    We had BO migration to 3.1 recently from 2.0 and started facing one issue
    I am trying to pass parameter 2 date parameter through Hyperlink called through a BO Java SDK but does not want the report to get refreshed but want the prompt screen to show up having these 2 dates to come up.
    The below hyperlink was working fine in 2.0 and the prompt screen was coming up fine and we can modify the report dates
    to choose another date
    /OpenDocument/opendoc/openDocument.jsp?iDocID=234436&sType=wid&sWindow=Same&token=(server address)&sRefresh=Y&lsSStartDate:=01/01/2006 12:00:00 AM&lsSEndDate:=09/29/2010 10:00:00 PM
    But when for this hyperlink now in 3.1, the report gets refreshed and prompt window does not come.
    I tried to give refresh=N, but still the report refreshs without displaying the prompt screen
    Is there some settings changes in the new BO SDK which needs to be done to stop the report to refresh even when we pass the parameters?
    Thanks,
    Rahul

    Hi Rahul,
    Which SP is? In 3.1 SP3 sWindow parameter is obsolete, I´m not sure it is your problem, but maybe you can try without sWindow.
    Another question:
    Do you have any default value in the prompts?
    Is it a webi prompt or a universe prompt?
    Here you have the OpenDocument reference for 3.1 SP3: http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_opendocument_en.pdf
    Hope that helps.
    Regards,
    Liliana

  • Unnecessary Report refresh on the dashboard when changing the dashboard prompts

    Hello All
    I have two reports on a dashboard with two dashboard prompts for example Report 1) Year, State, Count; Filter: Year is prompted 2) Year, State, Count; FIlter: State is prompted. On the dashboard we have two reports Report1) and Report 2) with Year and State dashboard prompts.
    The issue is when you change year prompt both the reports gets refreshed even though nothing changes on report 2 but it still dissapears and appears as it is refreshing and  the same happens with report 1 when i change the state prompt it refreshes that report.
    Please letme know how i can limit the dashboard prompt to refresh only the report where it is prompted.
    Thanks
    Ravi

    are you talking about the database table caching? if so we are using OLAP cubes and I am not sure if caching is disabled. Is my issue related to caching? also another updated if I have just one dashboard prompt for example just year  only report 1 refreshes and the report 2 doesn't disappear. But when I add state dashboard prompt, which ever prompt I change state or year  both reports refreshes. The problem is when I add more than one prompt on the dashboard all the reports refreshes when the dashboard prompt selection changes. Any ideas.
    Thanks

  • Cache purge and report refresh.

    Hi
    I have a question when i am trying to do the below.
    I am purging the cache and at same time doing the report refresh. Will my report query hit the database or Cache.
    Please suggest.
    Thanks.

    Hi Veer,
    My requirment is not to get the query hit the database.
    I am doing cache purge and report refresh from DAC.
    Cache purge is purging all the queries of yesterdays. And going for report refresh to see todays fresh data after ETL load.
    Since these two tasks(purge,refresh) happen in parallel in DAC. I want to confirm whether fresh data is getting into reports are stale data is populating again.
    So i asked when purge and refresh happen parellely query is hitting cache or database?
    --Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Force 'Report Locale' to Italian

    Hi,
    I need to force 'Report Locale' (Preferency link) to 'Italian (Italy) on all computer connect to BI publisher.
    any idea?
    thanks

    Thank you. I perused that document and came up with this:
    "When a report is created in the Crystal Reports Designer, it uses the operating system's default printer with the default printer properties...When distributing this report to a client computer, the report uses that computer's default printer driver...."
    However, what seems to happen is that, once I have gone to File -> Page Setup and seen/selected the default printer on the development station, then saved the report, all other stations open the report with that printer, not their own default printers, and the user has to choose the correct printer each time. This would be fine if I could just make the default printer on the development station the same as it is on the workstations, but for the fact that the reports are used on different computers that have different default printers.
    I cannot find any way to reset the report from the specific printer (i.e. development station's default printer) to the generic "default printer" setting so that each station will use its own default printer. It seems that in Crystal 8.5 there may have been a "reset defaults" button or something in there that would replace the specific printer reference with the generic reference to the runtime station's default printer.

  • Force read/refresh of master data attributes on query

    Hi there,
    We're having troubles with one input ready query that changes and attribute value (KYF) of one characteristic. That works fines and whe can save changed data on the infoprovider via DTP. Problem is when data is saved we need to refresh query as whe have both values on screen (original value as char attribute on rows) new value as input ready KYF, so after save we would like to see that both values are the same.
    Is there any way of force query no to read from caché as whe are changing master data attributes. I read something about IF_RSMD_RS_ACCESS class that can be implemented on Master Data access and force it there but sounds really hard so if this is the way can some of you guys give us some help.
    I hope I make myself clear on the explanation...
    Thanks in advance,
    Regards
    Carlos

    Dear All,
    The recent days that I tried working on changing master data attributes through BPS didn't work out.The Primary reasons was  that some of the attributes that I needed to change were not present in the transaction or planning cubes and the characteristics that are not part of your cube on which the planning area is based then you can not do changes on them.
    This is my undestanding .Please correct me if I am wrong.
    Besides , I was also thinking if we can do the same through portal.i.e retriving the master data infoobject ( based on the value seleceted for that infoobject by the user  )  and its attributes in the portal , edit them and save them back so that the updated values goes back to BW master data infoobject data base tables and updates the value.
    Eg . I have Natural Account master data infoobject in the BW with attributes fucntional area and expense center.Based on the user selection of any values for the Natural account lets say  01110 , then for 01110 natural account the portal should display the correspoding attributes values of fucntional area and expense center.Lets take this values as 10 , 20 respectively for fucntional area and expense center . What I want to do now is to change these attrbute values to 30 and 40  and I would like to save it back as the changed attribute values for that natural account for 01110 with new attribute values 30 & 40 respectively for fucntional area and expense center .
    Is this possible through portal and BW?
    Any idea on this would be appriciated.
    Regards,
    Ankit
    Edited by: Ankit Bhandari on Nov 21, 2008 12:21 PM
    Edited by: Ankit Bhandari on Nov 21, 2008 12:32 PM

  • Multiple select queries used in Excel BI report ,fetching data from Sharepoint DB(SP2010_Prod_ProjectServer) causing blockage on DB ,when more than one workbook(same copy of Excel BI Report) refreshed using Refresh All option.

    I am using mutiple select queries to fetch data from Project Server 2010 DB(its sharepoint DB) and these queries fetch data in Excel BI report by establishing connection with DB using instance name and all. I have enhance all these select queries and data
    is being fetched in secs. but when more than one copy of same Excel BI report is refreshed using 'Refresh All' option, then these select queries cause blockage on DB.
    Please let me know mitigation for this blockage issue.
    Should I use begin transaction and commit transaction statements/ shared lock statements.
    please reply

    Hi,
    run same query at the same time?

  • Report refresh does not contain correct data

    Hi all,
    I'm having a problem with an interactive report. this report contains checkboxes for each row.
    When clicking the submit button, a process is called which changes the status of the checked records.
    This status change should cause the IR to not query these records anymore after the submit, but they still appear even though i did a commit after the proces.
    When i refresh the page the correct records are removed from the report.
    Is this normal because i thought the page processes are completed before branching is executed.
    Grtz,
    Mario

    my mistake, i was doing a query with sysdate in the where clause, but when using systimestamp this problem was solved.

Maybe you are looking for