Question

2
Replies
3396
Views
Jose Navas (JoseN987)
PayPal

PayPal
SV
JoseN987 Member since 2016 1 post
PayPal
Posted: April 4, 2016
Last activity: April 5, 2016
Posted: 4 Apr 2016 19:28 EDT
Last activity: 5 Apr 2016 10:04 EDT
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 Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.