cancel
Showing results for 
Search instead for 
Did you mean: 

To change role theme automatically

Former Member
0 Kudos

Hi friends,

Is there a way to change the role theme using some link?

For Example:

I have two roles configured as follows in the "Navigation":

Role - (Theme)

XMII_ROLE_01 - (/XMII/CM/ProjectONE/themes/DynamicHomePage.xsl)

XMII_ROLE_02 - (/XMII/CM/ProjectTWO/themes/DynamicHomePage.xsl)

Now, I would like to create a default page that links to the two projects. If I click on a project ONE or TWO the theme automatically changes.

Is it possible?

Thank you!

Accepted Solutions (0)

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

No, there is only one theme per user / per browser or device. You can have a different theme for a detected mobile device, but from a full browser session you will get only one.

The only trick you could try would be to have an IRPT page with a SERVLET call that requested Mode=CurrentProfile from the Illuminator service and referenced the desired theme xsl as a Stylesheet. It should build the home page using the xsl as the display template, very similar to the Personalization service, and then show you the html output (so the only thing in the irpt source html would be the servlet call, and you could easily tokenize and pass in the project name in the URL path).

I haven't tried the above suggestion, but in theory it should do the trick.

Regards,

Jeremy

Former Member
0 Kudos

Thank you so much Jeremy,

We did some tests and we change the theme, but it does not load the menu structure and user informations.

I still working here on another way and inform you when I have news.

Regards,

Thiago Alves Barros