cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic URL value at runtime

samantha_nez
Participant
0 Kudos

Hi,

We have created an iView of type "com.sap.portal.appintegrator.sap".

In URL template property we have set the following value:

<System.protocol>://<System.server>:<System.port><System.uri>?parameter=value&parameter=value&...

That's to say, it is a dynamic URL that is built at runtime.

My question is: How can we find out the value of URL when we preview the iView, that is, the URL value at runtime?

Helpful answers will be rewarded!!

Thanks in advance,

Samantha.

Accepted Solutions (1)

Accepted Solutions (1)

pramod_gopisetty1
Active Contributor
0 Kudos

Hi Samantha,

If I am understanding the issue properly.

the solution is:

there is no way you can get the url for iView.

You need to assign the iView to Role. and assign it to a user.

When you open the iView then from title bar select Add to Favorites, this will save it in the Browser favorites and when you go to the link and see the properties you get the Short URL.

In Portal terminology the Dynamic URL is called Short URL.

And to find the short url navigate to

System Administration->Navigation-> Short URLs

Hope this helps you.

Pramod

-award points if helpful

samantha_nez
Participant
0 Kudos

Hi,

I think my explanation was wrong. I refered to what is the value of URL template property at runtime. That is, the value of:

<System.protocol>

<System.server>

<System.port>

<System.uri>

Our purpose is to know if at runtime, the iView creates the URL correctly. We would like to test if at runtime, the iView takes correctly this information (protocol, server, port and uri) from the defined system.

Thanks again,

Samantha.

Former Member
0 Kudos

Hi,

in your AppIntegrater iView there is a property System. Here you have to enter a system alias (from a system that you must have created before) where you have defined all these properties: protocol, server, port.

Regards,

Holger.

samantha_nez
Participant
0 Kudos

Hi,

In our system, we had defined yet all these properties (protocol, server, port), but we don't know if at runtime, the iView takes correctly this information to build the URL.

How could we check the built URL at runtime?

Thanks,

Samantha.

Former Member
0 Kudos

Hi,

I guess the only way will be to test at runtime... Just click preview and check the URL that is created.

Regards,

Holger.

samantha_nez
Participant
0 Kudos

I think this can help us!!

Thanks for your help!!

Regards,

Samantha.

Answers (0)