on 2010 Jun 02 8:35 AM
Hi
We have a requirement to use role based customization of themes.
If user logs in and having role1 assigned, then use them1
If user logs in and having role2 assigned, then use them2
One method which I already know is creating different desktops for these themes.
And use main rule to load theme accordingly.
But how can this be achieved programitically.
In portal which par file is executed after user gives his login details in login screen. (Which I guess will have to be modified)
As in this par file I will user Iuserfactory api to get assigned roles.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
why do you want to do this programatically? The portal offers a standard way to assign a theme to an user.
You should take a look at how the portal is doing this theme switch: the portal offers a standard way for customizing the theme. The administrator only assings x themes to the desktop, which one will get activated is a users choice (portal personalization for the end-user)
Search for how the personalization component is doing this, maybe you can reuse this code.
br
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can search for Login Module for this. But I did not understand what you want to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Saurabh,
there are many par files that will be called when portal is loading like com.sap.portal.navigation.masthead ,com.sap.portal.navigation.toplevel,com.sap.portal.navigation.contentarea
etc
Thanks
Bala Duvvuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
12 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.