Pre-caching portlet/reports

Hi,
Is there any way to pre-cache a portlet with all the possible parameters for that Disco report/portlet?
I have a main page and two immediate sub-pages. The sub-pages are accessed using a Simple Parameter Portlet (SPP).
SPP1 asks for a Market name which is then passed to the Market sub-page as a page parameter (used in the three disco reports/portlets)
SPP2 asks for a Magazine name with is passed to the Magazine sub-page, also as a page parameter (used in a total of 12 disco reports/portlets across three tabs).
Is there any way to pre-cache the results of the report for all the possible parameters, so that when the portlet refresh time elapses the portlet automatically runs all the possible parameters to build up the cache, so that the portlet can call upon the cache data rather than having to run the query when the page is accessed with a parameter from one of the SPPs.
Thanks,
Andy

I don't know if (don't think it is) standard functionality of the portlet to do this.
So here are some alternative ideas on how to accomplish this:
1) have a batch job execute Disco Desktop command line to run each report with each parameter combination you want, and the command line specifies to save each result to html output. Name the files based on the report and parameter used, like "Report1_East.html"
Write a jsp page that accepts a couple parameters and based on the parameters returns (by doing an include) the correct html file. If you pass in Report1 and East as parameters it returns the "Report1_East.html".
Expose the jsp page in portal as a portlet.
2) If that results in too many combinations and files then maybe you can put filter logic in the flow somewhere. I think the OmniPortlet allows you to filter based on parameters. So then your batch job runs the report for "all", saves to html file, and the OmniPortlet returns part of this based on the filter criteria.
I've made idea #1 work... #2 is just an idea.

