Articles in the Scripting Category
Configuration, Debugging Techniques, Tips & Tricks »
When you goto Tools->Screen object, you cannot see ‘Bitmap Category’ field because it is HIDDEN in tools for a normal view. You need to enable it from Tools CFG.
Here are steps -
1. Open your Tools.cfg.
2. Search for “ClientConfigurationMode”, it might be there with value like
ClientConfigurationMode = Web
3. If you find it or did’t find it, just add/replace below value to the [Siebel] section of CFG. This is the first section of CFG.
ClientConfigurationMode = All
4. Relaunch your Tools. This will show certain hidden …
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, 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…
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)
