cancel
Showing results for 
Search instead for 
Did you mean: 

Simple interface to display dynamic links based on user portal roles

Former Member
0 Kudos

Dear Gurus,

I would like to know the possibility of display navigation links dynamically, on home/welcome page (standard or custom build in HTML,JSP , Java/WebDynpro) , to two different groups of content in EP7 portal based on the roles assignend to the user.

More clearly,

Once a portal user logs in , should see only the links to launch the relevant portal role based content in the same portal content area dynamically. Soon they(user) launch the link then that user should see the actual role based navigation tabs with respective theme associated with that group and vice versa.

Please let me know any thoughts?

PS: No backend SAP system exists.

Thanks,

Surya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Surya,

You can create a custom par file and in the portal component you can check who has logged in and to which group he/she belongs to by using the UME API and based on the group you can make different links visible to the user on a JSP page that will be visible to the users in the content area using an iView.

Hope this clarifies.

Regards

Mukesh

Former Member
0 Kudos

Hi Mukesh,

Thanks for the reply. I know how to use the UME API in WebDynpro Java, will it be the same case to try with JSP as well? Could you please shed some light on the process with JSP to link with the UME API?

Thanks,

Surya

Former Member
0 Kudos

Hi Surya,

In your portal component you can set variables and put it in your session bean and access the same in the JSP. In the JSP, based on the values of the variables (as per your logic), you can make different links visible to different set of users.

Regards

Mukesh

Former Member
0 Kudos

Hi Surya,

Yes, you can use UME API in your portal component as well.

Regards

Mukesh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

There is an excellent article by Will about using UME API

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/using...

Hope this will help you

regards,

Kathiresan R