Open , modify univ. connexion, save report (.rep file) in JSP or JAVA
<p>Hi,</p><p> </p><p>I need, in the portal, loading all reports for changing the universe connexion (Name by Name-C2).</p><p>If i need to change by hands, i need big time.</p><p>I don't want used the "desktop intelligence" because the user don't have this tools.</p><p> </p><p>Now, it's possible to open, modify and save a report in JAVA or JSP ? </p><p> </p><p>thank you,</p><p>gilles </p>
Hi Gilles,Â
For .rep (Desktop Intelligence) files user should have the tool to author these. So I'm not sure I understand what you mean by:
bq. I don't want used the "desktop intelligence" because the user don't have this tools
 In any case, here is the answer to your question:Â
For Desktop Intelligence documents (.rep) you can use Desktop Intelligence COM Automation SDK (installed together with GUI product).. (DataProvider.ChangeUniverse())
For a Web Intelligence (.wid) you can use Report Engine Java SDK .
François Imberton
Similar Messages
-
Hi all,
I'm trying to creat a word and excel documents using Save Report to File VI. When wiring a password to this last VI, the document created are only protected against writing but not reading. How can I use active X controls to password protect these documents against reading?
Thanks a bunch!
OThere is no predefined functionality available in LabVIEW. So you have to implement this on your own.
It seems to me that you own the Office Report Generation Toolkit. You can use the Excel Get ActiveX References.vi from the Excel Specific >> Advanced palette to get access to the "generic" ActiveX Excel references. Starting from this point, you can use property and invoke nodes to get to the setting you are going to modify.
Please refer to this link for information on Excel password protection. I have not searched for the object giving you access to those settings though....
hope this helps,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
Save Report to File.vi closing file problems
I have a while loop running in which I generate data. At the end of a sequence in the while loop, I create an HTML report and save the report file to disk. My problem is that the next time the while loop generates data and goes to save the new HTML report, I get a file permission error (Error 8) in the delete file subvi. I use the delete file subvi so that I can programmatically replace the HTML report file. I believe that the problem is in the "Save Report to File.vi" in that it does not close the file after it writes it. Any comments?
Unfortunately i couldn't open your example as i only have LV 6.0, but i looked at the 'Save report to File.vi' in LV 6.0 and it basically only contains a 'Write characters to file.vi' for file handling. In LV 6.0 this vi does contain a 'Close file+.vi' which has an input called 'close when? (now:T)'. Make sure this is wired as True (default) and the file will close, and you should be able to delete the file (as long as the delete event occurs afterwards (make sure it is wired in sequence). In the LV help, it says the reason for the 'Write characters to file.vi' only closing if you tell it to (set as default) or if there is an error is so you can continually use it in a loop, writing characters to file, without closing, and then send a command to close
it only on the last loop, or if there is an error. Therefore i dont think it is a bug, but i think there should be a wire for it on the 'Write characters to file.vi'.
I hope this helps you..
Kim -
Report generation vi's-save report to file.vi
I am a new user of LabVIEW. I'm using the Report Generation Toolkit VI's to do some customized reports.
1. how can I stop the report from popping up on the front panel when I initialize the report to be done. I know you can use "minimized" but that takes a few seconds to minimize and I would like to NOT see the report I'm generating pop-up at all.
2. I want use this customized report and constantly be saving data when a reset button is pushed. That is save the time stamp, the change in data etc on a continuous basis in 1 folder. Right now when I use the "Save Report to File. Vi" it over writes the previous data saved and all that data is lost. I need to be constantly saving all the data generated to be able to look back at it.
Thanks.Hi shaef,
Which version of LV and Report Generation Toolkit are you using?
Assuming you are using LV 8.5 and RGT 1.1.2, then the attached screenshot should offer some help. Basically, you need to wire in the existing file as your template in order to not just overwrite the old data. You also need to make use of the series of 'Append' VIs that are in the toolkit.
Let us know if this works for you,
David_B
Applications Engineer
National Instruments
Attachments:
2008-03-23_165242.png 5 KB -
I wish to use the "save report to file" function to save to a network, but if the network is not available (error code 6) then I wish to save the file locally on my C: drive. How can I capture this 'error code 6' before it happens and then divert the file to the local drive instead without any pop-up's?
Hi Steve,
I have been looking into your issues for you. Firstly, I must advise that either of the recommendations on this page are perfectly valid methods for achieving your desired results. The Check if File or Folder Exists VI could be used to determine whether a specific path on the network exists which will output a Boolean which indicates the outcome. This Boolean can then be used to select which path to save the file to using a case structure. A very simple example of this has been attached below. This approach would ensure that the error would never occur therefore eradicating your error pop-up issue.
For this particular instance I would recommend using the above method, though for more complex applications it may be worth adopting a more sophisticated manual error handling strategy rather than automatic error handling that is used by default. For more information on this, see the following document.
Handling Errors
http://zone.ni.com/reference/en-XX/help/371361F-01/lvconcepts/error_checking_and_error_handling/
I hope this helps but let me know if you require further assistance.
Christian Hartshorne
Applications Engineer
National Instruments
Attachments:
Check if File Folder Exists Example.vi 7 KB -
How to store crystal report (rpt file) into disk using java
hello
i want to coonect my report file to java .want convert this file into pdf and store into disk using simple java program
if any have code for this then provide me
thanks & regards
ramHave you given up on your other threads? All your questions seem to be on the same general problem. Could you please stop creating new threads for this?
-
How to execute a file using jsp or java
hi..
i had a jsp file as front end with start and stop button,
if i click the start button a file on my pc should execute.
if stop button is clicked the file should stop execution.
Any one know how to do this..especially how to run a file in ur system using java..
Thanks in advancethanks for u r quick replies...
Actually i want to run a file on a client machine
only...
Okay.
for example, a client should execute a file which is
in another client...
This is not the same thing as what you just said.
can u tell me the method to execute the file......java.lang.Runtime.exec -
Export DataGrid Data to File With JSP and Java
My user's need to be able to load the data into a
spreadsheet. I would like to stay with Flex and not use AIR. I used
the windows clipboard but I run into Flash Player timeouts for
larger data sets if the looping of the DataGrid rows takes longer
than 2 minutes. I would like to do this with passing the data to a
JSP page or use BlazeDS and then download the file. I would like to
just pass the ArrayCollection so I don't have to loop through the
DataGrid rows. I know I can receive an ArrayList from Java using
BlazeDS and it gets converted to an ArrayCollection. Is it possible
to send an ArrayCollection to a JSP page or Java class with
BlazeDS?quote:
Originally posted by:
hartleyk
Can anyone enlighten me on why, when I attempt this with one
app everything works just as it's supposed to, while in a different
one (the real one I'm trying to put in place, of course!), the php
file simply displays
".stripslashes($_POST["htmltable"])." "; ?>
in the browser instead of taking me through the file
browse/download process? Anyone else run into this problem?
Thanks for any help you can provide!
its seems some syntax related problem.
can you please post whole of your code? i thinks its not that
much big. -
Using LabVIEW 2011 on Windows XP, SP3.
I am trying to use the Save Report to File vi, specifically a html report.
It allows replace and create file.
In my application, I would like to create or open the file. When I try to edit to include those options
and save the vi something breaks as it appears to be an OOP vi.
How can I perform this functionality?
Thanks,
Steve ScoppettuoloWait, what do you mean you try to "edit to include those options"? Are you actually modifying a core LabVIEW VI? If you are STOP. NEVER modify VIs shipped with LabVIEW.
Your question is fundamentally not clear. Why do you want to open the file if you're trying to save the report? Are you trying to append to an existing report? If so, the New Report VI has a "template" input. If you specify an existing report file it will be opened for editing. Please review the documentation on the report VIs. -
Failed to save the PDF file into the open location as default
Hi all,
Please help me!
In Acrobat XI professional, while save the PDF file using the SAVEAS option it shows the previous file saved location path.
But i need the current opened location path while save the PDF file.
Please help me to solve the issue.
Regards,
JayaKrishnanWhat an awesome idea, Bernd...
I've just encountered the same situation and it's irritating the hell outta me. Adobe's always gotta screw something up to irritate us. As if having the rent their software isn't irritation enough.
The problem is when you open a file and then Save As it has always, and in every program known to man (at least that I've used), offered to Save As in the same folder where the file was opened from. Now it wants to save it in the last "saved to" directory.
While this could be convenient on occasion it's a PitA most of the time.
Any actual solution to this misbehaving Save dialog? -
10g Report to file causes unix permission problems
I'm in the process of testing out one of the new options of 10g reports to have a report run from the command line and have the results file sent to a Unix directory for further use.
Here is a sample of my run:
http://myserver:port/reports/rwservlet?server=myreport_server+report=myreport.rep+userid=userid/pswd/@db+desformat=pdf+destype=file+desname=/tmp/my_report.pdf
The results I see in the Unix directory are:
rw-r--- 1 oracle dba my_report.pdf
With the Unix permission set to 640, how does a user outside of the owner or group read this file. Is there a setting in a 10g environment variable somewhere to set the permissions to 644 so others can read the file?
Thanks,
Tom VereeckeUnfortunately i couldn't open your example as i only have LV 6.0, but i looked at the 'Save report to File.vi' in LV 6.0 and it basically only contains a 'Write characters to file.vi' for file handling. In LV 6.0 this vi does contain a 'Close file+.vi' which has an input called 'close when? (now:T)'. Make sure this is wired as True (default) and the file will close, and you should be able to delete the file (as long as the delete event occurs afterwards (make sure it is wired in sequence). In the LV help, it says the reason for the 'Write characters to file.vi' only closing if you tell it to (set as default) or if there is an error is so you can continually use it in a loop, writing characters to file, without closing, and then send a command to close
it only on the last loop, or if there is an error. Therefore i dont think it is a bug, but i think there should be a wire for it on the 'Write characters to file.vi'.
I hope this helps you..
Kim -
Error 7 occurred at open vi reference in New Report.VI
Hello!
I use the report generation toolkit on LabView 7.0 to create a report in Excel. The program works fine until I make an executable version. I the get the error:
Error 7 occurred at open vi reference in New Report.VI
I use the New Report.VI, Bring Excel to front.VI and Save Report To File.vi
Can you pleace help me!!!Most likely, you did not include the required libraries in your build script. When building an executable in which you use the Report Generation Toolkit, you must include the _Word Dynamic VIs.vi from _wordsub.llb and _Excel Dynamic VIs.vi from _exclsub.llb as dynamic VIs on the Source Files tab.
Check this article for more info.
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/86256a47004e16d186256a84004cb883?OpenDocument
Daniel L. Press
PrimeTest Corp.
www.primetest.com -
Save report vi saves all excel workbook pages to HTML
Hello,
I am using the Save Report to File VI to save an Excel workbook, and then to save the open Excel file to HTML. However, it is saving all the pages of the workbook in such a way that the web browser can access all the sheets of the workbook. I only want the active sheet saved. How do I do this?I'm honestly not sure how to get which page is "active". I imagine there is a property you can find (either via ActiveX, Properties Nodes or some other means) which will tell you an index that is active then you can customize your report around that. Could you attach what you have now and maybe I can look for a way to do it?
-
Convert Report6i RDF.file into REP.file
hi,
i am using Report 6i and i have made a report according to the user requirement,acctually problem is that i have finanlized the report and paste the copy of RDF.file of such report and paste into the path where the report is "live"(accessible for user) but when i run through the shortcut it run's the old version of the Report.I think the path of live version report the REP.file should be paste but i don't know how to convert RDF.file into REP.file
Thanks & Regards
Faizan KhalilFaizan,
its the copy of the post in the forms forum.
Go to the menu File-->Administration-->Compile Report or use the shortcut key Ctrl + T . then it will ask to generate the REP file. select the path where you want to save the rep file.
Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks. -
Converting Report6i rdf.file into rep.file
hi,
i am using Report 6i and i have made a report according to the user requirement,acctually problem is that i have finanlized the report and paste the copy of RDF.file of such report and paste into the path where the report is "live"(accessible for user) but when i run through the shortcut it run's the old version of the Report.I think the path of live version report the REP.file should be paste but i don't know how to convert RDF.file into REP.file
Thanks & Regards
Faizan KhalilFaizan,
Go to the menu File-->Administration-->Compile Report or use the shortcut key Ctrl + T . then it will ask to generate the REP file. select the path where you want to save the rep file.
Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks.
Maybe you are looking for
-
Create a new role in SRM 7.0 and Portal
Dear All, We are using SRM 7.0 with Portal. We created a maintenance table in SRM. This table must be maintained from time to time by the key users. But they want to maintain in from Portal, not from SRM. When i was using SRM 4.0, it was simple, i w
-
Hi, Can anyone help, I am having trouble with producing a query that looks at two dates and determines if the employee was active during certains years and months. I have a query that outputs the employees effective start date and effective end date:
-
HT4759 can i sync my calendar from Outlook 2002 to my ipad?
I want to synchronise my PC Outlook 2002 calendars and contacts with my Ipad.
-
I downloaded my free trial of Premiere Pro yesterday, and today it's telling me my trial has expired. What happened? I had downloaded a trial a few months back, and used it just fine. Obviously, that trial expired. A few days ago I received an email
-
What is that blue dot for?
When I am in the main Podcast section of the Source window many of the podcasts have a blue dot beside them in a very small column (the very first column which has no title). These dots also are shown in the graphic under the title "Adding Songs and