Quantcast
Channel: SCN : All Content - SAP GUI
Viewing all articles
Browse latest Browse all 3616

Personas 3: HtmlViewer adding html content

$
0
0

Hi all,

 

I am on Personas 3.

In SMEN transaction, I hid everything, created a button and a HtmlViewer control. I created a script with below code.

 

  debugger;  var html = "<p>Sample Text.</p>";  session.findById("wnd[0]/usr/htmlViewerPersonas_1447913779232").content = html;

I call this script whenever a button is pressed and expected htmlviewer to show "Sample Text". Somehow it is not working. Can anyone help?

 

->In F12, I see that iframe's body is empty as well.

->I ensured that my code gets executed by putting a "debugger"

 

Thanks

Krishna


Viewing all articles
Browse latest Browse all 3616


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>