Hello again to all you branding fans. This is Blog number two on branding in SAP BW. The first was on BEx templates which can be found here
As I mentioned before, branding in some organisations is very important and should not be underestimated. In my experience I have found that if the look and feel of the portal and web reports are branded in a way that the users are familiar with then you are half way there to winning them over. It truly is amazing how powerful this can be. Please put it to the test and see the response you get from the users, compared with the same functionality with the standard SAP themes.
Enterprise Portal 7 (EP7.0) uses a Portal Theme for style and branding, this is not new to EP, although it does have some new features. The main one being that it now controls the look and feel of web reports, this caused me much confusion 18months ago when trying to brand web templates. In previous BW versions, the web template look and feel was created by cascading style sheets (CSS) which were stored in the MIME repository. These cascading style sheets could then be referenced directly from the Web Application Designer (WAD) and applied to your report. If like me, when you first got your hands on the much improved WAD in BW7.0 you searched furiously for the button to link to the CSS as with BW3.X then this Blog will be off great use as a one-stop-shop for branding your portal and web templates.
The first step is to logon to the portal and navigate to System Admin ->> Portal Display ->> Theme Editor. In my opinion the best of the SAP standard templates is the Tradeshow theme. Click on the Tradeshow theme to open it and click "Save As" and rename accordingly, remember to use appropriate naming conventions. This theme will now be stored under System Admin ->> Portal Display ->> My Themes and is ready for editing.
Now Comes the fun bit, branding the portal and portal components to your organisation's look and feel. This is a very intuitive and user friendly process in terms of making the changes. Its just a matter of changing the hexadecimal codes for colours and fonts to that of your organisation's standard using the interface provided by just clicking on the theme (This is a useful link if you need to convert RGB to Hex values http://www.321webmaster.com/hex-to-rgb.php). It's also possible to add logos and URLs to certain areas of the theme. This being said, it's not as easy as that, it can be a very long winded and arduous process when you come to change the look and feel of web reports. It's not immediately obvious what sections in the portal theme change web report components and some trial and error is required to master this. Your best bet is to follow the steps below to assist with this process
1. Set portal theme as default. Please see section below "Setting New Theme as Default"
2. Make a changes to the portal theme
3. Save changes to Portal Theme - be patient here as it can take some time to save
4. Log off Portal, This is so Portal theme changes take effect
5. Run a web report to see the changes the theme has had on the look and feel of the report
6. I would expect a few iterations of step 2-5 before the theme has the desired effect.
Setting New Theme as Default
Once you have made all the necessary changes to the styling and saved your theme, the next step is to set this new theme up as default.
Navigate to System Admin ->> Portal Display ->> Desktop & Display rules. The Portal Content folder appears.
Navigate to Portal Content ->> Portal Users ->> Standard Portal Users and open "Default Portal Desktop" by right clicking Open ->> Object (see screen shot below)
The next step is to navigate to your theme.
Navigate to System Admin ->> Portal Display ->> Desktop & Display rules. The Portal Content folder appears. Scroll down to Themes and expand the hierarchy, right click on your newly created theme and select "Add Theme to Portal desktop". Within the Default Portal Desktop page, select the radio button for you theme and click "Set Default"
Your new theme has now been set as default for all users who logon to the Portal. Its as simple as that. Now, some of you may be asking, Well, that's all very well and good, but how do I use different Portal Themes for different users, roles, groups etc. This is also very simple and here is how its done.
Setting different portal themes assigned to different users
1. Follow steps as above and create a second Portal Theme - You may require a separate theme for internal and external users
2. Navigate to System Admin ->> Portal Display ->> Desktop & Display rules. The Portal Content folder appears. within Portal Content navigate to; Portal Users ->> Standard Portal Users and open "Default Portal Desktop"
3. Right click on Default Portal desktop and copy, then paste into the same folder (or create a new folder and paste)
4. Open the newly created Portal desktop and rename
5. Set the new Theme as default for this desktop
6. System Admin ->> Portal Display ->> Desktop & Display rules then Portal Administrators ->> Super Administrators ->> right click Master Rule Collection and open object
7. Here you can add a new IF statement on User, Role, Group, Bandwidth, URL Alias, Browser Type and Browser Version.
The example below shows two IF statements based on user. One is for all users (*) the other is just for USER02. You will notice that the file paths differ. This is because they are linked to different default desktops. The IF statement for USER02 is a result of step 3 above. It is in the portal desktop where you can set what theme is set as default. Therefore these statements link to different portal themes.
Rule Collection
IF User = USER02
Then pcd:portal_content/every_user/general/defaultDesktop_COPY
IF User = *
Then pcd:portal_content/every_user/general/defaultDesktop
You now have the knowledge to create/edit a Portal Theme and to set as default to all Portal users, or to different subsets of users. Now go show those users how cool you can make their portal and web reports...