on 06-22-2015 2:49 PM
Hi all,
i'm having trouble with the html viewer in sap screen personas 3.0. I maintained the url-whitelist with a few entries such as amazon.de e.g.
When i save my flavor, i get an CX_SY_INVALID_REGEX exception. I tested all kinds of urls: http://www.sap.com, http://sap.com but nothing works. Did anybody use html viewer successfully?
My whitelist looks like " 1 *sap.com* " (id, value). Did i miss anything?
If i use the html viewer to get another transaction via html gui it will just show nothing, though there is no exception.
Any ideas?
Regards,
Christoph
Use this whitelist expression (copy/paste) for wide-open URL access: (http|https):\/\/*
Edit this if you want to restrict access to specific sites only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm having a similar issue ... I can't get the HTML viewer to display anything. in the Personas editor it displays the webpage (which is actually another Personas screen) but once I save and exit and render the screen... nothing!
I have tried both the (http|https):W* solution and also the entire URL into the whitelist. neither works.
Help please.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neil,
when using the full url, remember to escape all (.) and (/) chars. eg, if url is http://a.b/c
you can try http\:\/\/a\.b\/c
By the way I tried to display another personas url in a html viewer which was OK, but there might be some other issue that I cannot remember.
Hope this helps.
Dong Zhu
I found the above mentioned pattern did not work but (.*) is OK.
Can anyone explain differences as below:
.*
(http|https)://*
(http|https):\/\/*
Thanks.
Dong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The whitelist uses regular ABAP expressions. See this document for further details about how to build the correct expressions.
Hi Tamas,
Below is what is shown on the SAP Personas 3.0 admin guide doc. Maybe you can check if it should use escape \/ for /. By the way, I think it would make it a lot easy to understand if you can take an example, say, for a url, www.myCompany.com/myUser/myHome.html, how the RegExp can be built for whitelisting this url only. (just a suggestion).
Br,
Dong Zhu
Hi Christoph,
I will test this out for you and see if I can find a fix I can create the same issue as you. My whole Personas crashes when I enter in a URL that isn't on the whitelist which isn't how it is supposed to be handled. You may have found a bug.
I used "*" as a value for the whitelist which obviously isn't optimal but at least it shows that the viewer is working. I think this might be down to the syntax we are using for the actual whitelist.
Regards,
Angus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Angus,
i also used *, still didn't work for me. Tamas' expression works by now.
There are several other bugs on our system i cannot quite fetch. E.g. opening screen personas editor in firefox (up to date) actually blocks typing texts on the keyboard in every open application since i tested the html viewer issue.
Especially with themes there are several little bugs. Shall i send my observations in a pm? Or whom should i contact for that?
Regards,
Christoph
Hey Christoph,
I don't work for SAP but I would strongly encourage you to submit bugs as this saves us all a lot of headache in the future. Like Tamas (Who is an SAP guy) said make sure you have the latest kernel etc installed (I am pretty sure you do as we both installed at the same time) as this rules out issues at your end.
I am thinking that the whitelist issue could potentially be a bug. When you enter in an incorrect syntax into the whitelist url and then try and integrate a website using the html viewer it would display the error you mentioned above and then I would have issues with the screen. I also noticed that sometimes that I would either get a backend message error or the system would hang completely meaning I would have to exit the browser, the bonus being when I reopened it, the html viewer would be removed from the flavor.
Would be curious to know how that is meant to be captured, I have no issues testing/documenting this if one of the SAP personas team wishes.
Glad to know you found a fix, something I can use in the future as well!
Cheers,
Angus
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.