on 05-23-2016 4:21 PM
I am trying to add an SAPUI5 tree as a htmlViewer window next to a standard SAP screen viewable from the SAP GUI. I have everything working wonderfully from the webGUI, however when I try it from the SAP GUI, 7.40, patch level 8, anytime I set the content field of the HTMLViewer, I get a messages saying "Object doesn't support this property or method".
I have simplified the code (a lot) to show the problem, in this scenario, I am just trying to display the word "Testing" as content in the HTMLViewer. This works fine when I execute the script in the webGUI, but it gives me the error on the SAP GUI. I have "/.*" and "(http|https):\/\/*" listed, and this does not seems to be the same case as when the HTMLViewer hits a whitelist problem. Here is my super-simplified script:
//session.findById("wnd[0]/usr/htmlViewerPersonas_1463578215093").setProperty("content","Testing"); //I've tried it both ways
session.findById("wnd[0]/usr/htmlViewerPersonas_1463578215093").content = 'Testing';
Please help
Thanks,
Jeff
Hello Jeff,
this seems to be a defect in the SAP Gui for Windows (I tried it myself in the same GUI release and it didn't work for me either). Please open a CSS incident for component BC-FES-WIN.
Thanks,
Clemens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.