Siebel – DefaultFocus – User Property
by Prachi SharmaIn Siebel Application, whenever you navigate to a screen, the default focus of the cursor is set to the first editable field. You may have a requirement to instead set the default focus to a more commonly used field. So, whenever you navigate to that screen, the curson focus will be on the client required field first up, and the user will have to navigate to reach some other field in the applet.
This can be done easily by using a Siebel vanilla Applet level User Property called, DefaultFocus.
In order to use this, simply navigate to the ‘Applets’ object manager in Siebel Tools. Navigate to ‘Applet User Prop’ under the ‘Applets’ Object Manager.
Do a NewRecord and set the following values:
Name : DefaultFocus
Value :
Here,
Compile your changes into the Siebel SRF and run. You will now see that the default focus whenever you navigate to the screen, has been set on the required column in the Applet.
This will run for both Form and List Applets. But, somehow this does not run in High Interactivity mode! This works in Standard Interactivity mode only. I hope this article helps somebody someday.
Related posts:
- Siebel – Custom Applet Title There is an Applet title on the top of the...
- Siebel – Automatic User Logout Logging out a user automatically, when the user does not...
- Siebel – Forcing User Logoff Hi all, Somebody recently asked me if there is a...
- Siebel – HTML Code displayed in Error Message There was a requirement in our project to make Account...
- Siebel – Showing red asterisk on a conditionally required field In Siebel vanilla Application, we see a red asterisk (...
- Siebel – changing Textbox height There are a number of HTML controls available in Siebel....
- Siebel – Fetch Active view properties – II We discussed about fetching the values from the active view...
Hi Prachi
Default Focus Property works in High Interactivity Mode.I have tried on 7.7.2 version.
This user property can be used to set focus on different fields in different mode.
DefaultFocus_Query: Will set focus on specified field when user tries to query on that applet
DefaultFocus_New: Will set focus on specified field when user creates a new record
DefaultFocus_Edit: Will set focus on specified field when user tries to edit record
So Syntax will be
For example
User Property Name : DefaultFocus_Query
Value:The name of a field or control on the applet, not enclosed in quotes.
Good one, Richa.
Thanks for sharing..
Nitin
hey very informative Richa… thanks
Thanks Richa…….That was helpful.It worked for me.