Articles in the Configuration Category
Configuration, Siebel Administration, Siebel SQLs & Database, Uncategorized »
This issues was faced by a developer, who asked for the solution, so here is something can be done at database level -
[a]
Create an Oracle profile and limit the number of sessions per database user, for example:
sql> CREATE PROFILE <profilename> limit SESSIONS_PER_USER 1;
sql> ALTER USER <username> <profilename>;
sql> ALTER SYSTEM SET RESOURCE_LIMIT=TRUE;
Using this approach, please be aware that dead connections will not always be detected by the database immediately, so users might occasionally not be able to login even a single time until a database administrator has killed their session. Also, …
Configuration »
Some people be wondering how does some screens have Icons, can we configure same for our custom screens??. I am referring to the icons similar to shown in the snap-shot below, like for Accounts, Contacts, Opportunities, Quotes.
Siebel Screen Icons
You can also put your custom icons to your custom screens by following the below procedure.
1. Get/Create your icon file and put it in the \Client\PUBLIC\enu\IMAGES folder. It should be in .gif format only. Say it, testicon.gif
2. Goto Tools -> Bitmap Categories.
3. Query for a existing Bitmap Category lets say – [Contact]
4. …
Configuration, Tips & Tricks »
Sometimes you might need to add a extra Menu to Siebel Application. Lets say after “Help” menu as shown in the below screen shot.
Siebel Application Menus
Navigate to the Tools -> Application.
Locate your Siebel Application name, let’s say, [Siebel Universal Agent]
Go to its Menu field and get the Menu name, it might be [Generic WEB]
Now navigate to Tools -> Menu. Query the Menu as got above [Generic WEB]
Go to the child object Menu Items.
Now your new menu is going to come at 8th Position here as per above snapshot and there …
EAI, Integration Objects, Workflows »
EAI Queuing is one of the Siebel integration tool to capture the SiebelMessage in a Integration Workflow in case the Workflow Errors out.
Post your comments in case you find any difficulty in getting it.
Configuration, Tips & Tricks »
Suppose there is a description field in a form applet, having lots of lines of data, then how will you display that data in automatic continous scrolling-up form.
Pls post if anyone has a solution for achieveing this in siebel.
Possible Solution:
Lets take a Description field having some lines of data, then how to display that data in automatic continous scrolling-up format.
Here we go,
1. Let’s take a [Description] field at BC level which stores the data.
2. Create a new Calculated Field in the same BC as given below -
Field: Calc …
Workflows »
The two monitor agents will separately pick the same records and take the same action as specified in the Policy, two times.
So, suppose your Policy runs a workflow which sends a email using , then you will see two emails coming when the policy is fired for one record.
Configuration, Scripting »
Suppose your data having special characters is stored in string variable sLoginName.
Then below is code that will do your job.
while(Clib.strchr(sLoginName, ‘ ‘) || Clib.strchr(sLoginName, ‘\n’) || Clib.strchr(sLoginName, ‘\r\n’)))
{
sLoginName = sLoginName.replace(“\r\n”,””);
sLoginName = sLoginName.replace(“\n”,””);
sLoginName = sLoginName.replace(” “,””);
}
Post your replies below and any question to Interview Forum.
Configuration, Scripting »
Scenario:
When you select any record in a MVG applet, and then close the applet with that record selected, that record is shown on the MVF of parent. Now our requirement is that we want to show only the Primary Record of the MVG to show up in Parent MVF, how to achieve it –
Solution:
Write the below code in the MVG Applet’s Server Script – WebApplet_PreInvokeMethod
function WebApplet_PreInvokeMethod (MethodName)
{
if (MethodName == “CloseApplet”)
{
this.BusComp().ClearToQuery();
this.BusComp().SetSearchSpec(“SSA …
Debugging Techniques, Featured, Scripting, Tips & Tricks »
1. Create a simple batch file “SiebelKill.bat”
2. Right Click Edit the file with Notepad
3. Put the below text
REM******************************************************************************
TASKKILL /F /IM siebel.exe
TASKKILL /F /IM iexplore.exe /FI “WINDOWTITLE eq Siebel Call Center – Microsoft Internet Explorer*”
REM******************************************************************************
4. Save the file
5. Double click the file whenever you want your dedicated Siebel application and its task – Siebel.exe to get killed from Task Manager automatically.
And its done…
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 …
Debugging Techniques, Scripting »
During the development or testing phase of Siebel Application we may encounter errors in Siebel Dedicated or Tools. So how do we find out the source of error or where to raise log levels to get detailed log file.
Siebel provides some debugging techniques , just follow the below links for details
• Enable Client Side Tracing Scripts
• Siebel Environment Variables
• Spooling
• Siebel Debugger – Break Points
