Page 1 of 1

VL-Web - download files made with Lansa Integrator

Posted: Thu Jul 28, 2016 3:52 pm
by dvanoni
Hi all!

We would like to create some PDF reports using Lansa Integrator. Is it possible to get the PDF file back from a srvroutine? I mean we call the function for creating the PDF file from a SRVROUTINE and then we want to get the file back as a response in order to download it.

Is it possible? If not, what do you suggest to make it possible?

Thanks

Re: VL-Web - download files made with Lansa Integrator

Posted: Fri Jul 29, 2016 11:03 am
by Stewart Marshall
Using the response object to download a file is documented here

http://docs.lansa.com/14/EN/lansa017/in ... 1_0545.htm

You could also show the PDF on a page and allow the user to save as required

The xDemoWebPDFViewer sample shows how this might be done.

Regards