Skip to Content
author's profile photo Former Member
Former Member

Alias for a portal component

Hi All

We can call a portal component directly with the URL [http://<server>:<port>/irj/servlet/prt/portal/prtroot/AppName.ComponentName]. How do we call this component using an URL like this - [http://<server>:<port>/irj/xyz] ?

I did try to modify the web.xml of the /irj (by adding an alias for the java class), however couldn't achieve it. (Also tried with quicklinks too, however that gives a desktop which is not the requirment. Cannot go for a dispatcher / reverse proxy as the same is not being used in the current scope.)

Thanks

Deepak

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 22, 2011 at 11:38 AM

    Hi Deepak,

    Creating an alias requires a restart of the Portal Server. Can you please restart and then try again.

    Also, can you please post your web.xml here.

    Thanks,

    Nikhil

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 24, 2011 at 07:15 PM

    Hi,

    it's not easily possible to map a URL like /irj/xyz to a custom application. That's not how the portal is working. For instance, in your web.xml, you mapped xyz to the gateway servlet. The gateway servlet analyzes the URL and invokes the portal dispatcher, depending on the paramter. And alias parameters configured in web.xml are used to assign a desktop.

    You can use the alias configuration to configure a "headless" portal that will load the necessary javascript files but not all the other overhead normally used to facilitate the integration of portal iViews into other portal (like IBM).

    What you can try to do is to create the URL /xyz (EAR, create a HTML file in the root /, web server alias in VA, etc) and map this URL to your application, directly or by iFrame.

    br,

    Tobias

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 09, 2013 at 10:11 AM

    Hi Deepak,

    Another simple way would be create an iView for your portal componenet, assign to a page, assign the page to a role. Add the role to user and assign a name to the quicklink property of the page.

    You can now access your application in the following way:

    http://<portalserver>:<port>/irj/portal/<quicklinkname>

    Thanks.

    Ram

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 21, 2013 at 09:58 AM

    hi Deepak,

    you said yu tried with quicklinks too but it assings a desktop which is not the requirement. What does this mean ? As suggested by Ramganeshan and as have been tried by me, it is possible to access portal components using quicklinks.

    thank you !

    seventyros

    Learn SAP EP

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.