Now we are aware that In version 7.x/8.x[Technote 386], the only fields that are available to browser script are:
· Id
· Fields whose values appear in the UI
But what if you want to access a field which is not exposed in UI ? In Siebel 7 and later, only fields existing on the UI are available to the GetFieldValue and SetFieldValue business component methods in browser script, regardless of the Force Active property value set for those fields.
Moreover, the ActivateField() method is not available for browser script.
Now there are 2 indirect ways through which you can access these non-exposed fields. 1 will only be applicable for form applets and other can be used in both form and list applet :
1) To make a field available through browser script, you can add a hidden control to a form applet.
The control must have the HTML Type property set to Hidden and must point to the desired field using the Field property. Keep a note that this is not applicable for List Applet because when a column is added to the list it is visible to the end user regardless of the HTML Type defined.
2) Create a control mapped to the field and set the HTML Type to Hidden and Add the control to the button bar of the applet.
This solution can be used in form applets as well as list applets. It has a slight advantage over Option 1 because you will avoid having empty spaces on the applet where the hidden controls are added.
Again, I have found this on Oracle support web and if you want detailed information you can check Doc ID [477229.1]. Hoping this information will increase your insight in power of configurations.
Happy Exploring !!!
Thanks for the Info. A helpful one indeed. In Either cases, do we need to add both the Control Label and Text (Input) Field to the Applet web Layout?
ReplyDeleteGlad this info is helpful. For your query above, your don't need to create a label for a button, so for option 2 you don't require it anyways. And for Option 1, you need to make both and put the HTML Type as Hidden. I have not tried, but try mapping only field not the label if it works in case of form applet.
Delete