Tuesday, March 28, 2017

Siebel Application not opening? Looking for a Reasons

Generic Problem Occurs:

Sometime when we are trying to Open the Siebel applications, Siebel Client may not respond for the request. Even though we are providing the Valid User Id and Password the application is not opening, but the request is process successfully.

We are trying to check all the setting like CFG setting and path of the SRF whether it is correctly mapped or not. and also Siebel.exe file whether it is working as expected or not.

Other alternative it might be the desktop shortcut what we are created to open the siebel application.

Solutions: If all Setting is fine including with Siebel.exe file, CFG file all settings, the reason behind it is "SRF" file is corrupted.

How to Resolve: Replace the existing SRF file in the Object folder and provide right SRF details in CFG file. After replacing the SRF file your Siebel application will work correctly. 

Thursday, August 11, 2016

What is meant by provisioning in Telecom

What is Provisioning:
Providing telecommunications service to a user, including everything necessary to set up the service, such as equipment, wiring, and transmission.

GenbScript Utility


Browser scripts are indispensable part of Siebel scripting. Browser scripts are nothing but java scripts that are executed on client side. Mostly when the requirement is to show a prompt (YES/NO OR OK/CANCEL) we write browser script for that. When you write a browser script on an object a .js file is created in the browser script folder for that object. That file contains the JavaScript code.
Browser scripts are located in Siebel installation\web client\public\enu.
When you compile the object on which you have written browser scripts the .js files are automatically generated in the path specified above. But sometime there is need to generate browser scripts manually as sometimes due to some patches or some reason browser scripts are not properly generated. Siebel has provided us with a utility called genbscript which allows to manually generate browser scripts. This utility is located in Siebel installation\web client\Bin\genbscript.exe
You have to run that utility from command prompt. Follow the steps given below to generate browsers scripts manually using genbscript utility. For the sake of simplicity we are assuming that Siebel is installed in C Drive you can change the path according to your installation
Open command prompt (in Run command field type CMD or command)
cd c:\program files\siebel\7.8\web client\bin
genbscript “C:\Program Files\Siebel\7.8\Web Client\BIN\ENU\uagent.cfg” “C:\Program Files\Siebel\7.8\Web Client\PUBLIC\ENU”
don’t append “\“ after ENU you will get an error. “\” is automatically appended by Siebel when you run that utility.
genbscript has the following syntax:
genbscript “your path to cfg file” “path where browser script should be generated”.

Monday, July 25, 2016

How to find the relationship between siebel Entities

This is very common and basic question comes in our mind while we are working as a siebel developer. Through this post i am going to explain you how we can able to find the relationship between the two entities with the help of siebel Tools.
Ex: If we want to find the relationship between "Account" & "Contact" how we know that the relationship between "Account & Contact" are either 1:M or M:M or in other relation.
Is Guessing is the right approach?? or any other method is there to find the relationship of two entities in siebel??

Well... Now we are going to have a look about the following

1. Navigate to Link object definition and query on below fields with
Parent Business Component:  Account
Child Business Component:  Contact
It returns few records, It indicates Account & Contact is having either 1:M or M:M, till this point we are not sure whether "Account & Contact" or in 1:M or M:M realtionship.

2. To find out the exact relation, check the "Inter Table" Column in Link object definition.
If Inter Table column is specified with any value indicates means two entities are having M: M relationship with each other. If record is present and "Inter Table" property is blank it indicates those two entities are in 1:M relationship.

3. In Link Object definition there is no query results found then the relationship between those two entities are not in 1:M or M:M relationship.
Example: Now we are going to check the relationship between "Service Request & Quote"
we will check based on above approach only
Navigate to Link Object definition in Object Explorer --> Query with "Parent BC & Child BC" fields
with "Service Request & Quote"
Link Object Definition: --> click on Query button, and enter "Parent Business Component: Service Request and Child Business component: Quote" click on enter button
we got a record entry in Link Object definition with "Inter Table" property as blank. It represents "Service Request and Quote is having a 1: M relationship.
In Revers there is a M:1 relationship between "Quote and Service Request".
Now we will check the same relationship in reverse manner to confirm the relationship in Siebel Tools. For that in Parent Business Component Property enter "Quote" and in Child Business component property enter "Service Request", Now we are not got any records in the Link Object definition, that means Quote to Service Request is M:1 in this case Join Object definition should be present.

(This is the one of the approach siebel developers using to find out the relationship between the entities)













Tuesday, June 21, 2016

What are Debugging Techniques in Siebel

Debugging Techniques in Siebel: 
While in Testing Siebel applications or else in development we find many errors in Siebel applications. Here we are going to discuss about how to find out source of that errors.
Siebel provides some debugging techniques
1. Placing the “Spool” File
2. Setup Environment variables
3. Siebel Debugger breakouts
4. Enabling Client side tracing script.
In this article, I am explaining how to setup the first two methods,
How to generate the Spool File:
Spool files are basically generating SQL Queries, to find out where is our SQL is failing we are using the spool file.
You can able to set the spool file for Client or Tools,
Step1: Right click on dedicated client shortcut or on the Tools shortcut --> Click on “Properties”
Step2: In the “Target” enter the following string /s “C:\<Path of your spool file>”
Ex: /s “C\Siebel\Logs\spool.txt”


Where “Logs” is the Folder Name, “spool.txt” is the spool file name in C drive.
Note: After placing the “spool” file path in dedicated client path, if you are not find any spool file generated then create an empty file with name “spool.txt” in the destination folder. It will create the spool file from the next time when you open the dedicated client.
How to create a spool file:
If you want to place the Spool file in your desktop then enter the following string at the end of the “Target” string i.e., /s “C:\spool.txt”. It will create the spool file directly on the desktop.
How to setup the Environmental Variables:
Siebel provides the environmental variables, which can help us to provide the logs for dedicated clients.
1. SIEBEL_LOG_EVENTS
2. SIEBEL_LOG_DIR
SIEBEL_LOG_EVENTS: 
This environment variables have the two types of values they are either Numeric or Text.
The Numeric value is the Log level which can be between 1- 4.
If you set the Numeric Value of 1, it will give you the low log levels.
If you set the Numeric value of 4, it will give you the High log levels.
If you set the Text value: ALL, It will give you a log level of 4.
SIEBEL_LOG_DIR: 
This Value of the variable represents where you want to save the logs.
Note: If you are not provided any value to this variable then logs will be created in the “Temp” directory.
Example Entries in Environment Variables:
SIEBEL_LOG_EVENTS: ALL
SIEBEL_LOG_DIR: C:\Siebel\EnvironmentalVariables\Logs
Steps to create the Environmental Variables: 
Step1: Right Click on “My Computer” Icon or “This PC” icon on Desktop.
Step2: Select “Properties”
Step3: One window will be opened, Select the “Advanced System Settings”
Step4: Click on “Environment Variables” button Under Advanced tab.

Step5:  Under “User Variable” section click on “New” button
Step6:  Provide the Variable Name and Variable Value
Variable Name: SIEBEL_LOG_EVENTS
Variable Value: ALL

Step7: Click on the “New” button on “User Variables” Section and provide the following values.
Variable Name: SIEBEL_LOG_DIR
Variable Value: C:\Siebel\Logs\EnvironmentVariables
Step8: Click on “Ok” button.
Note: After Creating the Environmental Variables i.e., SIEBEL_LOG_EVENTS & SIEBEL_LOG_DIR there are two files will be generated on the logs directory folder i.e., C:\Siebel\Logs\EnvironmentVariables
Siebel.log: This file will be generated for dedicated client.
Siebdev: This log file will be generated for Siebel tools.