Hi, Its a jasper report (similar to msft ssrs reports). The Jasper Api allows to call via the url i have shared below in order to get the pdf version of the report.
Currently when i paste the url in browser, it shows me PDF report displayed in the browser. Now i need to put the code together(which i am trying to confirm that- Will http method combined with Observable) will work in angular; so that when the response comes back from the URL it should display in IFRAM/New Tab as PDF as above. Thanks On Wednesday, February 6, 2019 at 12:34:31 AM UTC-5, Sander Elias wrote: > > Hi Knight, > > So the report is a PDF file generated by your server? > What is it you are trying to do with it? Let the client download, or show > on screen? > if its a PDF, you need to convert it back to file object using a BLOB, and > then put it in a iframe, or make it available for download by putting it > into a <a [src]="generatedFIle">download</a> > > Regards > Sander > > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
