cancel
Showing results for 
Search instead for 
Did you mean: 

Short URL with an alias

Former Member
0 Kudos

Hello!

I am facing a problem regarding a link with a short URL. We want to filter content using a new portal alias, the problem is that the links are "/irj/portal?NavigationTarget=navurl://8ec71a087447cddffd28f49468ded2cb" and when clicked it opens a new window using the standard desktop as if entering through the standard alias even if the user has accessed through the new alias.

The link is configured inside a page of Web Page Composer.

I have tried to remove the "/irj/portal" part of the link and then when it is clicked it does not display the header of the portal.

Could you please help me??

Lots of thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

hofmann
Active Contributor
0 Kudos

Hi,

when the link in the WPC page is configured to call /irj/portal?NavigationTarget=abc, the portal will use the desktop assigned to the alias /irj/portal, independent if the current user is using another URL alias / desktop.

You'll have to modify the link in the WPC page. If you cannot do this statically (<a href=/irj/portal/ALIAS) you'll have to find another way. I believe the easiest way is to use Javascript to find out the current URL alias the user is using and construct the link target based on it.

br,

Tobias

former_member191569
Active Participant
0 Kudos

Tobias, that's true. The WPC internal links are always "irj/portal?navurl=..." and them the display rules trigger and desktop changes.

The question now is how can we put hands on WPC, maybe accessing web page's source code, and tell it not to use those links and use instead URLs with current portal alias (/irj/portal/myalias). Any idea how can we achieve this? Not sure it is easy...

kai_unewisse3
Active Contributor
0 Kudos

Hi,

it is not possible to remove the "/irj/portal" within the portal since this is the alias of the servlet which builds the base of the portal itself. Take a look to the web.xml file of the Portal.

The portal sits on top of the WebAS, which is the host part before the "/irj"

You can add a reverse proxy in front of the portal to archive the desired result.

Regards,

Kai

Former Member
0 Kudos

Hello Kai,

Is there no other way to achieve the same result without having to install the reverse proxy?

Is there any way to make short URL links to work correctly using a custom alias for filtering content?

Thank you very much!

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Eduardo,

Hope you are doing good. I think the issue is the same mentioned in [http://wiki.sdn.sap.com/wiki/display/EP/ChangePortalURL]

Check if the port mapping helps you:

[http://help.sap.com/saphelp_nw04/helpdata/en/b8/437d46d4451e4c9ab756e272a1581d/frameset.htm]

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

SAP AGS