Similar Messages

  • Should we Use cache seeding iBots to pre-cache the reports ?

    Hi Everyone,
    We have requirement from client to improve the performance of some reports.We have a very old RPD and it is really huge so we don't want to do much on database side for performance tuning.
    Will it be a good idea to use cache seeding iBots to pre-cache the reports ?
    Most of the reports which are having performance issue are having some 5-6 columns and one key column is having some 30+ choices in column selector.So for each column selector view we will have to create a ibot which will again be a huge task.Can you pls guide how to approach this?
    Thanks in advance !
    Aarti Chawla

    hi Aarti,
    Will it be a good idea to use cache seeding iBots to pre-cache the reports ?http://www.artofbi.com/index.php/2010/03/obiee-ibots-obi-caching-strategy-with-seeding-cache/
    30+choices in column selector will definitely have performance issues..bcz each and every time the report is going to refresh .have u enabled the cache some what better .Whats the issue of using existing report by enabling the cache seeding in ibots?
    Thanks,
    Saichand.v

  • Obi 10g - pre run the reports by schedule?

    hi, experts,
    I have 2 questions on obi 10g
    1)
    the server cache is enabled.
    it is because the boss' time is expensive.
    he doesnt wanna wait for the refresh of reports
    are there any means to pre run the reports so that they can read the reports directly, no need to wait for the refresh time.
    2)
    If the a big set of data is already loaded.
    if users need to read the data from subset of the big set data, does OBIEE load subset data from the cache directly?
    or fire another sql to get the data again?
    thank you very much!

    Hi Stephen,
    the nqcmd.exe occupies all the cpu resources to display the resuilt on the command prompt.any ways to handle this case?If you have lot fo records this happens,If your doing this manually to re-build the cache write the SQL and add where condition so you can purge according to the where condition filter.....next again you change where condition and again purge it.
    2) run the nqcmd command to load the dataIn second point why are you loading date,you need to purge/delete data that is existing by using NQCMD command then chk NQquery.log
    I would say follow the steps exactly given in the blog mentioned above,then you get success (OR) in the same blog in comments there is user guide link check out
    If answered,award points.
    By,
    KK

  • App-v 5.0 Pre-cache error in VDI.

    Hello All, 
    I have a Citrix XenDesktop VDI Pooled Desktop (nonpersistent) deployment with Microsoft App-V 5.0 full infrastructure. 
    I was testing the pre-caching of my App-V 5.0 packages (%ProgramData%\App-v) as the Shared Content Store was not providing the best user experience. 
    So I modified the registry setting on my client to turn off SCS, and then done a publishing refresh (using an admin account that had access to all App-V packages), this worked great. The contents of %ProgramData%\App-v changed from small 80Mb to 18
    GB (same as my content store location). I loaded the App-V Client UI and clicked on packages, they all indicated packages are now avaliable offline (so 100% cache) & also running the command
    Get-AppvClientPackage -All indicated that each package was PercentageLoad=100 
    Before I shutdown my image and real-seal it for read-only mode, I went add and Unpublish-AppvClientPackage
    (all of them, there is no easy way to do this via powershell..btw)
    So, now when I launch a Virtual Desktop as an end user, the applications are not working... I am receving a ton of error indicating missing files, so I went to the environment viewer and found these throughout the logs. .. 
    Content required by an application could not be retrieved from the network. A request for file C:\ProgramData\App-V\4015C3CA-1ED9-4876-8423-915CA4B2BEF0\92FAE2E7-B5FA-4DBF-A4F0-EDE27CF421C8\Root\pwsafe.exe from package version {92fae2e7-b5fa-4dbf-a4f0-ede27cf421c8}
    failed with error The parameter is incorrect..  Check your network connection and try again.
    Now I am not sure why it is trying to retrieve additional files, considering all my packages are now available (fully cached) in %ProgramData%\App-v.  NOTE: If I remove all packages from the image in write mode Remove-AppvClientPackage
    and enable SCS the errors do not appear and all packages work perfect. 
    I did not pre-publish any settings when the image was in write mode, so when my user logged on in read-only mode noticed the user environment (VFS) and start-menu creation occurred (as it took 1-2 minutes to complete), which was expected. .. .
    I have google the above error, but could not find anything to help out.. Any ideas how to get precache working in VDI environment? 
    Client - App-v 5.0 SP2 Hotfix 4. 

    Do you re-publish the application during user logon (and how)?
    When you log on to a session and call get-appvclientpackage -all - do they show the full 100% load?
    BTW pre-caching all packages can be done with get-appvclientpackage -all | mount-appvclientpackage.
    Similar to this get-appvclientpackage -all | unpublish-appvclientpackage should hide them all. When (un) Publishing make sure to hit the right scope. if packageas are 'published globally', the -global switch has to be added:
    get-appvclientpackage -all | unpublish-appvclientpackage -global
    Note that HF4 for SP2 (http://support.microsoft.com/kb/2956985/en-us) introduced new settings targeting VDI deployments, they are a little bit explained at http://technet.microsoft.com/en-us/library/dn659478.aspx
    Falko
    Twitter
    @kirk_tn   |   Blog
    kirxblog   |   Web
    kirx.org   |   Fireside
    appvbook.com

  • How to run R12 Oracle E-Business Suite Pre-install Patches Report

    Hi.
    I have downloaded, unzipped this report as per R12 Oracle E-Business Suite Pre-install Patches Report [Video] (Doc ID 1448102.1)
    What then? The instructions say
    Unzip the file, extracting the entire contents, which creates the "EBS_12.1_Preinstall" folder. (The unzipped folder will use <1 MB of storage space.)
    Navigate to the EBS_12.1_Preinstall folder
    Open the file 'index.html' in a browser
    Do not rename any of the the files in the EBS_12.1_Preinstall folder. Such an action will break the report.
    But the "Index" is supposed to show what? At the moment all I see is a number of sections that have nothing in them (the other html pages, like AP etec, do provide information)
    11.5.10.2
    RHEL 5.5
    11.2.0.3

    Hi,
    But the "Index" is supposed to show what? At the moment all I see is a number of sections that have nothing in them (the other html pages, like AP etec, do provide information)
    Please see the FAQ section of the note. Specifically please refer quesions:
    - Does the report list all types of pre-install patches available on My Oracle Support?
    - Is this list of pre-install patches specific to a particular Oracle E-Business Suite release?
    Thanks &
    Best Regards,

  • Do we have pre-built Audit reports?

    Hi, I think I saw pre-built Audit reports in m26.cab for BOXI R2 SP3 but I am not able to find it. I saw it everywhere but could not find this time. Can someone help?
    Thanks,

    I'm surprised this wasn't published before but try the instructions below
    "Open the installation file(.exe file) and select WIN32 folder.
    Click on m29 .cab file,
    Select auditing_rpt_en.biar. file and import it using Import Wizard.
    Select auditing_db_mySql.biar.file of the uinverse and import using Import Wizard.
    Default: 28 reports and auditing universe of SQL server database are obtained.
    Note: For Business Objects XI R3.0 the path for auditing cab file is <Installation Directory>:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Samples
    and then follow the above steps 3 and 4"
    Regards,
    Tim

  • Pre Built Portlets

    In the document "Oracle® Application Server Portal Developer's Guide, 10g,
    Release 2 (10.1.4), B14135-03" section 1.4.2 Other Sources of Pre Built Portlets refers to a Portal Catalog on the Portal Center that contains portlets such as Generating point-to-point driving directions, Accessing IT information from a wide variety of sources and Viewing summary information on news, stocks, and weather. I cannot locate the Portal Catalog. Can someone please direct me to this as we are looking for a news portlet.

    Hi
    The portlet catalogue was merged into the Partner Solutions catalogue that is available on the top right hand corner of
    http://oraclepartnernetwork.oracle.com/
    Regards

  • Pre-Migration Analysis Report Error

    I am attempting to generate the Pre-Migration Analysis Report using the OW2OIM Migration Tool but I'm getting the following error. All other objects are analyzed and reported correctly; this error occurs during the analysis of the user base. We have over 100K accounts within our QAT environment.
    I believe the issue could be with the allotted memory but I'm asking if anyone has experienced this and/or can provide any other ideas causing this issue. Thank you in advance.
    IDM - v8.1 (20090429 Patch 1)
    Migration Tool - OW8xToOIM
    [08-02-2011 10:28:48.626 EDT] ERROR [SIMUserAnalyzer] WavesetException occurred when analyzing SIM users
    com.waveset.util.InternalError: Null object loader reference.
    at com.waveset.object.RepositoryResult.getNextBlock(RepositoryResult.java:1588)
    at com.waveset.object.RepositoryResult.hasNext(RepositoryResult.java:1424)
    at com.waveset.object.QueryResultAdapter.hasNext(QueryResultAdapter.java:86)
    at com.oracle.sim2oim.analyzers.SIMUserAnalyzer.analyze(SIMUserAnalyzer.java:251)
    at com.oracle.sim2oim.controller.SIMController.analyze(SIMController.java:237)
    at com.oracle.migration.core.MigrationManager.runPreMigrationAnalyzer(MigrationManager.java:259)
    at com.oracle.migration.core.MigrationManager.main(MigrationManager.java:145)
    [08-02-2011 10:28:48.749 EDT] ERROR [SIMController] Exception occurred when analyzing com.oracle.sim2oim.analyzers.SIMUserAnalyzer
    com.oracle.migration.exception.PreMigrationAnalysisException: WavesetException occurred when analyzing SIM users
    at com.oracle.sim2oim.analyzers.SIMUserAnalyzer.analyze(SIMUserAnalyzer.java:321)
    at com.oracle.sim2oim.controller.SIMController.analyze(SIMController.java:237)
    at com.oracle.migration.core.MigrationManager.runPreMigrationAnalyzer(MigrationManager.java:259)
    at com.oracle.migration.core.MigrationManager.main(MigrationManager.java:145)

    Update:
    Within the \config\xml\migration-config_PreMigrationAnalysis.xml configuration file you can control the buffering of records. I changed the buffer size from 15000 to 10 and now any object type with count over 10 fails on the 11th object of that type.
    Next step: Check the behaviour of the other configurations.
    <!-- List of source controller properties.-->
    <properties>
         <!-- List of Connection properties to connect to the OW instance.-->
         <property name="url" value="http://qat.idm.com"/>
         <property name="username" value="idm-config"/>
         <!-- This property specifies the location of the individual OW object reports.-->
         <property name="objectReportDirLocation" value="./reports"/>
         <!-- This property specifies the maximum number of records that shall be displayed in an individual OW object report.-->
         <property name="reportRecordsLimit" value="15"/>
         <!-- This property controls the creation of a local login to OW. Allowed Values are true/false.-->
         <property name="requireLocalSession" value="false"/>
         <!-- This property controls the buffering of OW object queries. Allowed Values are true/false.-->
         <property name="bufferQuery" value="true"/>
         <!-- This property controls the buffer size of OW object queries.-->
         <property name="bufferSize" value="10"/>
    </properties>

  • How to cache portlets from pl/sql pdk

    Is it possible to cache portlets from the pl/sql PDK? I've seen a number of threads asking how to prevent the caching, which suggests that it is (and on some installations is standard installations). However, these may not be the same situation that I have.
    I have a number of portlets in a pl/sql provider. Although these portlets display dynamic content, the portlet instance on a particular page will always display thee same information - i.e. the information displayed is page-specific.
    Therefore I would like to cache each portlet instance. How can I do this?
    When I run the page with the _debug=0 parameter, the information shows that the pl/sql portlets cannot be cached.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Nowadays UTL_FILE_DIR is replaced by Oracle Directory Objects.
    Why?
    Because:
    This parameter can be "*" for all the directories on that disk is a big security hole.
    "In the past, accessible directories for the UTL_FILE functions were specified in the initialization file using the UTL_FILE_DIR parameter. However, UTL_FILE_DIR access is no longer recommended. Oracle recommends that you instead use the directory object feature, which replaces UTL_FILE_DIR."
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_file.htm#i996762
    And your 'example' will not generate XML in any way,

  • How to pre Cache App-V application (4.6)

    How to pre cache app-v 4.6 application on the users PC's .
    The package size is around 1 GB . So we are planning to pre cache this application on the users PC using a normal deployment method and Publish the same application via App-v MGMT Server , So that when the user tries to access this application it should
    load from the Pre Cache location .
    Can this be acheived . Please provide your suggestions

    Hello,
    See the autoload-feature;
    http://blogs.technet.com/b/appv/archive/2009/07/28/understanding-the-autoload-feature-of-microsoft-app-v-4-5.aspx
    See Aaron Parker suggestion;
    http://stealthpuppy.com/mailbag-pre-caching-app-v-4-6-packages-on-laptops-using-appsense-environment-manager-8/
    See reference for client registry keys;
    http://technet.microsoft.com/en-us/library/dd464849.aspx
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • Priming cache by reporting agent problem

    Hello All,
    I have few questions regarding article on bwexpertonline for priming the cache.
    The article is really great and big help....but i am not getting out put the way it should be.
    1) I created a query  - which doesnt have any variable/selection screen.
        (question here is will it work for those kind of queries which dont have any selection screen/ variant ? ) --> client wants to prime the cache for few queries which dont have variable screen.
    2) created web template and which refers the same query and save it in favourite.
    3) went to RSA1--> Reporting Agent --> web template --> new setting
        gave technical name, in parameter tab i selected two options "data" and "HTML for browser" by selecting the checkbox.
    4) i dont have any selection screen so couldnt create any variants
    5) mark the check box "fill olap cache if possible"
    6) Save it and activated it
    7) created scheduling package and drag and drop the reporting agent (which is on the left sideunder the webtemplate)
    8) schedule it
    9) sm37--> released the job and ran it.
    10) job finished successfully
    now my question is i dont see any entries for that perticular query in RSRCACHE (TCODE). i tired to run query on web, rsrt but still i dont see any entries in cache.
    can you pleasse tell me where i m making mistakes ?? also, if i want to prime cache for lets say 6 queries do i have to create web template for each...and repeat the whole process for each ? how do i do that ? And will need to attach it in process chain so it can be run on daily basis.
    Any guidance will be appreciated. I will come back and give points for help.
    Thank You in advance...
    KSMITH
    Message was edited by: Keral Smith

    On my system (BW 3.5 SP15) if I have Cache Mode 1 (Main Memory Cache Without Swapping) selected, I don't even have a Persistence Mode setting available - it only becomes available if I choose Cache Modes 2 - 4.  Perhaps that's a support package difference.
    At any rate, Persistence Mode of 0 - Inactive means:
    When the cache memory has been exhausted, data is removed, that is deleted, from the memory (corresponds to cache mode Main Memory Cache Without Swapping).
    So one option is that the cache area is simply filling up and the system is purging your Rpt Agent results.  I also thought I remembered a setting (or maybe it's a fixed value) that said a cached result could not exceed a % of th ecache size, to avoid having a large single query result flush all others out of the cache.
    I would check to see how large the OLAP Cache is on your sandbox.  maybe it just needs to be larger.
    Also worth checking timestamps  (from SAP Help)
    <i>- Query generation time (corresponds to the specification under OLAP-Relevant Data)
    - Time of the last loading of data into the InfoProvider (last data change)
    - Last change to data value set (pre-calculated value set)
    - Last master data change for navigation attributes
    This time stamp influences the invalidation of the cache. If the last time stamp for a cache entry for the selected query is older than one of the above-named time stamps, then the cache is rebuilt.</i>
    Could you be loading Master Data somewhere after the Reporting Agent has run?
    Might also be worth telling your client that Information Broadcasting is intended to replace Reporting Agent.  RA will not be enhanced.

  • Using PRE Function to report field changes

    Hi Everyone,
    As they reporting on audit trail is not available, I was wondering if there was a work around using the PRE function (or any other way) in analytics.
    We're looking to track Revenue changes with respect to Opportunities (so, if Opp A's Revenue ever changed since the first time the $ amount was submitted) - we're especially interested in reporting on weekly changes. If the weekly isn't possible, tracking any change would be helpful.
    Any suggestions?
    Thanks!

    Why not create a workflow using the PRE() function to record the changes in a Task, you could then report on that task.
    cheers
    Alex

  • Caching in report query

    I have 2 questions.
    1. Theres is cacheQueryResults() method in ReportQuery class. The javadoc says that "This method will instruct the query to cache the results returned by its next execution. All subsequent executions of this query will return this cached result set even if new query parameters are specified."
    Does it mean that If I query using ReportQuery, & set cacheQueryResults(), query results will be cached?
    e.g. if there is a method getEmployees() which uses ReportQuery to get data from database. If application makes repeated calls to getEmployees() method, will it result in database calls or will it return results from cache?
    2. Can I use parallel expression & subquery in ReadObjectQuery/ReadAllQuery?
    Any help is highly appreciated.

    Answered Re: Toplink: Report query
    Doug

  • Running Reports using DESTYPE=CACHE from Report Launch Form (QMS0012F)

    We are trying to run reports via the web. Since this is a 3-tier setup and our report server is running under UNIX the DESTYPE=Preview and Screen are not valid options. When we choose CACHE as DESTYPE we get the error:
    'Invalid value '||l_value||' passed for parameter DESTYPE'
    I have traced the error down to the QMS0012L.PLL library -> QMS$REPORT (version 6.5.1.3) package -> add_par_to_list procedure.
    Is this a legacy of a client/server type setup? I have modified the procedure to allow for DESTYPE=CACHE. Now by submitting a report with DESTYPE=CACHE it gets submitted to the reports server except it doesn't show report. To display the report I believe we have
    to use the Web.Show Document function to display the report (eg. http://bill:7777/servlet/RWServlet/getjobid8?server=rep60bill) as per the oracle white paper "Integrating Oracle9iAS Reports in Oracle9iAS Forms"
    Has there been a headsdtart patch to include the DESTYPE of CACHE when running reports? or are we the only ones running reports this way.

    Raymond,
    I have recorded a new bug against Headstart for this. We do not
    currently have a fix, but I've looked at the code you mention and
    your fix looks correct.
    Regards,
    Lauri

  • Pre-built Tally reports

    Hi,
    Is there any pre built reports in ByD based for Tally integration ?

    I'm surprised this wasn't published before but try the instructions below
    "Open the installation file(.exe file) and select WIN32 folder.
    Click on m29 .cab file,
    Select auditing_rpt_en.biar. file and import it using Import Wizard.
    Select auditing_db_mySql.biar.file of the uinverse and import using Import Wizard.
    Default: 28 reports and auditing universe of SQL server database are obtained.
    Note: For Business Objects XI R3.0 the path for auditing cab file is <Installation Directory>:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Samples
    and then follow the above steps 3 and 4"
    Regards,
    Tim

Maybe you are looking for