Except Home Page, you may have seen this message in many other places also. Wherever we have Standard Interactivity Applet in application, Open UI will display this message as SI applets are not supported by Open UI.
Well, lets talk about the SI applet which is responsible to display the Welcome Username message on home page. If we are on HI application, can see this nice welcome message but when we use Open UI application of same version, there is no welcome message except ‘Page can not be displayed’. But no need to worry anymore, we can fix this easily on Open UI application. Here I will tell you, how Welcome Username can be displayed on Home page. Before I start, let me tell you, whatever steps I will discuss here, those are related to Siebel Open UI 8.1.1.11. If you are using lower version of Open UI 8.1.1.11, then steps will be different (I am not going to discuss these steps. If you need it, please leave your comment here or send email to [email protected]).
First find out the Applet and Business Component name which show welcome message on Home page. To get this information, go to Home tab on application and click on ‘About View’ from application menu ‘Help’. As we are using Open UI Sales Application here, for us applet is ‘Salutation Applet (SSE)’ and BC ‘Salutation (eApps)’. Now follow below steps to configure Salutation Applet for Open UI.
Step 1:
– Create a calculated field in BC ‘Salutation (eApps)’ with below specifications
Name = IsOpenUI
Calculated = True
Calculated Value = GetProfileAttr(“IsOpenUI”)
Force Active = True
– This calculated field tells us that the application is on Open UI or HI. It will be used in next step.
Step 2:
– Copy the original Salutation Applet ‘Salutation Applet (SSE)’ and name it like ‘Salutation Applet (SSE) –
OUI’.
– Change the applet ‘Salutation Applet (SSE) – OUI’ class from CSSFrameSalutation to CSSFrameList
– Goto List and add new list column like below
Name = Result Text
Field = Result Text
– Select the applet ‘Salutation Applet (SSE) – OUI ‘, Goto Applet Web Template > Applet Web Template
Item and create new item like below
Name = Result Text
Control = Result Text
Item Identifier = 101
– Add applet toggle so that in case of HI application, applet ‘Salutation Applet (SSE)’ will be displayed
and for Open UI, ‘Salutation Applet (SSE) – OUI’ applet. Under ‘Salutation Applet (SSE)’ Applet, click
on Applet Toggle and create record like below
Applet = Salutation Applet (SSE)-OUI
Auto Toggled Field = IsOpenUI
Auto Toggle Value = 1
– Compile Applet and BC
Step 3:
From this step onward, remaining configuration differs between Open UI 8.1.1.11 and older version. As I told you before, whatever steps we will discuss here, all are related to 8.1.1.11.
Now download salutationpr.js file and copy it under the directory sweapppublicenu<Open UI build number>scriptssiebelcustom. If you are doing it on Local or Sample database, copy it under ClientPUBLICenu\<Open UI build number>SCRIPTSsiebelcustom.
Click on below icon to download salutationpr.txt and then change the file extension from .txt to .js.
Step 4:
Now register the manifest file under Administration – Application > Manifest File in Open UI application. If you want to know more about manifest file, read Customizing Manifest file (Siebel Open UI Training, Part 6).
Step 5:
– In Open UI application, Go to Administration – Application > Manifest Administration and create new record under ‘UI Objects’ with below specs
Inactive Flag = N
Type = Applet
Usage Type = Physical Renderer
Name = Salutation Applet (SSE)-OUI
– Add Object expression under new UI object
Inactive Flag = N
Expression = Desktop
Level = 1
– Add the file ‘salutationpr.js’
Step 6:
– Add the below css to one of the css file of Open UI theme
– To get the current theme name, click on ‘Tools’ > User Preferences > Behavior and check the theme name and find out the respective css file. To know more about Open UI theme, read Customization of Siebel Open UI theme. Here we are using the theme ‘Gray Tab’ and theme-base.css.
– Now add the below css script at the end of theme css file.
.salutation-pr-applet {
min-height:30px;
margin-top:15px;
margin-left:20px;
}
.salutation-pr-title {
float:left;
font-size:1.3em;
margin-right:40px;
font-weight:bold;
color:#777;
}
.salutation-pr-salutation {
top: 2px;
position: relative;
}
– theme-base.css should look like below
That’s all. Now clear browser cache and verify Welcome Username message is appearing properly or not.
If you have any doubt or question, please write us. To get more updates on recent activities, follow ‘TechOneStop’ on Facebook/Twitter/LinkedIn or join our website as follower.
To know more, watch our YouTube video:
Great work..keep posting.
Very informative article… Thank you for uploading.
Hi Ramashankar
I think you need to build custom applet here as Salutation Applet (SSE) is out of box functionality and you can not do much on this applet. Anyway our readers could help us to meet this requirement.
Thank you for your nice explanation and now for me salutation message is working.
But I want to modify the welcome message date with current date as well as how to show last login date. So, can you please say where to modify for this.
Thank you for your nice explanation and now for me salutation message is working.
But I want to modify the welcome message date with current date as well as how to show last login date. So, can you please say where to modify for this.
– Nayak
Thank you for your nice explanation and now for me salutation message
is working.
But I want to modify the welcome message date with current date as
well as how to show last login date. So, can you please say where to
modify for this.
– Nayak
I have applied this!!