Wednesday, January 7, 2009

OBIEE Selecting SKIN and STYLE from URL

Sometimes you want to redirect a user to a different SKIN and or STYLE. One method is giving the SKIN/STYLE name in the login URL.

To enable this feature you first you have to define a parameterlist in Auth\UserIdPassword part of the instanceconfig.xml:

    <UserIdPassword enabled="true">
            <Param name="NQ_SESSION.STYLE" source="url" nameInSource="STL"/>
            <Param name="NQ_SESSION.SKIN" source="url" nameInSource="SKN"/>

Restart the presentation server. Now add the SKIN and STYLE to the URL: http://vmobiee:9704/analytics/saw.dll?Dashboard&SKN=siebel77&STL=siebel77

{Remember to clear your browser cache first!}

Till Next Time


ebola said...

I have tried this but there was a problem. Here my presentation service log
Type: Error
Severity: 20
Time: Mon Jul 27 14:00:58 2009
File: project/sawserver/winmain.cpp Line: 74
Properties: ThreadID-2240

AuthConfigManager. Invalid source attribue value.

John Minkjan said...


Looks like a typo in the ocnfig file, check your < and >



BD said...

John, thanks for the post.
It took me a while to understand why it didn't work for me.
A. There is a typo in your post, the "url" should be lowercase ("url" and not "URL"). Otherwise you get an error on initialization of Presentation Server.
B. It's trivial but just for the sake of formality you might want to add 2 more points to the guidelines:
1. Create a session init block that will act as a ‘placeholder’ for the session variables to be set via the url call.
2. Set the ‘Enable any user to set the value’ option for the variable.

Thank you,

Anonymous said...

To the best of my knowledge the STYLE session variable has no influence on the system and passing a value to it does not change any style in the dashboard.
It's just a name (unlike the SKIN session variable that actually changes the skin value.)
Am I correct or you have some trick nobody heard about?