User Properties: Parent Object Type Description
User Properties: Parent Object Type Description
This user property is used to make the child BC records read only based on a Boolean
field value in Parent BC.
Solution Design:
Name Value
Parent Read Only Field Account.Competitor
This User Property is used to make a field Read only based on a value in another field in
the same BC.
Scenario: In contact BC, if Employee flag field Value is ‘Y’ then PF Number
should be entered other wise it should be read only.
Solution Design:
Name Value
Field Read Only Field:PF Number PF Flag
Solution design:
1. Decide which Boolean field you want to give against BC Read Only Field.
2. eg: there is a Boolean field In active
3. In Account BC Bus Comp User Prop RCNR
Name Value
BC Read Only Field In Active
How Can You Grant Read-Only Access to Select Users of Siebel Applications?
There are several techniques which may be used to grant read-only access to particular
users of the Siebel application.
1. A new feature in Siebel applications version 7.7 is the Read Only View flag. This
flag can be set in the Administration - Application > Responsibilities view, in the
Views applet, to specify that the selected view will be read-only for the
responsibility selected in the top applet. When this flag is set to TRUE, users with
the selected responsibility will be able to see data in the view, but will not be able
to create or modify the data in that view. NOTE: If a user has access to the same
view through multiple responsibilities, and any one of those responsibilities has
full access to the view, the view will not be read-only for this user, regardless of
how the Read Only View flag is set for any other responsibility.
For more information on the Read Only View flag, responsibilities, and access
control, refer to Siebel Bookshelf version 7.7 > Security Guide for Siebel
eBusiness Applications > Configuring Access Control > Planning for Access
Control > Planning for Responsibilities.
2. You can create read-only versions of views in the Siebel application and grant
access to those views to the select users. The basic steps to accomplish this
configuration are as follows:
1. In Siebel Tools:
1. Copy the applets used in the view for which you want to make a
read-only version.
2. On the new applets, set the No Insert, No Update and No Delete
properties to TRUE.
3. Copy the view for which you want to make a read-only version.
Associate the read-only applets to the new view.
2. Log into the Siebel Web Client or Siebel Dedicated Web Client as an
administrator, connected to the server:
3. Test the new views in your test environment to ensure the new views are
read-only.
NOTE: Using the BC Read Only Field user property will prevent the specified
users from deleting and updating existing records. However, these users will still
be able insert new records. Change Request 12-I5CXXS has been logged to
address this product enhancement request.
1. If you are running Siebel applications version 7.0.4, there is an issue with the BC
Read Only Field in list applets. For more information, refer to FAQ 1866,
available on SupportWeb. This issue is resolved in version 7.0.4.300.
1. In Siebel Tools, navigate to the Business Component object and query for
the Account business component.
2. Create a new calculated field with the following attributes:
Name ReadOnly
Calculated TRUE
Type DTYPE_BOOL
3. Create a new Business Component User Property with the following
attributes:
Value ReadOnly
4. Compile a new .srf file and apply it to your test environment to ensure you
are seeing the expected behavior. Hector Alacon should not be able to
update existing records or delete existing records in the views based on
Account business component. However, Hector Alacon will be able to
insert new records in the Accounts views. All other users will be able to
insert, update and delete records in the Accounts views.
For more information on the BC Read Only Field user property, refer to Siebel
Bookshelf version 7.7 > Configuring Siebel eBusiness Applications >
Configuring Business Components > Configuring Data-Driven Read-Only
Behavior.
2. Use Siebel VB or Siebel eScript to limit the user's ability to insert, update and
delete records by evaluating the current user's Login Name or another user
attribute. Scripting can be placed on the PreDeleteRecord, PreNewRecord,
PreSetFieldValue or PreWriteRecord business component events that would
check for a particular user attribute and return CancelOperation if the user is not
authorized to make inserts, deletes, or updates. For more information on scripting
in these events, refer to Siebel Bookshelf version 7.7 > Siebel Object Interfaces
Reference > Interfaces Reference > Business Component Events.
NOTE: This approach may have an adverse performance impact and be difficult
to maintain. However, it can be used as a last resort if the declarative
configuration techniques described above do not provide adequate flexibility to
meet your business requirements. For more guidelines on scripting best practices,
Siebel Systems highly recommends that you review Technical Note 514, which is
available on SupportWeb.
Syntax
The value for On Field Update Set consists of three quoted parameters separated by a
comma and a space, as follows:
An expression can optionally be used for the Value parameter. In the following example,
the Done field is set using the expression when the Done Flag field is updated:
"Done Flag", "Done", "IIF ([Done Flag] = ""Y"", Today (), """")"
Additionally, if you use an expression, you can include a fourth parameter that defines a
condition.
NOTE: If you use an expression, it must evaluate to the data type of the targeted field. In
the following example, the ToChar function is used to convert the date to a string before
concatenating with another string and setting value of the field.
Comment:
For the benefit of others, you can use 'On Field Update Set for updating a field B when
Field A is update provided Field A has List of Value (LOVs) and Field B is a Boolean
field. For example, if you look in tools Service Request business component has a user
property with the following properties :
Expose Assignment User Exclude Flag on FINS Service Request Detail (L) Applet, when
you select "Closed" for Status field, Assignment User Exclude Flag gets update with a
"check mark" indicating "Y", if you select any other value for the Status field, this field
does not get updated.
Its not possible through configuration to update a normal text field when another text
field gets updated. I have logged change request # 12-BXC7FY requesting that
functionality to be able to configure through tools to update a text field when another text
field is updated in a product enhancement request.
Some specific special classes may not support On Field Update Set user property
because this user property only works with classes based on CSSBCBase.
The On Field Update Set user property may not work as expected in some
business components (not after record commit) unless the Immediate Post
Changes flag is set to TRUE on the involved fields. Setting this flag enables more
dynamic triggering of the user property. If this flag is set for a field, field changes
on that field are immediately sent to the server.
If fields are referenced in a user property and they are not displayed on the user
interface, the Force Active property must be set to TRUE.
Description Used in freezing Service Requests. Closing a service request does not
prevent updates to the Customer Satisfaction business component, so you
can survey your customers even if a service request has been resolved. The
user property for the Service Request business component, named Always
Enable Child: Customer Survey, allows you to enable and disable this
behavior. You can disable the freeze behavior for other business
components by adding user properties to the Service Request business
component and substituting the business component name for the
appropriate component. Unfreezing Service Requests - To unfreeze a closed
service request and make the service request and its child business
components accessible for additions and edits, change the status to Open.
The standard Siebel application functionality dictates that once the status of a service
request is changed to 'Closed', the service request and the related child records become
read-only. The read-only behavior forbids the addition, modification and deletion of child
records.
Read and write functionality on the child business components can be provided with the
use of the 'Always Enable Child' business component user property.
The 'Always Enable Child' business component user property is implemented on the
parent business component as follows:
For example, use the following syntax on the Service Request business component to be
able to add child 'Activity' records to a closed service request.
Note that in order to enable writing on several child business components for a closed
service request, the user property will have to be added for each child business
component that requires the read and write functionality.
For example, in order to add both Activities and Attachments to a closed service request,
the user property is implemented as follows on the Service Request business component.
Change Request 12-4LCXR3 has been logged requesting for the documentation of the
'Always Enable Child' business component user property in the Siebel Tools Guide.
Bookshelf documentation has been updated. Review Siebel 7.0 Bookshelf > Siebel Tools
Reference Volume 2 of 2 > PART 7. Additional Topics: Appendices > User Properties >
Supported User Properties > Always Enable Child [BusComp name] for details on this
user property
Service Parameters
4. When you select the appropriate one and move to Field Name, the
MVG applet that pops up will include all of the fields for the
previously selected business component.
The State Name values are pulled into State Model depending on what
values are listed in the List Of Values in the Application Administration
List of Values Screen. Administration of the List of Values is completely
separate from the State Model, however.
NOTE: Only values that appear in the LOV can be used in the State
Name field. For Account, all the LOV names are ACCOUNT_STATUS
with different display values associated with each.
After adding a business component, you should be able to create the State
Model rules that Workflow will enforce.
Service Name
Functional Area
Values:
Usage You can inactivate and modify the values for this user property.
However, you cannot create new instances of this user property.
Functional Opportunity
Area
Required:
This user property allows you to make the parent field a required field under certain
conditions. You specify the condition by defining a calculated expression for the value of
the user property.
Syntax Expression
Functional This user property is valid when used for business components based on
Area or inherited from the class CSSBCBase; it is not valid for business
components based on CSSBusComp.
A requirement of the Service Request Business Component is for the 'Resolution' field to
become required if the issue is closed. We are curious as to whether Field-Level user
properties could be configured - similar to dynamic read-only - to implement dynamic
required functionality. As we understand it, the syntax would be comparable to the
following:
1) Open the field user property object for the 'Resolution' field.
2) Define the following:
Name: Required
Value: The condition under which the field should be required, for example: IIF
([Status]='Closed'),"Y","N")
Required
Description Use the field's Text Length property to define the maximum field length
instead of the database column size. Use only for Text type fields.
Replaces Field Length property in older versions of Siebel applications.
How Can Users Restrict the Entry of Characters in a List Column or Control?
The length of the fields can be restricted on the application UI level with the help of the
Field User Property called Text Length Override. Below is the syntax for configuring this
Field User Prop:
For example, if the requirement is to restrict the 'Description' field in the 'My
Opportunities View' to 10 characters, then perform the following steps:
3. Expand to this field child's object Field User Prop and add a new record.
4. Specify the properties Name as Text Length Override (Case is Important) and
value as 10. This user property is restricted for Text type fields. This cannot be
used for Number type fields