How to hide controls using browser scripts.
If the requirement says that particular button control should be disabled while doing a query or any other event like save,delete etc
write the following script on pre invoke event where Method name = Query/Save/Delete
var controlVar = this.FindControl("Control Name");
controlVar.SetProperty("Visible", "false");
Or if the requirement says the control should be enabled at particular event.
Write the following script on pre invoke event for method = Execute Query
var controlVar = this.FindControl("ControlName");
controlVar.SetProperty("Visible", "true");
http://www.siebeldigest.com/
Saturday, October 17, 2009
error "Unable to create picklist popup applet."
Problem: While creating static picklist it is giving error "Unable to create picklist popup applet."
Resolution: Static picklists must have their No Insert property set to TRUE, If this property is set to False it will give above error message
http://www.siebeldigest.com/
Resolution: Static picklists must have their No Insert property set to TRUE, If this property is set to False it will give above error message
http://www.siebeldigest.com/
On Field Update Set User Property
How Do You Use the On Field Update Set User Property?
The On Field Update Set user property allows you to set the value of a field in the business component when another field is updated. The parent object type is business component.
S_NOTE table
In the Table S_NOTE
Records can be added without any required unique combination of user key. This table does not contain a user key.
Normally Siebel tables have Unique key(User Key) and Primary Key(Row id). But this table only has a Primary key. So we need to run EIM with caution for this table, since each task would add new multiple records into the Database rather than show a normal 'DUP_RECORD_EXISTS' status meaning that these records are already present and will not be inserted again.
http://www.siebeldigest.com/
Records can be added without any required unique combination of user key. This table does not contain a user key.
Normally Siebel tables have Unique key(User Key) and Primary Key(Row id). But this table only has a Primary key. So we need to run EIM with caution for this table, since each task would add new multiple records into the Database rather than show a normal 'DUP_RECORD_EXISTS' status meaning that these records are already present and will not be inserted again.
http://www.siebeldigest.com/
ENABLING & DISABLING APPLET BUTTONS:
If it is form applet then create new controls in controls...tools >> applet>>control
Please check the Mode in which you have inserted the buttons. It must be Edit or Editlist. You may use PreCanInvoke and CanInvoke method to enable the buttons in script.
Siebel sends HTTP information back to external web systems
There are some situations where Siebel configurators need the ability to send HTTP information back to external web systems, via http from within a script to confirm an order or validate certain operations before the script can continue its normal execution.
Solution:
From a scripting perspective, the Siebel EAI HTTP Transport can be used as a business service providing both GET and POST methods for submitting the information to the external system. It can be invoked either from Browser or Server script using similar syntax, with the exception of the business service method invocation, where the Output property is received differently in the Browser Script.
Another alternative in Standard Interactivity mode where business services are not available in Browser Script is to use the Java Script Open method to construct an HTML page on the fly, which posts the data to the external system.
http://www.siebeldigest.com/
Solution:
From a scripting perspective, the Siebel EAI HTTP Transport can be used as a business service providing both GET and POST methods for submitting the information to the external system. It can be invoked either from Browser or Server script using similar syntax, with the exception of the business service method invocation, where the Output property is received differently in the Browser Script.
Another alternative in Standard Interactivity mode where business services are not available in Browser Script is to use the Java Script Open method to construct an HTML page on the fly, which posts the data to the external system.
http://www.siebeldigest.com/
Subscribe to:
Posts (Atom)