Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

xWebClient PDF

 Post Reply Post Reply
Duarte Junior Ageu View Drop Down
New Member
New Member

Joined: 23 Feb 2016
Posts: 1
Post Options Post Options   Quote Duarte Junior Ageu Quote  Post ReplyReply Direct Link To This Post Topic: xWebClient PDF
    Posted: 21 Nov 2019 at 7:50pm
I have a xDataServer that return a PDF file in TStream in one endpoint
in TMS Web Core how to get this TStream and show de PDF file in the browser?

I am using this peace of code
    'IVendaService.'+EndPoint, [JSConsultarVenda],
    @OnLoad, @OnError

Any suggestion are welcome.
Thanks in advanced,
Back to Top
Wagner R. Landgraf View Drop Down
TMS Support
TMS Support

Joined: 18 May 2010
Posts: 2650
Post Options Post Options   Quote Wagner R. Landgraf Quote  Post ReplyReply Direct Link To This Post Posted: 26 Nov 2019 at 6:03pm
Hello Ageu, 
On easy and straightforward way is to make the PDF available from a GET command, this way you can directly make the browser point to the PDF URL and it will download and display it normally.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down