SiebelUnleashed Forum is up and running.. Check out the new forum. | Next Tip »Home

Required – handy user property.

OkAvarageGoodVery GoodExcellent (7 votes, average: 3.57 out of 5)
Loading ... Loading ...

Making a field required is very common requirement and making a field required on conditional basis is also not unusual.

Making field required is very simple by just checking the Required Property of the field. But making field required on conditional basis is a bit tricky. There are couple of alternatives to that.

Scripting: I have already explained one approach in the Post to make Required field SRF Independent using LOV’s and Scripting.

User Property: You can also use User Property called ‘Required’ to make a field required on conditional basis.

There is only one limitation of this user property that the class of the BC should be either CSSBCBase or inherited from CSSBCBase
 

Syntax: Required

Value: Expression if evaluated as Y will result in the Field becoming Required.

Procedure:

  • Select the field of the BC which you want to make required.
  • Select the Field User Property as shown in the Picture below.

Siebel Required Property Object Explorer

  • Create a New User Property.
  • Enter the Name as Required.
  • Put the value as Expression.

Example:

We Assume that we want to make Field called Full Name to be required if Name Flag Field is Y. So you user property will be like below.
Name                               Value
Required             IIf ([Name] = “Y”, “Y”, “N”)

Siebel Required Field User Property

Related Posts


Article by neel

Authors bio is coming up shortly. neel tagged this post with: Read 416 articles by neel
View Comments Post a Comment
  1. Will says:

    Handy Trick. Thanks Neel.

  2. rahul says:

    Hi, My requirement is to make a LIST COLUMN mandatory! i tried making it a control and using a user Prop, but doesnt work. I cannot do any config to the underlying BC ;-( scripting is also ruled out.

    Any user prop for list col which can achieve this?

    TIA
    RAhul

blog comments powered by Disqus

Polls

Do you know how to use replace function?

View Results

Loading ... Loading ...