Can we dynamically load BI reports at runtime?

Hi,
I have 5 BI reports and I need to show just one of those report on the page depending on user's choice. Do I need to have bindings for all of them? Is there a way to dynamically pass "path" and other parameters into one single binding from a lookup during runtime ?
If that is possible, then we can just have one binding in the page def which can take parameters from the user and convert them into EL expressions. In this way we might save some memory space which would be unncessarily wasted in loading all bindings during runtime.

you can create links of the individual reports on dashboard and then use can select what ever he want.
so memory will be saved
Cheers
Nawneet

Similar Messages

  • Can we dynamically load BI reports ?

    Hi,
    I have 5 BI reports and I need to show just one of those report on the page depending on user's choice. Do I need to have bindings for all of them? Is there a way to dynamically pass "path" and other parameters into one single binding from a lookup during runtime ?
    If that is possible, then we can just have one binding in the page def which can take parameters from the user and convert them into EL expressions. In this way we might save some memory space which would be unnecessarily wasted in loading all bindings during runtime.

    hi
    The way I had done this was calling the reports through webservice.
    In this way on the user screen user just selects the report he was to display.
    I just pass the report number to the webservice with certain defined parameters.
    you can check this blog: http://raniadflearning.blogspot.com/2010/04/integrating-xml-bi-publisher-using.html

  • Can I dynamically load html from file, but do not stuck the UI

    I load my html from files.
    Use JEditorPane to setContentType("text/html"),
    use JEditorPane.read method to dynamically load html from file,
    the jeditorpane is add into a jdialog,
    when my application showing the dialog, the dialog was stuck,
    user can not click other UI component, I think it is not look dynamically
    So any other suggestion?
    You are appreciated.
    Thanks in advanced.

       yourDialog.setModal(false);

  • Can I use forms and reports 6I runtime for production environment?

    I have a doubt.
    I know if i use or install developer (forms and reports 6I) both, runtime and builder, I do require a license.
    But If I buy the standard edition license for database (in production or deployment), and I wanna use the runtimes (from forms and reports) only as runtime not to modify or develop anything, is it possible? just to download it or install it in RUNTIME mode?
    Is it possible and legal?
    Thanks

    Can I download that developer and install both forms and report runtime (yes only runtime) to access a licensed standard edition database? The problem is, you can't download that version any more! All download links to Forms version earlier that 10g R2 have been removed from Oracle's web site. You might still be able to download Forms 6i from My Oracle Support, but this requires a paid license agreement with Oracle to access My Oracle Support (formerly Metalink).
    So, if you already have a copy of Oracle Developer Forms and Reports 6i then all you need to do is contact your local Oracle Sales Representative to get an official answer to your licensing question. If you don't have a copy of Forms 6i, then you are pretty much out of luck unless you know someone who has a copy!
    Craig...

  • How Can I Dynamically Load And Run Another VI In Parallel To My Main VI?

    Hi,
    This question is supposed to be answered here. 
    http://digital.ni.com/public.nsf/allkb/CB109EC8325252A18625735B0049830B
    where it points to the example file 
    Example Program: Using VI Server to Call SubVIs that Run Parallel and Independently of the Calling V...
    However, this file is not there at the above link. Would appreciate if someone can share this program with me or any other advise.
    Thanks,
    Pulkit
    Solved!
    Go to Solution.

    I am attaching a VI that does this if you provide the path of the VI you want to launch dynamically (LV 8.5).
    HTH.
    PS: if the VI is already opened, it just brings it to the front (you may want that, if not, just remove that case and the corresponding test).
    Attachments:
    Run Vi.vi ‏23 KB

  • Dynamic loading of a class at runtime with known inheritance

    Hi,
    I am trying to dynamically load a class during runtime where I know that the class implements a particular interface 'AInterface'. Also, this class may be linked to other classes in the same package as that class, with their implementations/extensions given in their particular definitions.
    The class is found by using a JFileChooser to select the class that implements 'AInterface', and loaded up.
    Because the name of the class can be practically anything, my current approach only works for certain classes under the package 'Foo' with classname 'Bar'. Some names have been changed to keep it abstract.
    private AInterface loadAInterface(URL url) throws Exception {
         URL[] urls = { url };
         // Create a new class loader with the directory
         URLClassLoader cl = new URLClassLoader(urls);
         // Load in the class
         Class<?> cls = cl.loadClass("Foo.Bar");
         return (AInterface) cls.newInstance();
    }As you can see, all that is being returned is the interface of the class so that the interface methods can be accessed. My problem is that I don't know what the class or package is called, I just know that the class implements AInterface. Also note that with this approach, the class itself isn't selected in the JFileChooser, rather the folder containing Foo/Bar.class is.

    ejp wrote:
    The class is found by using a JFileChooser to select the class that implements 'AInterface', and loaded up.
    Also note that with this approach, the class itself isn't selected in the JFileChooser, rather the folder containing Foo/Bar.class is.These two statements are mutually contradictory...My apologies, I worded that wrong. My current approach (the one given in the code) selects the root package folder. However, what I want to be able to do, is to simply select a single class file. The current code just makes some assumptions so that I can at least see results in the program.
    As you said, if the root of the package hierarchy is known, then this could be achieved. The problem is that the user either selects the package root or the AInterface class, but not both.
    Is there a way to get package details from a .class file to be used in the actual loading of the class?

  • Can I edit the rpt file & change the datasource before loading the report?

    We are an ISV and our application has a lot of reports.  Our reports use a SQL Server database as the data source and each SQL Server at our customer sites has a different name.
    In our testing we have determined that ReportDocument.Load tries to connect to the SQL Server that is saved in the RPT.  If it can't fine the SQL Server saved in the RPT the load take about 60 seconds while it is waiting for the SQL Server Connection to time out.
    We are using the Visual Studio 2008 version of Crystal Reports.  This did not seem to be a problem with VB6/CR8.5.
    We would like to edit the RPT and change the data source to the appropriate SQL Server before we call ReportDocument.Load.
    Is it possible to edit the rpt file and change the data source before loading the report?
    Or is there some way to tell Crystal not to try connecting to the DB
    during the report.load?
    In our case we will NEVER use the data source that is saved in the RPT, we will always change the data source using ApplyLogOnInfo.
    Thanks

    HI Todd,
    You Can Not edit the report document before ReportDocument.Load() because if you dont load the report then you dont have anything to Edit
    But as far as changing the datasource is concerned you can change that at runtime.
    For changing the datasource following code will help you if both databases have a same schema :
    Code for changing the database
    ConnectionInfo crConnectionInfo = new ConnectionInfo();
    crConnectionInfo.ServerName = "SERVER";
    crConnectionInfo.DatabaseName = "DATABASE";
    crConnectionInfo.UserID = "USERID";
    crConnectionInfo.Password = "PASSWORD";
    // Loop through the ReportObjects in a report and find all the subreports
    foreach(ReportObject crReportObject in crReportDocument.ReportDefinition.ReportObjects)
         // Check the kind of the ReportObject, if it is a subreport
         // proceed. If not skip.
         if(crReportObject.Kind == ReportObjectKind.SubreportObject)
              // Get the SubReport in the form of a ReportDocument
              string sSubreportName = ((SubreportObject)crReportObject).SubreportName;
              ReportDocument crSubReportDocument = crReportDocument.OpenSubreport(sSubreportName);
              // Use a loop to go through all the tables in the main report
              foreach(Table crTable in crSubReportDocument.Database.Tables)
    // Get the TableLogOnInfo from the Table and then set the new
    // ConnectionInfo values.
    TableLogOnInfo crLogOnInfo = crTable.LogOnInfo;
    crLogOnInfo.ConnectionInfo = crConnectionInfo;
    // Apply the TableLogOnInfo
    crTable.ApplyLogOnInfo(crLogOnInfo);
    // Set the location of the database. This value will vary from database to
    // database.
    crTable.Location = "DATABASE.OWNER.TABLENAME" or crTable.Locations;
    The sample for doing this is available on support site.
    Thanks,
    Prasad

  • Can I create a dynamic number of inputs during runtime?

    Can I create a dynamic number of inputs during runtime?
    Oracle 11g
    Application Express 4.0.2.00.06
    Here is my problem:
    We have a table that holds metadata about files (hardcopy or softcopy files).
    We expect we may need more columns in the table at some point and don't want to modify the table or the application.
    So in order to do this I would like to create:
    A table called TBL_FILE with the columns:
    TBL_FILE_ID               NUMBER                (This will be the primary key)
    TBL_FILE_NAME          VARCHAR2(1000) (This will be the name of the file)
    A second table will be called TBL_FILE_META with the columns:
    TBL_META_ID               NUMBER               (This will be the primary key)
    TBL_FILE_ID               NUMBER                (This will be the forign key to the file table)
    TBL_META_COLUMN     VARCHAR2(30)     (This is what the column name would be if it existed in TBL_FILE)
    TBL_META_VALUE          VARCHAR2(1000) (This is the value that record and the 'would be' column)
    So a person can have as much meta data on the file with out having to add columns to the table.
    The problem is how can I allow users to add as much data as they like with out having to re develop the page.
    Other things to note is that we would like this to be on a single page.
    I know how to add we can create multi-row inserts by using a SQL Query (updateable report),
    however the TBL_META_VALUE column in the TBL_FILE_META will sometimes be a select list and other times a text box or number field.
    So I don't see now a SQL Query (updateable report) would work for this and I can't create an array of page items at run time can I?
    Any idea's how I could accomplish this? Is there a better way of doing this?
    Also is there a term or a name for what I am doing by creating these 'virtual' columns in another table?
    I found this method when looking at Oracles Workflow tables.

    Welcome to the Oracle Forums !
    >
    Can I create a dynamic number of inputs during runtime?
    Oracle 11g
    Application Express 4.0.2.00.06
    Here is my problem:
    We have a table that holds metadata about files (hardcopy or softcopy files).
    We expect we may need more columns in the table at some point and don't want to modify the table or the application.
    So in order to do this I would like to create:
    A table called TBL_FILE with the columns:
    TBL_FILE_ID NUMBER (This will be the primary key)
    TBL_FILE_NAME VARCHAR2(1000) (This will be the name of the file)
    A second table will be called TBL_FILE_META with the columns:
    TBL_META_ID NUMBER (This will be the primary key)
    TBL_FILE_ID NUMBER (This will be the forign key to the file table)
    TBL_META_COLUMN VARCHAR2(30) (This is what the column name would be if it existed in TBL_FILE)
    TBL_META_VALUE VARCHAR2(1000) (This is the value that record and the 'would be' column)
    So a person can have as much meta data on the file with out having to add columns to the table.
    The problem is how can I allow users to add as much data as they like with out having to re develop the page.
    >
    Creating Page Items dynamically is not available. You will have to create excess items and hide/show , etc. But you cannot change the Item Type. All in all, too many limitations in this approach.
    >
    Other things to note is that we would like this to be on a single page.
    >
    The 100 item limit will hit you if you go with extra item on page. With Tabular Form that should not be a limitation, unless you are exceeding the 50 item limit of APEX_APPLICATION.G_Fnn items, and the 60 column limitation of Report region with "Use Generic Column Names (parse query at runtime only)" of Dynamic region.
    >
    I know how to add we can create multi-row inserts by using a SQL Query (updateable report),
    however the TBL_META_VALUE column in the TBL_FILE_META will sometimes be a select list and other times a text box or number field.
    >
    If the type if item is variable it only means you need a way to store the item type. Meta Data of the Meta Data.
    >
    So I don't see now a SQL Query (updateable report) would work for this and I can't create an array of page items at run time can I?
    >
    Yes, you can do it. Updatable report/ Tabular Form query can be constructed from the Meta Data using PL/SQL Function Returning SQL Query . It will be a bit of coding in PL/SQL where you use the Meta Data and the Meta Data of the Meta Data to piece together your SELECT with the right APEX_ITEMs. It might have a performance penalty associated with it, but will not be a serious degradation.
    >
    Any idea's how I could accomplish this? Is there a better way of doing this?
    Also is there a term or a name for what I am doing by creating these 'virtual' columns in another table?
    I found this method when looking at Oracles Workflow tables.
    >
    I guess that is just a good TNF. It is the Master-Detail Design Pattern, that sound more modern ? ;)
    Regards,

  • Can I call a dynamically loaded subvi from a subvi inside a library?

    I have an application that uses a .lvlib, this library has many subvi's.  From my executable, I can dynamically load subvi's within the library using the "open reference.vi" and passing in just the name as long as the subvi's being called are listed in the "always included" list of my build specification.  What I want to do now is load an external subvi (external to the library) using the same method.  But when I try to do this, LabVIEW cannot find the external subvi even when it is included as part of the executable.  It seems the Paths are getting messed up.  Here is what is happening:
    Lets say I have Mylibrary.lvlib as my library in the following path C:\MyProject\Mylibrary.lvlib,
    and internal.vi as my subvi within the library in the following path C:\MyProject\MySubVis\internal.vi,
    and external.vi as my subvi outside of my library in the following path C:\MyProject\external.vi
    This is all in the same project.
    I'm using the "Open VI Reference.vi" from internal.vi to call external.vi, and I'm including both internal.vi and external.vi in my executable (MyEXE.exe for illustration purposes).  When I run this part of my code I get an error and LabVIEW reports the path of my external subvi as: C:\MyProject\MyEXE.exe\MySubVis\external.vi which is really the path for my library subvi.  Why?
    Either way, when I hard code what is supposed to be the correct path to my external subvi:  C:\MyProject\MyEXE.exe\external.vi, LabVIEW can't seem to find the file, its' almost like an access scope problem because I'm trying to access something outside of the library.  Is there such thing?  If the file is part of my exe why can't LabVIEW find it???  How can I call my external.vi BY NAME from my internal.vi??
    Any help is appreciated.

    Your hardcoded path is incorrect. How do you have the build configured? Are you using the new executable structure or the pre-8.2 structure.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Runtime Error  loading Crystal Reports 2008

    Hi there
    I have recently purchased online in the sap site the bundled product that includes SAP Crystal Reports and SAP Crystal Dashboard Design on the sap website. For those I received only one key code
    I downloaded both products and manage to installed and load SAP Crystal Dashboard Design. I have installed SAP Crystal Reports (CR2008LPs_02142011.exe) everything goes well. When I start the program it loads for a second and then I get the following error:
    u201C Runtime Error!
    Program: c:\Program Files\Businessu2026
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application support team for more information.u201D
    My OS is Windows 7 Enterprise 32-bit
    I have tried the following:
    u2022     Uninstalling and reinstalling again
    u2022     Downloading the file again from the sap site in case the file was corrupted
    u2022     I have uninstalled CR and download the SAP Crystal Reports trial version from SAP site
    u2022     Trying to navigate to the registry to clear the registry for recent files (as I have seen in this thread Crystal Reports 2008 Runtime Error) . I get the following error message when I click on u201CHKEY_CURRENT_USER/Software/Business Objects/Suite 12.0/Crystal Reports/Recent Filesu201D. Error:
    "Error opening Hey:
    Crystal Reports cannot be opened
    An error is preventing this key from being opened
    Details: Access is denied"
    I have been unsuccessful with all the above.
    I would appreciate if someone could help.
    Thanks in advance and regards,
    Santiago

    Hi Santiago,
    That error suggests you are not a local PC administrator. CR installs require you use an account that can update registry keys etc.
    Talk to your IT guys to give you full access to your PC or log on as the local PC Administrator and install it again.
    Thank you
    Don

  • Dynamically change an image at runtime in Crystal Report

    Hello,
    I am using crystal report included in VS 2005 and want to display an image at runtime. I have tried using Picture control and OLE Object of crystal report, but did not get any success. I have googled for this and most of them are saying Right Click on Picture
    control->Format Object->Select Picture Tab->Click on X2 next to Graphic Location. But I do not found any Graphic location field in picture tab. Pl see the attached screen shot.
    Can anyone guide me how to load an image at runtime in crystal reports?
    I am using CrystalReport11 and VS2005. It's a VC++/MFC project.

    If you are using Crystal Report for Visual Studio, ask at http://forums.sdn.sap.com/forum.jspa?forumID=313
    Microsoft does not offer support for third party software. 
    Visual C++ MVP

  • Creating Dynamic Reports at Runtime Using JRC

    <p><span class="PSEDITBOX_DISPONLY">I am trying to integrate Crystal Reports into our web application.  Our application currently provides the ability to create custom reports on any field(database column) in the application, including custom fields created by the user.  Each customer&#39;s database will be different.  Is there a way in Crystal Reports to dynamically build a report based on a custom query?  I would need the ability to do this programmatically, through JSP, by adding and removing fields from a Crystal Report.  My plan is to push the results of a query to a report viewer, but I need the ability to add, remove, resize, format or hide fields at runtime.  I would also need the ability to modify the field headers and Group Header fields.  Is this possible?  Any suggestion or code samples would be greatly appreciated. </span></p><p><span class="PSEDITBOX_DISPONLY">I&#39;ve read that RAS gives you some greater functionality creating and modifying reports at runtime.  Does the RAS SDK include the functionality that I&#39;ve described above?</span></p><p><span class="PSEDITBOX_DISPONLY">Thanks,</span></p><p><span class="PSEDITBOX_DISPONLY">Alan </span></p>

    Hi bobbassen
    You can take a look at the new Preferences API that is shipped along with JDK 1.4. This should help you in saving report structures in one place and help you modify it through a GUI without re-compilation.
    see : http://java.sun.com/j2se/1.4/docs/guide/lang/preferences.html
    Keep me posted on your progress.
    Good Luck!
    Eshwar R
    Developer Technical Support
    Sun microsystems
    http://www.sun.com/developers/support

  • How can you display a dynamically loaded vi to the Web Server?

    I am working with LabView 6.1 and the Web Server. I can call a subvi and have it display on a remote machine using a browser with no problem. But what I would like to do is dynamically load and run a vi and have it display on the remote computer using only a browser. I have tried a small example of a front panel that invokes the run vi method (and fp.open prop) on another vi when a button is pressed, but the invoked vi is displayed only on the local computer. Is there any way of viewing dynamically loaded vi's on a remote machine without having a copy of LabView running on it?

    If i understand your question correctly, you want to monitor vi that are dynamically loaded on a remote machine without having LabVIEW installed on the machine from witch you want the monitor. I don't think it's possible how ever a good reference book would be Internet applications in LabVIEW. You can find it on BARNES&NOBLE.
    Hope i could help

  • TS5376 I can not install itunes.  I get Runtime Error!  R6034.  An application has made an attempt to load the c runtime library incorrectly.  Please contact the application support team for more information.  I've been uninstalling, moving .dll files, re

    The other day I was prompted to update itunes.  I started to, and it crashed my itunes.  Then I tried to uninstall itunes, so that I could turn around and re-install it again.  Now I can not install itunes.  I get Runtime Error! message. R6034.  For the last two hours I have  tried deleting itunes, moving the .dll files to the desktop, restarting the computer (more times than I can count), deleting the temp files, updating my internet explorer, using the fix it program,..... 
    The two messages that I am getting are:
    Runtime Error! Program:c\Program Files (x86)\itunes\Tunes.exe     R6034   An application has made an attempt to load the c runtime library incorrectly.  Please contact the application's support team for more information.
    Also:  Service to 'Apple Mobile Device' (Apple Moblie Device) failed to start.  Verify that you have sufficient priviledges to start system services.

    I too was getting the same message regarding R6034. After many frustrating hours I went to the iTunes support page and clicked on "install and update." When that page came up I scrolled on to "removing and reinstalling iTunes......" There they tell you what files need to be removed and what order to do it in so you can reinstall iTunes. My iTunes works now and I didn't lose any music.
    About the Apple Mobile Device, well that's one of the files that has to be uninstalled. When you reinstall iTunes the Apple Mobile Device is automatically reinstalled.
    Hope this works for you as it did for me. Warning: it takes about an hour to do all this.

  • Dynamically loading binary image of report source file

    Post Author: ChristopherZ1
    CA Forum: .NET
    I have stored all my .rpt files as varbinary images in a SQL 2005 DB.  I can retrieve the image write it to disk then load the report. i.e.
    Private m_RptDoc As New ReportDocument()
    m_RptDoc.Load(RptPathName). 
    My question is...is there a way to load the image directly into the ReportDocument without first writting it to disk and using the pathname?

    I would think that this crummy custom Image class hack would work, but surprise surprise -- the width/height in loaderInfo is flat out WRONG when the event fires. It seems to have a hard coded width/height no matter what the file size. Silly!
    <mx:Image xmlns:mx="http://www.adobe.com/2006/mxml" initialize="init()">
         <mx:Script>
              <![CDATA[
                   public function init():void {
                        this.addEventListener(Event.COMPLETE, loaded);
                   private function loaded(e:Event):void {
                        this.width = this.loaderInfo.width;
                        this.height = this.loaderInfo.height;
              ]]>
         </mx:Script>
    </mx:Image>
    Turns out, this version DOES work (but it's still a hack fix in my opinion):
    <mx:Image xmlns:mx="http://www.adobe.com/2006/mxml" initialize="init()">
         <mx:Script>
              <![CDATA[
                   public function init():void {
                        this.addEventListener(Event.COMPLETE, loaded);
                   private function loaded(e:Event):void {
                        this.width = this.contentWidth;
                        this.height = this.contentHeight;
              ]]>
         </mx:Script>
    </mx:Image>
    You guys at Adobe are so silly.    It would seem to me that Image's width and height should be set (rather than left at 0) once the content's width and height is known.  So now that I've fixed this bug (as far as I'm concerned) for ya Adobe, I take cash, cashier's check, or money orders--thanks!
    But really, if this doesn't work this way in Flex 4, I think it should.

Maybe you are looking for

  • Infanite recovery mode

    when i plugged my iPod touch into the computer, it was not being detected by iTunes. so i restarted it. nothing. i then wiped it from the ipod. nothing, and now no music. i put it into manual recovery mode, and when then it detected the iPod. when i

  • IPHONE STOLEN: Can you power iPhone on with iCloud?

    My iPhone was stolen and the perpetrator continues to power the phone on and off at his own will. I am tracking it with iCloud but they never leave it on for more than a few seconds. Is there a way I can power it on from iCloud?

  • Please help me, recover photos from computer to new ipod

    Ok, my daughter got her 4g 32gb ipod soaking wet, and it does not work anymore.  We got a replacement last night, and the old ipod had a bunch of photos on it that she needs for art class.  (We have a macbook pro for the synching).  We hooked up the

  • How can I add a podcast episode to an existing web page using iWeb?

    How can I add an episode to an existing web page using iWeb? I could probably figure this out but I am afraid if I make changes to the site and re-upload it to the podcast area I will have just doubled it. I see them repeated from time to time. What

  • IE10 There is a problem with this website's security certificate.

    I have seen lots of posts but no answers. I have Windows 8 Pro RTM installed from MSDN. I am running IE10 and I go to my Linksys router and get the usual certificate error. In all previous versions of IE, you could just click continue and move forwar