Question

2
Replies
3296
Views
JoseN987 Member since 2016 1 post
PayPal
Posted: 4 years ago
Last activity: 4 years 5 months ago
Closed

Pega 7 Engine API PublicAPI Interface openHTMLDoc Method

Method openHTMLDoc which is defined:

void openHTMLDoc()

This must be called before getting a stream that is a top-level document.

I wonder if the above method works like the method Show-HTML in PRPC activities?

As part of my research I'm trying to get the HTML contents of a URL. I was able to fetch the contents and save it in a Java String property, but I wonder if I can use this openHTMLDoc to display the contents of my property as a HTML page (in a new window preferably).

Any usage examples (of this method) or alternatives are welcome.

Thanks

Jose

User Interface
Moderation Team has archived post
Share this page LinkedIn