Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

html viewer in background

Former Member
0 Kudos
320

How to run HTML viewer in background process .

9 REPLIES 9

Former Member
0 Kudos
198

It is not possible. HTML / Javascript needs GUI to be processed. So cannot be run in background.

Can you explain your requirement? What is the need to run HTML in background?

R

0 Kudos
198

i want to generate a PDFin background  out of a layout which consists of input fields , fusion charts in different positions in page .

0 Kudos
198

So that means you will save the PDF to somewhere? or Mail it to someone? Why do you need HTML for that?

0 Kudos
198

i will take the PDF content and forward to respective person  , i will design my layout in web using elements like fusion charts input fields . at the time of converting this layout into PDF , my first step is generating HTML page for that one and then i will use JS PDF to convert this HTML content into PDF.

0 Kudos
198

That means you may not need to display the HTML file the way you have put this query.

Anyway. Have you written the program already and is it working in Foreground?

Then we can think about running that in background.

0 Kudos
198

yes its working in foreground using html viewer and we raised an SAP event at the time of load which give us HTML string .

0 Kudos
198

Can you paste the screenshot of your output that you see in Foreground?

0 Kudos
198

0 Kudos
198

Hi thanks.

But where is the PDF in it? You can save the PDF in background in a table or in your content server or in application server/ GOS.

As I have already said, HTML output cannot be displayed in background/Spool, I would say you create separate utility program to display it when user runs the utility program in foreground. Get the PDF from your storage.

Sorry may not not be able to give a solution to what you want , as it is not possible as per me.

R