NetTalk Central

Author Topic: Calling report from NetWebPage  (Read 4718 times)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Calling report from NetWebPage
« on: May 01, 2009, 01:03:32 PM »
Hi,

is it possible to embed report call into NetwebPage. I was trying to do the same as when embedding something on index page but I can't get report to execute.

thanks,
Alex


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Calling report from NetWebPage
« Reply #1 on: May 03, 2009, 10:43:43 PM »
Hi Alex,

The report is a PDF, and the page is HTML so normally I'd say "no" - you can't embed one in the other.

I have come across a web site that did seem to manage to do it - but it didn't seem to be terribly reliable so I haven't coded the support for that.

If you do figure out a technique let me know.

Cheers
Bruce


alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Calling report from NetWebPage
« Reply #2 on: May 03, 2009, 11:23:37 PM »
thanks Bruce,

I will inform you if I find a way.

Alex

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: Calling report from NetWebPage
« Reply #3 on: May 04, 2009, 05:00:28 AM »
Hi Alex,

Are you trying to generate a PDF report "inline" when a HTML page renders. In essence to make sure the report is available during the page creation. So you can in turn embed a PDF viewer within the HTML page, or more simply, provide a link within the page of HTML to the newly created PDF for download.

The second is possible, although a little unwise due to the time a report can take to generate and convert into PDF.

I have an app that generate lots of PDFs, however, i build the NetTalk user interface and the PDF generation engine as a separate servers so i could load balance the PDF server with multiple instances, since PDF is so slow to create (in a server environment). However, it does render the PDF document realtime within the NetTalk user interface.


Regards
Bill Shields

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Calling report from NetWebPage
« Reply #4 on: May 04, 2009, 06:46:23 AM »
Hi Bill,

actually I was trying to create some kind of progress window which will display progress bar while report i generated. I saw one article on this newsgroup related to doing so with process, so I was tried do apply it to report.

cheers,
Alex