Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Running LiveReports w/ LAPI?
Herb_Schilling_(x-nasalewisuser4_-_(deleted))
Greetings...Is it possible to run a LiveReport from a LAPI application? The basic idea is to have a program run the report, grab the output from the report and upload it back into a report Archive. Making this an external program allows me to schedule report generation.In looking through the LIBRARY section of the LAPI I don't seem to see any functions dealing w/ LiveReports.Ideas would be appreciated. Thanks!
Find more posts tagged with
Comments
eLink User
Message from Hans Stoop via eLinkYou can create a program that connect to Livelink via HTTP and launcha URL to run the report.Hans Stoop--------------Consultant Partner Programs Europehstoop@opentext.com+31 23 5652333
http://www.opentext.com/>
; -----Original Message-----> From: eLink Discussion: Development Discussion> [mailto:development@elinkkc.opentext.com]> Sent: donderdag 16 november 2000 23:01> To: eLink Recipient> Subject: Running LiveReports w/ LAPI?>>> Running LiveReports w/ LAPI?> Posted by NasaLewisUser4 on 11/16/2000 04:59 PM>> Greetings...> Is it possible to run a LiveReport from a LAPI application?> The basic idea is to have a program run the report, grab> the output from the report and upload it back into a report> Archive. Making this an external program allows me to> schedule report generation.>> In looking through the LIBRARY section of the LAPI I don't> seem to see any functions dealing w/ LiveReports.>> Ideas would be appreciated. Thanks!>> [To reply to this thread, use your normal e-mail reply function.]>> ============================================================>> Discussion: Development Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe
Damian_Egli_(rentswisslifeadmin_-_(deleted))
A program that connects to Livelink via HTTP and launches a report is probably the only way to call a LiveReport from another application since LAPI doesn't support this. Recently, I've started developing a Java servlet that does just this (because our Livelink users have many ideas about how certain LiveReports should be formatted ;-)The problem with such an program is that you have to do all the cookie handling that is usually done by the browser. If you want to reformat the report (and not only save it somewhere), the LiveReport has to be parsed and converted. The current version of the servlet only deals with reports about tasklists (for a demo output see attachment). It would probably be better to write a servlet that creates XML output that can then be converted to HTML or PDF via XSL/XSLT. Perhaps I'll do this in the next version...Gerrit Burkertburkert@cyberlink.ch
eLink User
Message from Sean M Alderman via eLinkI have taken the route of using an http connection to run the report. However, I am using the libwww package from W3C
http://www.w3.org/library
to handle the http connection. I'm able to execute the url with out doing any hardcore cookie handling because I have the program formulate a url directly to the LiveReport using the objID which is passed in on the command line...or could be chosen from a list or something, with the username and password included on the tail end of the url (these I also take from input).The W3C library has a nice function that takes a url and a file name as it's arguments, opens the url and pushes returning the html into the given file. Following this I use LAPI to add the file as a document back into LiveLink. So far, the LAPI portion has been the most difficult to accomplish. Ultimately I'd like to stick to using objID numbers for browsing, but this is only useful to me if I could browse directly to an object by using the ID number, instead of having to browse the EnterpriseWS, then each subfolder, until I see the object I'm looking for. It would be much nicer for me to maintain a simple table of folder names and IDs that these live reports might be uploaded to, than to have to browse all the way through livelink to them each time I upload the output of the report. Anyway, barring anyone having Ideas on browsing by objID instead of by the tree structure, the program seems to work.At 08:20 AM 11/21/2000 -0500, you (eLink Discussion: Development Discussion) wrote:>[Attachments exceeded pre-set size limits. Use the links provided to access]>>RE Running LiveReports w/ LAPI?>Posted by RentSwissLifeAdmin on 11/21/2000 08:20 AM>>A program that connects to Livelink via HTTP and launches a report is probably the only way to call a LiveReport from another application since LAPI doesn't support this. Recently, I've started developing a Java servlet that does just this (because our Livelink users have many ideas about how certain LiveReports should be formatted ;-)>>The problem with such an program is that you have to do all the cookie handling that is usually done by the browser. If you want to reformat the report (and not only save it somewhere), the LiveReport has to be parsed and converted. The current version of the servlet only deals with reports about tasklists (for a demo output see attachment). >>It would probably be better to write a servlet that creates XML output that can then be converted to HTML or PDF via XSL/XSLT. Perhaps I'll do this in the next version...>>Gerrit Burkert>burkert@cyberlink.ch>>>[To reply to this thread, use your normal e-mail reply function.]>>============================================================>>Attachment link: LiveReporter.html>
https://knowledge.opentext.com/knowledge/livelink.exe/2403208/LiveReporter.html?func=doc.Fetch&nodeid=2403208>>============================================================>>Topic
: Running LiveReports w/ LAPI?>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2402493&objAction=view>>Discussion
: Development Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=view>>Livelink
Server:>
https://knowledge.opentext.com/knowledge/livelink.exe-
Sean M. AldermanVCIM Senior Systems AnalystNASA Glenn Research CenterCleveland, OH 44135(216) 433-2795
eLink User
Message from Hans Stoop via eLinkWhy not use the same method to upload a document to Livelink? Or isthe upload of files not supported by W3C library?Hans Stoop--------------Consultant Partner Programs Europehstoop@opentext.com+31 23 5652333
http://www.opentext.com/>
; -----Original Message-----> From: eLink Discussion: Development Discussion> [mailto:development@elinkkc.opentext.com]> Sent: dinsdag 21 november 2000 16:32> To: eLink Recipient> Subject: Re RE Running LiveReports w/ LAPI?3LyBMQVBJPw==>>> Re RE Running LiveReports w/ LAPI?3LyBMQVBJPw==> Posted by eLink on 11/21/2000 10:31 AM>> Message from Sean M Alderman > via eLink>> I have taken the route of using an http connection to run> the report. However, I am using the libwww package from> W3C
http://www.w3.org/library
to handle the http> connection. I'm able to execute the url with out doing any> hardcore cookie handling because I have the program> formulate a url directly to the LiveReport using the objID> which is passed in on the command line...or could be chosen> from a list or something, with the username and password> included on the tail end of the url (these I also take from input).>> The W3C library has a nice function that takes a url and a> file name as it's arguments, opens the url and pushes> returning the html into the given file. Following this I> use LAPI to add the file as a document back into LiveLink.> So far, the LAPI portion has been the most difficult to> accomplish. Ultimately I'd like to stick to using objID> numbers for browsing, but this is only useful to me if I> could browse directly to an object by using the ID number,> instead of having to browse the EnterpriseWS, then each> subfolder, until I see the object I'm looking for. It> would be much nicer for me to maintain a simple table of> folder names and IDs that these live reports might be> uploaded to, than to have to browse all the way through> livelink to them each time I upload the output of the> report. Anyway, barring anyone having Ideas on browsing by> objID instead of by the tree structure, the program seems to work.>> At 08:20 AM 11/21/2000 -0500, you (eLink Discussion:> Development Discussion) wrote:> >[Attachments exceeded pre-set size limits. Use the links> provided to access]> >> >RE Running LiveReports w/ LAPI?> >Posted by RentSwissLifeAdmin on 11/21/2000 08:20 AM> >> >A program that connects to Livelink via HTTP and launches> a report is probably the only way to call a LiveReport from> another application since LAPI doesn't support this.> Recently, I've started developing a Java servlet that does> just this (because our Livelink users have many ideas about> how certain LiveReports should be formatted ;-)> >> >The problem with such an program is that you have to do> all the cookie handling that is usually done by the> browser. If you want to reformat the report (and not only> save it somewhere), the LiveReport has to be parsed and> converted. The current version of the servlet only deals> with reports about tasklists (for a demo output see attachment).> >> >It would probably be better to write a servlet that> creates XML output that can then be converted to HTML or> PDF via XSL/XSLT. Perhaps I'll do this in the next version...> >> >Gerrit Burkert> >burkert@cyberlink.ch> >> >> >[To reply to this thread, use your normal e-mail reply function.]> >> >============================================================> >> >Attachment link: LiveReporter.html> >
https://knowledge.opentext.com/knowledge/livelink.exe/2403208/LiveReporter.html?func=doc.Fetch&nodeid=2403208>>============================================================>>Topic
: Running LiveReports w/ LAPI?>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2402493&objAction=view>>Discussion
: Development Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=view>>Livelink
Server:>
https://knowledge.opentext.com/knowledge/livelink.exe-
Sean M. AldermanVCIM Senior Systems AnalystNASA Glenn Research CenterCleveland, OH 44135(216) 433-2795[To reply to this thread, use your normal e-mail reply function.]============================================================Topic: Running LiveReports w/ LAPI?
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2402493&objAction=viewDiscussion
: Development Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe