Download presentation
1
USER PROPERTIES Hiiiii
2
USER PROPERTIES
3
User properties are object definitions that are added as children to some objects ,to configure specialized behavior beyond what is configured in the parent object definition's properties. These user properties belong to the following Siebel object types: Applet Application Assignment Business Component Business Service Business Service Method Arg Control Field Integration Component Integration Component Field Integration Object List Column View Virtual Business Component
4
Setting Numbered Instances of a Userproperty
Several user properties can have multiple instances on single BC.these can be represented as User property Name n. Ex: 1) On Field Update Set n 2)No Change Field n etc. Note: These Scenarios will produce unwanted results. 1)On Field Update Invoke 10, with no instances with numbers less than 10 . 2) Deep Copy 9 and Deep Copy 19, with no instances numbered between 9 and 19
5
On Field Update Set(BC)
Def:This user property allows you to set the value of a field in the business component when another field is updated. Syntax: Name:On Field Update Set n The value of the On Field Update Set user property consists of three quoted parameters separated by a comma and a space, as follows: "FieldToCheck", "FieldToSet", "Value", "Condition“ Requirement:If the Value of Request Category is ‘Other’ Specific Item Value should be Specific Item.If the Request Category Value is updated by other than ‘Other’ Value Specific Item Value should be null.
6
Solution: Create New Record in BC User properties
Name: On Field Update Set 57 Value:"CCS Request Category", "CCS Specific Item", "IIf ([CCS Request Category] <> ""Other"", """", [CCS Specific Item])“
8
DefaultFocus_Edit(Applet)
Def:This applet user property sets the field or control within an applet that receives focus when the applet is in Base, Edit, or Edit List mode. Syntax: Name: DefaultFocus_Edit Value: Name of a field or control on the applet, not enclosed in quotes Requirement: When the user navigates to Service Request Screen the cursor should be focused on Intake field
9
Solution: Create New Record in Applet User properties
Name: DefaultFocus_Edit Value: Description
10
DefaultFocus(Applet)
DefaultFocus_New:This applet user property sets the field or control within an applet that receives focus when the applet is in New mode. Syntax : Name:DefaultFocus_New Value: Control Name DefaultFocus_Query:This applet user property sets the field or control within an applet that receives focus when the applet is in Query mode Syntax: Name:DefaultFocus_Query
11
DefaultAppletFocus(View)
Def:This view user property sets the applet within a view that receives focus by default—that is, before a user interacts to dynamically change the applet with focus Syntax: Name:DefaultappletFocus Value:AppletName Requirement: When the User navigates to Contacts Home Page Focus should be on Contact Home Search Virtual Form Applet Note: If you set default focus to an applet that is off the screen, In this case behavior may be disruptive because user may not know where focus is.
12
Solution: Create New Record in View Userproperties
Name:DefaultappletFocus (View) Value: Contact Home Search Virtual Form Applet
13
Deep Delete(BC) Def: When you delete the Parent Record. Corresponding Child Records also automatically deleted. Syntax: Name: Deep Delete Value: Child BC Requirement: When The Service Request is deleted Corresponding Activities should be deleted Note: Make sure that two BC’s Shoud’t have NoDelete Set to True.
14
Solution:Add New Record in BusComp User Properties with the following values.
Name:Deep Delete Value:Action
16
After adding the user property
19
Deep Copy(BC) Def: When you Copy the Parent Record. Corresponding Child Records also automatically Copied to the New SR. Syntax: Name: Deep Copy Value: Child BC Requirement: When The Service Request is Copied Corresponding Activities should be Copied
20
Solution: Add New Record in BusComp User Properties with the following values.
Name: Deep Copy Value: Action
21
First Record
22
Second Record
23
No Delete Field(BC) Def: It allows you to restrict the deletion of records based on the value of the specified field.You Can’t Create More than one instance for one BC. Syntax: Name:NoDelete Field Value:Field Name Requirement:When the Multi Field is set to True the user shouldn’t be able to delete that Record Note:CSSBCBase
24
Solution: Create New Record in BusComp User properties
Name:NoDelete Field Value: Component Warranty Flag
27
No Change Field n(BC) Def:This user property disallows changing a field's value after the record is committed. Syntax: Name: No Change Field Value: Name of a field Requirement: After saving the record user should not able to modify the value of URL Solution: Create New Record in BC User properties Value: Homepage (URL)
28
Before Creating the User property
29
New Record
31
Text Length Override(Field)
Def:This user property allows you to specify that the text length of the field, rather than that of the database column, defines the maximum field length Syntax: Name:Text Length Override Value:TRUE Requirement: Solution: Name: Text Length Override Note: It will look for Field’s Text Length Value otherwise it will be determined by the size of DB Column.
33
On Condition Set Field Value(BC)
Def:This user property allows you to specify the value of a field to be set under a specified condition Syntax: Name: On Condition Set Field Value Value: The value for the On Condition Set Field Value user property consists of three quoted parameters, separated by a comma and a space, as follows: "Condition", "FieldName", "FieldValue" Requirement:if the Contact’s Job Title is null set his address should be
34
Solution: Name: On Condition Set Field Value Value:" [Job Title] IS NULL", " Address",
36
DisableSort(ListColumn)
Def:This user property allows a Siebel developer to specify whether an end user can sort a result set on a specific list column. Syntax: Name:DisableSort Value: TRUE/FALSE Requirement: User shouldn’t sort on Account Number.
37
Solution: Create New record in List Column User properties
Name:DisableSort Value: TRUE
39
DisableSort(Field) Def:This single-value field user property allows a Siebel developer to specify whether an end user can sort a result set on a specific field of a business component Syntax: Name:DisableSort Value:TRUE/FALSE Requirement:User should not be able to sort on Location Code irrespective of the Applet.
40
Solution: Create New record in Field User properties
Name:DisableSort Value: TRUE
42
DisableSearch(Field)
Def:This single-value field user property allows a Siebel developer to specify whether an end user can execute a wildcard query on a particular field. Syntax: Name:DisableSearch Value:TRUE or FALSE Requirement: prevent users from, wildcard searching on the field Status should be disabled. Note:But exact match searching is allowed. If its value is FALSE or not specified, searching is allowed on the field.
43
Solution: Create New record in Field User properties
Name:DisableSearch Value: TRUE
48
Default Applet Method(Applet)
Def:The Default Applet Method user property specifies the method that is executed when the user presses the Enter key in the applet Syntax: Name:Default Applet Method Value:Name of a method that is accessible from the applet. Requirement:when the User clicks enter in this Applet DeleteRecord method should be invoked.so that the record should be deleted.
49
Solution: Create New record in Applet User properties
Name: Default Applet Method Value:DeleteRecord
52
Another Scenario(NewQuery)
53
CanInvokeMethod: Method Name
Def:It allows you to enable and disable methods, such as buttons, declaratively at the applet level Syntax:Name:CanInvokeMethod: Method Name Value:TRUE/FALSE Requirement: Create a Custom Button and make that button Enabled .
54
Solution: Create new Control name Button Enable and type is MiniButton method Invoked as Enable.Add Userproperty as Name:CanInvokeMethod: Enable Value:TRUE
55
Aspect UserProperties(CSSBCBase)
This user property provides a dynamic way to use the CSSBCBase class. When a particular aspect has been set, CSSBCBase changes its behavior based on the aspect-related setting described in the user property If Aspect BC ReadOnly: Aspect is defined, and the current aspect is Aspect, the current record becomes read-only when the value of Field Name is Y. If Aspect Child BC ReadOnly: Aspect is defined, and the current aspect is Aspect, the current record's child business components becomes read-only when the value of Field Name is Y. If Aspect BC NoInsert: Aspect is defined, and the current aspect is Aspect, the user cannot insert new records when the value of Field Name is Y.
56
Syntax Field UserProperty Name: Aspect Default Value: Aspect
Value: Expression BC UserProperty Name Value Default Aspect Aspect Aspect BC ReadOnly: Aspect Field Name Aspect Child BC ReadOnly: Aspect Field Name Aspect BC NoInsert: Aspect Field Name
57
Solution Value:IIF([Status] = "Not Started", "Y", "N")
1)Create New Calculated Field in BC(Class CSSBCBase) Name:Aspect Field Value:IIF([Status] = "Not Started", "Y", "N") EX:{IIF([Id] <> " ", "Y", "N") }//Always ‘Y’ 2)Enter User Properties for Calculated Field Name:Aspect Default Value: Aspect Value: Aspect Field
58
Create New Records in BC UserProperties
59
“FALSE”Condition
60
“TRUE” Condition
61
Before adding (Child) userproperty
62
Aspect Child BC ReadOnly: Aspect
64
Named Method(Applet) Def:This user property allows you to invoke a business component or business service method, or set a field value. It can be used in place of scripting. Syntax:The value you provide for the Named Method user property depends on the action you want to perform. 1.For setting a field value, the value consists of three quoted parameters separated by a comma and a space, as follows: "Name", "SET", "Field", "Expression" When Name is called, the value of Field is set using Expression. 2.For invoking a business component method, the value consists of four quoted parameters separated by a comma and a space, as follows: "Name", "Action", "BusComp", "Method" When Name is called, Method is invoked on the BusComp business component based on the defined Action. For a list of actions, see For invoking a business service method, the value consists of five quoted parameters separated by a comma and a space, as follows: "Name", "Action", "BusComp", "Service", "Method"
65
Requirement:When the User Click on Custom Button New
Requirement:When the User Click on Custom Button New.It should take the user to Activity List View. Solution:Add Applet User property as Name: Named Method: New Value:'INVOKE', 'GotoView', '"CCS Activity List View"'
68
Commonly Used Properties
On Field Update Invoke Picklist PreDefault Field n Named Method n Active Field Active Value
69
THANK YOU
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.