Friday, 19 October 2018

Enabling breadcrumb navigation on Siebel Simplified UI / Synergy Theme

Synergy Theme has been doen't have breadcrumb navigation (It is hidden),
Eventhough customers loved this theme,they demands breadcrumb.
Here is the qucik code snippets to enable those.

Js (Add below code to postload)
---------------------

var elm = $("#s_tb").eq(0)
$("#s_tb").eq(0).remove();
$("#_swescrnbar").after(elm);

CSS
------
#siebui-threadbar .siebui-crumb {
    color: #ffffff;
    font-weight: 300;
}

#siebui-threadbar>li a {
    color: #ffffff;
    text-decoration: underline;
}


Tuesday, 25 September 2018

Issues Siebel 2018 Upgrade

After upgrade, we encountered some issues with attachment / Document Server.

-> Any attachment upload is successful
-> able to download any attachment, which is uploaded before upgrade
-> unable to download any attachment, which is uploaded after upgrade

OM  Logs

SBL-SVC-00155: No file has been attached to this record. Please attach a file.
SBL-UIF-00230: The file %1 could not be found on any specified file system.

FSMSrvr Log

IDS : FLAGS [1] : REQID [1-B1AW-7B] : SRBSESSID [e1450298200002MI_PRD_SS03] : SRMCONNID [15] 
SRC : SRC_ID [] : SRC_KEY [] 
DEST : ROUTE_ID [FSMSrvr] : ROUTE_KEY [] : ROUTE_SRVR [] : LANG_CODE [ENU] : CODE_PAGE [1200] : LANG_IND [0] : CLIENTPROC_ID [18517] 

FSMLog FSMInfo 3 0000024f5ba853c2:0 2018-09-24 09:47:58 FSMSrvr getting thrctx



on further investigation, we found that new documents on siebel file system is having some naming issue.

usually Siebel attachment will be saved like tablename_rowid_revision.SAF
but after upgrade we noticed that all new files missing revision value.


So new files are like S_DOC_CORR_1-23EUN9_.SAF



On further ticket, oracle confirmed that there is a Bug 26452153 : FILE_REV_NUM IS 0 DURING FILE UPLOAD 

it is found that, In the bug there was corruption in NEXT_FILE_SUFFIX column in table S_SSA_ID. 


on production, NEXT_FILE_SUFFIX is having a value "ActivationList" and all lower environment is a 5 char value. (ex: 4DFGT)
we replaced it with a sql update and all functionality started working. 

Monday, 4 June 2018

Server 500 Error on Siebel Servers (IP17, Siebel 2018)

Siebel Servers or basically Apache/Tomacat server have issues with "." or Space on your cookie values.

So if you are getting any 500 error, when you check the browser console, please make sure that you are not sending any custom cookies.

The below documentation is applicable for old versions of Siebel and have spaces in their sample cookie. You need to remove those Space and  leading "dot" to resolve this issue.
 
https://docs.oracle.com/cd/B40099_02/books/PortalFrame/PortalFrameTxNBS3.html

tmpCookie.SetType ('My_Test_Cookie');
tmpCookie.SetValue ('Cookie Value for My_Test_Cookie');

tmpCookie.SetProperty ('Domain', '.siebel.com');  => to siebel.com



Monday, 27 February 2017

Clib.System function fails in Solaris 11

Clib.System functions are commonly used to invoke system process or batch/shell files etc. This function is having some compatibility issues with Solaris 11 or above.

When you migrate Clib.system is returning some error codes like 32512 or 9.
This is because of Siebel is referring some 64 bit libraries instead of 32 bit.

To over come this issue kindly follow below steps:

1. Make a backup copy of $SIEBEL_ROOT/bin/siebmtshw.

2. Edit siebmtshw file

3. Change LD_PRELOAD to LD_PRELOAD_32

4. export LD_PRELOAD_32

5. Save the file

6. Take clean bounce of siebel services and a machine bounce as well.

By this way the library would be preloaded for 32-bit binaries

for more information please refer:
Doc ID 2193193.1
Doc ID 2149311.1

Tuesday, 28 June 2016

View PR not working in IP 2014 ?

IP 2014 has a problem with its view PR. View PR cannot work alone :)
Oracle support web has already given a workaround for this issue.

Here is the solution part. 

For this matter a defect was created: BUG 23016729 - SIEBEL OPEN UI VIEW PR DOES NOT WORK WITHOUT A SPECIFIC PM
Workaround:
The PR the PM it is called, according to the documentation and if the PM is called, a PM should exist for this PR.
Life Cycle of a Physical Renderer: https://docs.oracle.com/cd/E14004_01/books/config_open_ui/architecture13.html#wp1246021
Added a PM along with the PR and the view loaded properly, with no errors in the browser console log.
Steps
----------------------
1. Copied the Java Script file EIMViewPR.js in SCRIPTS/siebel/custom
2. Login into Siebel Application
3. Added the file through Manifest Administration Screen
4. Log out of Siebel Application
5. Login again in Siebel Application
6. Go to Site Maps > Query for EIM
7. Go to EIM Tables screen
8. Created a Java Script file EIMViewPM.js in SCRIPTS/siebel/custom
9. Login again into Siebel Application and added the file in the Manifest Screen
10. Go to Site Maps > Query for EIM > Go to EIM Tables screen
Expected results
----------------------
The application should work properly.
Actual results
----------------------
The application is loaded properly, no errors in the browser console log

For More information Check doc ID: 2122937.1

Wednesday, 11 March 2015

Log In Undefined issue in Siebel Open UI

In some of our environment, we noticed that Login button is showing as Login Undefined.


Solution to this problem.
From support web

1. On "CC Login Page (Login Only)', locate the "LoginButton".
2. Remove the Caption String Override.
3. Open UI script need to have nothing but HTML code in the caption. Otherwise, it will returns "Undefined" condition.

This did not worked for me due to some reason. The alternate way I used is by editing LoginSWT.

<script language="javascript" src="23030/scripts/3rdParty/jquery.js?_scb="></script>

<script>
$(document).ready(function(){
            $(".loginButton a").text("Login");
     });

</script>​

started working perfectly ;-)