cancel
Showing results for 
Search instead for 
Did you mean: 

Personas 3.0: HTML Viewer content Blank

Joseph_BERTHE
Active Contributor
0 Kudos

Hello,

After reading some post, I have weel configure the whitelist, thus any URL works pretty well.

Unfortunatly, when I inject some HTML code inside the conent of HTML Viewer, nothing show up, it's blank:

1. My script :


var htmlDATA = '<html><body>Hello World !!!</body></html>';


session.findById("wnd[0]/usr/htmlViewerPersonas_1463140610609").content = htmlDATA;

2 Resutl :

WHat I'm missing ?

Regards,

Joseph

Accepted Solutions (1)

Accepted Solutions (1)

cris_hansen
Advisor
Advisor
0 Kudos

Hi Joseph,

I tried your code snippet and I got the warning:

"...

Flavor contains non-whitelist URL.

Please contact your system admin

..."

The URL I set in the HTML Viewer is in the whitelist.

Looking at the HTML traffic, the HTML code is there, but it is not displayed.

I'll keep looking - maybe someone else will shed some light in this case.

Regards,

Cris

PS: I'm using Personas 3.0 SP03 with kernel 7.42 pl 400

clemens_gantert
Active Participant
0 Kudos

Hi,

you have to create the following URL whitelist entry:

/.*

Best Regards,

Clemens

cris_hansen
Advisor
Advisor
0 Kudos

Vielen Dank, Clemens!

Now the content is displayed.

Joseph_BERTHE
Active Contributor
0 Kudos

Good job Clemens. It work pretty well

thanks

Answers (0)