Applet and BC User Property
Applet and BC User Property
Declaration:
TABLE OF CONTENT
Page 1
User properties are object definitions that are added as children to an applet,
business component, control, field, or list column to configure specialized behavior
beyond what is configured in the parent object definition’s properties. Some of the
user properties which belong to Siebel objects are mentioned below.
1. Applet
2. Control
3. List column
4. Business Component
5. Field
6. Business Service
Generally some user properties can have multiple instances on a single business
component. That time we can represent the properties using Name n concept, such
as On Field Update Invoke 1, On Field Update Invoke 2, and so on.
2. Purpose of Document
This document is mainly to describe the importance of user properties and how one
can overcome scripting by using the user properties.
Scripting is an overhead to Siebel and is the last option to choose for any
requirement. The user property comes under configuration part and it has its own
syntax to be followed which results in less defects and errors .User properties gets
upgraded with the application up gradation automatically. It’s easier than scripting in
certain scenarios. Performance wise user properties are always advisable to
implement.
This document have some user properties along with the descriptions, usage with
examples by which developer can understand the usage and implementation in an
easier manner.
i. CanInvokeMethod
Applies to Applet
Syntax CanInvokeMethod:”Value”
Page 2
Description /usage Buttons and menu items can be enabled and disabled by
means of the CanInvokeMethod. Scripting can be
avoided by using this user property.
Example 1. CanInvokeMethod:DeleteRecord True
2. CanInvokeMethod:Conditional [Quote
Status]<>”Submitted”
3. CanInvokeMethod:Conjunctional [Root Quote Item
Id] = [Id] AND [Harmonised Flag]='Y'
ii. Popup
Applies to Control
Syntax Popup “value”
iii. Mode
Applies to Control
Syntax Mode “Value”
2.Mode QueryAssitant
The applet gets open in Query mode
iv. ForceActive
Applies to Control
Syntax ForceActive “value”
Description /usage In general the fields are active only when they
are exposed on UI otherwise it needs to be activated when
required . Other way is to check force active field property
on BC to true .But its not good practice as its leads to low
performance .We can go with this user property for certain
fields which has to be active even though not exposed on UI.
Example ForceActive Y
Page 3
v. On Field Update Set n
Applies to Business component
Syntax On Field Update Set n : value
[FieldToSet] is set to [Value] when [FieldToCheck] is
updated
Conditional expression can be used to check value
Description /usage Field can be made readable and editable when ever
required.
Example Field Read Only Field: Account Name Status Code Read
only
In this way one can use this user property in many manners.
Page 4
viii. BC Read Only Field
Applies to Business Component
Syntax BC Read Only Field : Value
Note: There is no need of taking care for grandchild business component as the
child will take care of there respective children in getting copied. For deep copy
one has to create multivalue links and multivalue fields in the parent BC
x. Deep Delete n
Applies to Business component
Syntax Deep Delete “Value”
Page 5
Example One BC having 2 child BCs :
Deep Delete Child BC1
Deep Delete Child BC2
Note: We can have more than one instance of this user property on a BC .Even
named method can be used as applet and control user property for invoking
workflows on click of button.
Page 6
To disable BC from State model.
xiv. Required
Applies to Field
Syntax Required “Value”
Example Required
Status check
2. Appendix
Documents referred:
1. Siebel bookshelf
2. Support web
Page 7