Different Logos for different Customers in CSM Portal

nherm
Tera Expert

Hello,

I want to add for different Customers different logos in CSM Portal (Vancouver Release). Do you have an idea how can I manage that?

Thanks a lot in advance for your help.

BR Nicole

4 REPLIES 4

Kieran Anson
Kilo Patron

The customer_account table has the field 'banner_image' which you can store the per-customer image in. You can then create your own theme, with a cloned header that dynamically passes in the logo based on the banner_image rather than a static image logo

nherm
Tera Expert

Hi Kieran, 

thanks for your quick response. Ok the Banner image I found and added in the Account Layout, as well the banner image for customer. 

For the new theme, do you mean I should clone the Portal Polaris Header? And how can I make it dynamically?

Best regards Nicole

You'd clone the portal header widget as it's read-only. You'd then perform a lookup in your server side script to identify the banner_image and pass it via the data object to the html of the widget

Hi Kieran, 

ok, I added a new Theme (copy of Portal Next Experience Theme) and add here the cloned Header widget. This Theme I assigned to the Customer Support SP (CSM).

nherm_1-1716377578952.png

nherm_2-1716377596438.png

 

Should it be a "Fixed header"? Or is the Application wrong? Should it be maybe in Global App?

 

In the copied Theme there was also some CSS includes. Should I do also copy it to the new Theme?

nherm_3-1716377868471.png

 

 

In the Widget Editor for the BAS Portal Polaris Header I tried to push the code in Server Script and HTML, see screenshot. But its not working. The Client controller I didnt adapt. 

nherm_0-1716377322456.png

 

Do you have maybe another idea what I can do more? Sorry, I dont have experiences yet with customizing SP´s.

BR Nicole