Home Page Link
  Skip Navigation Links
   
View: 
Post
Started: 3/24/2009 12:52 PM
Picture: Marlon Green
Marlon Green
Customized Portal Masterpages/themes per user AD profile
Hi,

We have customized MasterPages/Themes in our environment that is applied according to the user thats logged on. I.e. A user belonging to the marketing department will have a different theme applied then that of a user in say...the HR department.

We had a problem last week where we had to reconfigure IIS and upgrade our WFE Server...since then we are unable to display the custom themes again. I have a DLL that was written to look at the user that's logged on and link the AD Company/Department field with the particular theme/masterpages and apply it accordingly. I have redeployed the code into the web.config file as well as registered the DLL into the GAC but the themes are still not being applied accordingly. I am not a programmer and would like to know where I might be going wrong with the deployment of the code.

HELP will be appreciated, and additional info is available to anyone willing to assist.

Marlon
Posted: 3/25/2009 12:12 AM
Picture: Michael O'Donovan
Michael O'Donovan
Hi Marlon,
 
It is really hard for anyone to answer this because we dont have the custom code that was used in your solution. This is not an out of the box feature and so the custom code that was developed for you contains the logic to do this.
 
I would suggest looking in the Windows Event Log, perhaps the developer did some good work and writes error messages to the event log.
 
PS - I dearly hope the solution doesnt require any custom changes to the SharePoint databases, because this would be a totally unsupported solution. i.e. the solution should be using SharePoint API only.
 
Sorry I cannot be of more help,
Michael
Posted: 3/25/2009 12:49 PM
Picture: Marlon Green
Marlon Green
Michael,
 
Thanks. But unfortunately the dude never wrote any errors to the event log. I managed to get a developer to do some work on the code and put in an event handler that writes errors to the event log...but unfortunately it still doesn't work. Can I perhaps mail you the content of the code and you can then tell me if there's anything else I need to do from the SharePoint API side. It seems like the code is working fine...I just cant help but think that there's something that needs to get done from the SharePoint side in order for the code to work...it is calling on the CSS and Masterpages within SharePoint after all.

Any suggestions?
Posted: 4/3/2009 1:03 PM
Picture: Zlatan Dzinic
Zlatan Dzinic
Do you guys use audiences? I suppose I can look at the code.
Posted: 4/6/2009 1:34 PM
Picture: Marlon Green
Marlon Green
We do use Audiences, but the code references active directory's organization field. So the masterpage will reference that field for the specific user.

Feedback