Skip to Content
avatar image
Former Member

To change role theme automatically

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 24, 2010 at 01:34 PM

    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.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.


      Thiago Alves Barros