Task Based UI @ Siebel 7.8 | Next Tip »Home

Required – handy user property.

OkAvarageGoodVery GoodExcellent (6 votes, average: 3.67 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

  • Share/Bookmark

Related Posts


Article by neel

Authors bio is coming up shortly. neel tagged this post with: Read 387 articles by neel
  • rahul
    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
  • meao
    thnks :)
  • Will
    Handy Trick. Thanks Neel.
blog comments powered by Disqus

Polls

Do you like the new Comment System and new look to Site?

View Results

Loading ... Loading ...