Siebel – Custom Applet Title
by Prachi SharmaThere is an Applet title on the top of the Applets. This is normally something simple and static. For eg. Serial Number, Line Items, etc. I will discuss how we can make it dynamic. We will make it dynamic so that it displays something based on the record that is currently selected in the Applet.
I came across this recently when I was trying to practice with the solution suggested by Madhvi in her post on Showing red asterisk on conditionally required fields on this blog.
The Applet title is generally static and constant for an applet. In this article I will show a simple requirement and solution where we change the Title of the Applet on the basis of Account of the record selected. I will take the example of the “Order Entry – Order Form Applet (Sales)” which is the first applet on the Sales Orders screen.
1) Navigate to Siebel Web Client with Order Management functionality available.
2) Navigate to the Sales Order screen using Page Tabs on top or the Sitemap. You should be able to verify the first applet name by going to Help -> About View…
3) Login into corresponding Siebel Tools. Query on the Applets for the applet, “Order Entry – Order Form Applet (Sales)”.
4) Goto the “Controls” section corresponding to the Applet Object Manager. Here, you should see a control by the name of “AppletTitle”.
5) In this record, change the value in the column “Field” to “Account”.
6) Compile and Go. The Applet should now display the name of the Account in the selected record.
This is a dynamic approach because the Title in the Applet will now change from, “Sales Order” to the Account name of the selected record. This will work.
Trying to make it look a little good, we can create a calculated field as below, and use it in the Applet Title above.
‘Sales Order : ‘ + [Account]
This will make it look a little better by showing both the Applet Name and the Account Name. This can be done for any field not just the Account field.
Thanks Madhvi. While trying out your solution, I learnt something new as well.
Related posts:
- Siebel – millisecond dates on Applet I had discussed in my previous posts about invoking a...
- Siebel – Number of rows displayed in List Applet Siebel Web Client by default shows only the first 7...
- Siebel – Refresh Applet retaining existing context RefreshRecord() does not work in all cases, does it? This...
- Siebel – HTML Code displayed in Error Message There was a requirement in our project to make Account...
- Siebel – DefaultFocus – User Property In Siebel Application, whenever you navigate to a screen, the...
- Siebel EIM – Custom column mapping It’s a very basic concept explaining how we can generate...
- Siebel EIM – Nomenclature of Custom Column Previous post regarding new custom columns mapping in EIM table...
Hi,
good post. But this is only possible with Applets having control as “AppletTitle” and not with others. am I right?
Hi Tushar,
I personally feel we can do this on all applets. If the AppletTitle control is non-existent, you can always do a NewRecord() and introduce this Control.
The only thing I feel is that this is more relevant to the Form Applets than the List Applets. Such implementations in List Applets are generally sparse, and not all that well pronounced.
Just a thought, why don’t you just try it out and share your experiences with all of us?!!
Hi Prachi,
I tried the same thing in Siebel Tool7.8, it does not work for me. Initially when I tried as per your config steps, it never changed the applet title Account after changing controls field column to Account as the Applet has Title property Sales Order. Then I tried with removing the Applet Title Property, the Applet Title came blank in the form applet.
Can you suggest what would be issue?
@ Prachi,
The above query from Sai has been open for quite some time. Please retry at your end, and see if we can find what the possible issue may be.
Cheers
I have added a custom title (plain text control) to a form applet, but the title does not show up at all. Any idea why this might be? I’ve tried everything imaginable, but no luck.