Articles in the Configuration Category
Case Studies & Scenarios, Configuration, User Properties »
Scenario:
Parent BC: Service Request
Child BC: Activities
If Service Request business component Status field is closed then the Action BC should become read only.
Implementation:
1. Create a Calculated Field in Parent BC – Service Request as shown below –
Field Name: Calc Status Closed
Calculated Value: IIF([Status] = “Closed”,”Y”,”N”). …Thanks Vijaya for noticing it
Note: Set the Links Specification Property to TRUE for the field: [Calc Status Closed]
2. Create a BC User Property in Child BC – Action as shown below -
Name: Parent Read Only Field: Service …
Case Studies & Scenarios, Configuration, User Properties »
Scenario:
Parent BC: Action Template.
Child BC: Action Language.
Now, for any record in Child BC, if the ‘Language’ field value is ‘Chinese’, then, the parent BC should become read-only.
Implementation:
For this, you should have a multivalve field defined in parent BC for Language Name in Child BC. Let’s say this MVF: Language Name
1. Create a Calculated field in Parent BC with this expression –
Field Name: Calc Language Read Only Field
Calculated Value: EXISTS ([Translated Language] = “Chinese”)
2. Create a BC User Property in Parent …
Debugging Techniques, Scripting »
Right Click on My Computer
Goto Properties -> Advanced -> Environment Variables
Goto System Variables. Click New. Add below values
Variable Name : SIEBEL_LOG_EVENTS
Variable Value: can be (1,2,3,4,ALL). Highest value is “ALL”
Goto System Variables again. Click New. Add below values
Variable Name : SIEBEL_LOG_DIR
Variable Value: Directory where you wants logs like (c:LocalLogdir)
Configuration, Import Objects »
Import Objects are configured in Siebel for End Users for loading small quantity of data to any Siebel Entity. You can load data from flat files to Siebel using a simple Import Wizard. Below is a case study for the same.
Some check-points before starting the development –
1. Import Objects should only be defined on the BCs which are Primary BCs of the BO.
2. Import Objects will be active for a list applet only.
3. We cannot configure Imports for Child BCs in a BO.
4. “Import” menu item is present on …
Debugging Techniques, Scripting »
How to do Browser Script Tracing in Siebel
For tracing the browser script, you can follow the below procedure –
1. In Application Browser script, create new script with MethodName “trace_log”.
function trace_log(as_text)
{
try
{
var MyWindow = window.open(”,’DEBUG’,’toolbar=no,location=no,’ + ‘directories=no,status=no,menubar=no,’ + ’scrollbars=yes,resizable=yes,’ + ‘width=400,height=300,left=20,top=20′);
MyWindow.document.write(as_text + “<BR><BR>”);
}//try
catch(e)
{
alert(”an error occurred in log ” + e.message + “n” + e.toString());}//catch
finally
{
MyWindow = null; }//finally
}//endfunc
2. Application Browser Script declarations write –
top.log = trace_log.
3. Now you can call top.log(“text”) function from any Browser Script(Application, Applet, BusComp, Business Service) , it will write logs to a pop-up …
