69
USER PROPERTIES USER PROPERTIES Hiiiii

USER PROPERTIES

  • Upload
    gryta

  • View
    38

  • Download
    0

Embed Size (px)

DESCRIPTION

USER PROPERTIES. Hiiiii. U S E R P R O P E R T I E S. - PowerPoint PPT Presentation

Citation preview

Page 1: USER PROPERTIES

USER PROPERTIESUSER PROPERTIESUSER PROPERTIESUSER PROPERTIES

Hiiiii

Page 2: USER PROPERTIES

USER PROPERTIES

Page 3: USER PROPERTIES

• 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

Page 4: USER PROPERTIES

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

Page 5: USER PROPERTIES

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.

Page 6: USER PROPERTIES

Solution: Create New Record in BC User propertiesName: On Field Update Set 57Value:"CCS Request Category", "CCS Specific Item", "IIf ([CCS Request Category] <> ""Other"", """", [CCS Specific Item])“

Page 7: USER PROPERTIES
Page 8: USER PROPERTIES

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

Page 9: USER PROPERTIES

Solution: Create New Record in Applet User propertiesName: DefaultFocus_EditValue: Description

Page 10: USER PROPERTIES

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• Value: Control Name

Page 11: USER PROPERTIES

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.

Page 12: USER PROPERTIES

Solution: Create New Record in View UserpropertiesName:DefaultappletFocus (View)Value: Contact Home Search Virtual Form Applet

Page 13: USER PROPERTIES

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.

Page 14: USER PROPERTIES

Solution:Add New Record in BusComp User Properties with the following values.Name:Deep DeleteValue:Action

Page 15: USER PROPERTIES
Page 16: USER PROPERTIES

After adding the user property

Page 17: USER PROPERTIES
Page 18: USER PROPERTIES
Page 19: USER PROPERTIES

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

Page 20: USER PROPERTIES

Solution: Add New Record in BusComp User Properties with the following values.Name: Deep CopyValue: Action

Page 21: USER PROPERTIES

First Record

Page 22: USER PROPERTIES

Second Record

Page 23: USER PROPERTIES

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

Page 24: USER PROPERTIES

Solution: Create New Record in BusComp User propertiesName:NoDelete Field Value: Component Warranty Flag

Page 25: USER PROPERTIES
Page 26: USER PROPERTIES
Page 27: USER PROPERTIES

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• Name: No Change Field• Value: Homepage (URL)

Page 28: USER PROPERTIES

Before Creating the User property

Page 29: USER PROPERTIES

New Record

Page 30: USER PROPERTIES
Page 31: USER PROPERTIES

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• Value:TRUE• Note: It will look for Field’s Text Length Value

otherwise it will be determined by the size of DB Column.

Page 32: USER PROPERTIES
Page 33: USER PROPERTIES

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 Email address should be “[email protected]

Page 34: USER PROPERTIES

Solution:Name: On Condition Set Field ValueValue:" [Job Title] IS NULL", "Email Address", "[email protected]

Page 35: USER PROPERTIES
Page 36: USER PROPERTIES

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.

Page 37: USER PROPERTIES

Solution: Create New record in List Column User propertiesName:DisableSortValue: TRUE

Page 38: USER PROPERTIES
Page 39: USER PROPERTIES

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.

Page 40: USER PROPERTIES

Solution: Create New record in Field User propertiesName:DisableSort Value: TRUE

Page 41: USER PROPERTIES
Page 42: USER PROPERTIES

• 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.

DisableSearch(Field)

Page 43: USER PROPERTIES

Solution: Create New record in Field User propertiesName:DisableSearchValue: TRUE

Page 44: USER PROPERTIES
Page 45: USER PROPERTIES
Page 46: USER PROPERTIES
Page 47: USER PROPERTIES
Page 48: USER PROPERTIES

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.

Page 49: USER PROPERTIES

Solution: Create New record in Applet User propertiesName: Default Applet MethodValue:DeleteRecord

Page 50: USER PROPERTIES
Page 51: USER PROPERTIES
Page 52: USER PROPERTIES

Another Scenario(NewQuery)

Page 53: USER PROPERTIES

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 .

Page 54: USER PROPERTIES

Solution: Create new Control name Button Enable and type is MiniButton method Invoked as Enable.Add Userproperty asName:CanInvokeMethod: Enable Value:TRUE

Page 55: USER PROPERTIES

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.

Page 56: USER PROPERTIES

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

Page 57: USER PROPERTIES

Solution• 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

Page 58: USER PROPERTIES

Create New Records in BC UserProperties

Page 59: USER PROPERTIES

“FALSE”Condition

Page 60: USER PROPERTIES

“TRUE” Condition

Page 61: USER PROPERTIES

Before adding (Child) userproperty

Page 62: USER PROPERTIES

Aspect Child BC ReadOnly: Aspect

Page 63: USER PROPERTIES
Page 64: USER PROPERTIES

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"

Page 65: USER PROPERTIES

• 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"'

Page 66: USER PROPERTIES
Page 67: USER PROPERTIES
Page 68: USER PROPERTIES

Commonly Used Properties

• On Field Update Invoke• Picklist PreDefault Field n• Named Method n• Active Field• Active Value

Page 69: USER PROPERTIES

THANK YOU