cancel
Showing results for 
Search instead for 
Did you mean: 

Personas 3.0: How to made a Relative url for a HTML Viewer?

Former Member
0 Kudos

Hi Personas 3.0 experts,

We had developed app UIs on development system (dev-sys), where UI shows a HTML Viewer object using a full url (domain, port are set to dev- sys). After we move the app to quality system (Q-sys), the HTML Viewer is shown with link to dev-sys. I removed the root url, just let it have "/sap/...", but it won't show the HTML obj.

Questions:

1. Is it corect to remove the domain and port in url to make it a relative url?

2. Does it still need Whitelist on Q-system?

Br,


Dong

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dong,

you will still need whitelists on any system, which matches what you are trying to open. This could be one of your issues (activate whilelisting of relative URL's).

Another challenge - if your embed is not on the same server as SAP web gui, you must profile the full domain name.

I'd suggest to use e.g. onLoad scripting to decide on the URL depending on a variable like session.info.systemName to set the correct URL.

Good luck!

Former Member
0 Kudos

Hi Merten,

In Personas 2.0 it is possible to use "location" object to compose the root of url. In Personas 3.0 I will try this session.info utility. One concern would be that this url will be "dynamic" and the Whitelist is kind of "static". We have to make sure they are in "best" match.

Br,

Dong

Answers (0)