How to Set New Query mode using Auto Query Mode Applet Property
Requirement:
The requirement is to display the view “Activity List View” (or any other view) in query mode when it is loaded in Siebel Client application.
Solution:
The above requirement can be implemented using “Auto Query Mode” applet property. Follow the steps below to achieve this requirement:
1. In Siebel Tools, click on to the View Object. Expand this object and query with the view name “Activity List View”.
Go to the View Child object called as “View Web Template Item”. Click on this child Object and we can see the corresponding view mode.
There will be a existing “Base” mode associated with this View.
Right click on this existing record and click on Copy record, set the Name property of the copied record as “Query”.
Validate as shown in screenshot below:
2. Go to the applet called as “Activity List Applet With Navigation”. Right click on applet record -> Select Columns Displayed-> move “Auto Query Mode” property to Displayed Columns list.
Set the “Auto Query Mode” property for this applet as “New Query” as shown below:
3. Compile the applet and View modified in Steps 1 and 2.
When you open the Siebel client and click on Activities Screen tab the view will be loaded in Query Mode as shown in screenshot below:
We need to implement one more step to override the problem I am going to summarize. When this view is loaded in Query mode the first time when clicked on the Activities Screen tab, if the user mistakenly clicks on Activities Screen tab again, the Query mode disappears and Base mode is shown on the UI with list of Activity records.
The solution of this problem is to write a small browser script on the Applet_Load event of applet called as “Activity List Applet With Navigation”.
The line of code is:
function Applet_Load ()
{
this.InvokeMethod(“NewQuery”);
}
Compile the applet “Activity List Applet With Navigation” again and reload genbscripts.
Happy Learning!!





Invoke Send Email F9 applet using a custom button
Gurdeep thanks for the above. Do you know how to make the above defaulActions on explicit WriteRecord using Runtime events
While records are updated through batch, Can a Runtime Event on writeHow to install Siebel on Windows 7
This happens with a lot of people, try to install latest patches or SiHow to Mark a Mandatory field with asterisk(*) for a field in a ListApplet / FormApplet
Thanks for sharing your knowledge Neela.