Siebel Community

Welcome to Siebel Community. In this place you can find all the topics related to Siebel. This place is dedicated to provide information about how to implement Siebel CRM application. Siebel Technical/Functional consultants can get information from basics of Siebel CRM to advanced topics like EAI, EIM, eScripting, Workflows, Assignment Manager, Actuate Reports, Territory Management. This place also included Forums and Blogs to help you further.

Monday, July 25, 2011

Dynamic Read-Only Controls

One of the exciting features regarding scripting in Siebel eBusiness Applications version
7.x/8.x is the dynamic visibility and read-only status of controls. Different approaches are
required for the High Interactivity and Standard Interactivity clients.
High Interactivity
The correct method for determining if a control is read-only under High Interactivity
client is to use the Data Driven Access Control user properties: BC Read Only Field,
Field Read Only Field & Parent Read Only Field.
Standard Interactivity
The Data Driven Access Control user properties can also be used within the Standard
Interactivity client. However, as the Standard Interactivity client works on a
connectionless protocol, this method requires a round-trip from the client to the server in
order to recalculate the calculated field upon which the user properties depend. This may
provide an unacceptable response time.
In cases where a dynamic read-only control is required on the user interface, browser
script will be required to obtain a handle to the control through the Document Object
Model and change the readOnly property of the HTML tag representing the control.
By setting the HTMLAttribute property of the control to provide a unique Id value in
tools, this field can be referenced in browser script by specifying the applet name and
control Id, and its HTML Attributes can be directly manipulated at runtime through
browser script events.ex: .SetProperty('Visible','FALSE');

No comments:

Post a Comment