PPLIES TO:
Siebel Tools - Version 8.0.0.5 [20420] - DO NOT USE and laterInformation in this document applies to any platform.
SYMPTOMS
Steps to reproduce the issue:
1. Created a business Service "Sample Business Service"
2. Add following code
1. Created a business Service "Sample Business Service"
2. Add following code
function Service_PreInvokeMethod (MethodName, Inputs, Outputs)
{
if(MethodName == "Sample")
{
Outputs.SetProperty("URL", "/s/ap/20091204/ap_on_he_me/us_med_swine_flu/print")
return(CancelOperation);
}
return (ContinueOperation);
}
{
if(MethodName == "Sample")
{
Outputs.SetProperty("URL", "/s/ap/20091204/ap_on_he_me/us_med_swine_flu/print")
return(CancelOperation);
}
return (ContinueOperation);
}
3. In Contact List Applet created a Button and in the Applet_PreInvoke Event Add following code
function Applet_PreInvokeMethod (name, inputPropSet)
{
if(name == "TestRecord")
{
try{
var bs;
bs = theApplication().GetService("Sample Business Service ");
var psInputs = theApplication().NewPropertySet();
var psOutputs = theApplication().NewPropertySet();
psOutputs = bs.InvokeMethod("Sample",psInputs);
var URL = psOutputs.GetProperty("URL");
window.open("http://news.yahoo.com"+URL);
}
catch(e){
alert(e.toString());
}
finally{
}
return("CancelOperation");
}
return ("ContinueOperation");
}
{
if(name == "TestRecord")
{
try{
var bs;
bs = theApplication().GetService("Sample Business Service ");
var psInputs = theApplication().NewPropertySet();
var psOutputs = theApplication().NewPropertySet();
psOutputs = bs.InvokeMethod("Sample",psInputs);
var URL = psOutputs.GetProperty("URL");
window.open("http://news.yahoo.com"+URL);
}
catch(e){
alert(e.toString());
}
finally{
}
return("CancelOperation");
}
return ("ContinueOperation");
}
4. Everything is working as expected.
5. But if you change the Business Service name from "Sample Business Service" to "Sample Business Service1" you will get following error
"Cannot get service: Sample Business Service1(SBL-UIF-00275)"
Also the URL is getting invoke. The URL should not get invoked as the error is encountered. It looks like it is bypassing the catch block in the browser Script
SOLUTION
CR#10583049 [Try - Catch Block Error Handling not working in Browser Script] has been logged as Product Defect Bug to address this issue.
APPLIES TO:
Siebel System Software - Version 8.1.1.1 SIA [21211] to 8.1.1.8 [23012] [Release V8]
Information in this document applies to any platform.
This document was previously published as Siebel SR 38-3443949081.
** Checked for relevance on 27-Feb-2012 **
Information in this document applies to any platform.
This document was previously published as Siebel SR 38-3443949081.
** Checked for relevance on 27-Feb-2012 **
SYMPTOMS
SBL-UIF-00275
Task Based UI.
Using Task Based UI, the following error message is thrown with the Siebel vanilla Business Service "Task UI Service (SWE)":
"(swefrmgr.cpp (3258)) SBL-UIF-00275: Folgender Dienst ist nicht verfügbar: Task UI Service (SWE)
Cannot get service: Task UI Service (SWE).(SBL-UIF-00275)
STEPS to reproduce using standard Repository and sample DB:
- From Siebel Tools, select object Menu in the Object Explorer
- Query for menu "Generic"
- Lock the project (Alt+L)
- Set the property 'Inactive' to True for Menu Item "Edit" of the menu "Generic"
- Compile this object into the SRF and launch application "Siebel Sales Enterprise" with this SRF, connected as SADMIN
- Navigate to Sitemap > Administration - Business Process > Task Deployment > Published Task
- In the top applet, search for task "FS Asset To Contract Task", click Activate
- Navigate to sitemap > Administration – Application > Tasks
- In the top applet, create a new record, open the pick applet on Task Name and select "FS Asset To Contract Task"
- In the bottom applet, add the "Siebel Administrator" responsibility
- In the top applet, click "Clear Cache"
- Navigate to site map > Agreements > List
- Open the task pane, you should see a task named "Assets to Agreement", try this task.
- From Siebel Tools, select object Menu in the Object Explorer
- Query for menu "Generic"
- Lock the project (Alt+L)
- Set the property 'Inactive' to True for Menu Item "Edit" of the menu "Generic"
- Compile this object into the SRF and launch application "Siebel Sales Enterprise" with this SRF, connected as SADMIN
- Navigate to Sitemap > Administration - Business Process > Task Deployment > Published Task
- In the top applet, search for task "FS Asset To Contract Task", click Activate
- Navigate to sitemap > Administration – Application > Tasks
- In the top applet, create a new record, open the pick applet on Task Name and select "FS Asset To Contract Task"
- In the bottom applet, add the "Siebel Administrator" responsibility
- In the top applet, click "Clear Cache"
- Navigate to site map > Agreements > List
- Open the task pane, you should see a task named "Assets to Agreement", try this task.
Result:
SBL-UIF-00275: Cannot get service: Task UI Service (SWE)
The log file shows the error below.
GenericLog GenericError 1 00000002470d0894:0 2007-10-11 11:13:06 Invocation of Task UI Service (SWE)::StartTask is not allowed.
ObjMgrLog Error 1 00000002470d0894:0 2007-10-11 11:13:06 (swefrmgr.cpp (3258)) SBL-UIF-00275: Cannot get service: Task UI Service (SWE)
Even if the log file does show the error below about the menu, it is difficult to link both.
ObjMgrSRFLog Error 1 00000002470d0894:0 2007-10-11 11:12:54 (objdef.cpp (9943)) SBL-DAT-00260: There is no menu item definition at position '20' specified as the parent for menu item 'Edit - Add New Record' in menu 'Generic'.
CAUSE
If there is a menu object that is incorrect (i.e., an invalid Position sequence like twice the same position or a non-existing parent item), you cannot launch any task from the task pane.
This occurs even if the menu is not the one used by the application you run. This occurs for any task and and any place from where the task is called.
This occurs even if the menu is not the one used by the application you run. This occurs for any task and and any place from where the task is called.
APPLIES TO:
Siebel CRM - Version 8.1.1.11 [23030] and later
Information in this document applies to any platform.
Information in this document applies to any platform.
SYMPTOMS
iHelp was setup and configured several months ago. Then, iHelp stopped working after a recent SRF compilation. iHelp fails in both the thin and thick clients.
The changed objects were reviewed; however, none of the objects were related either to iHelp or Task UI.
STEPS
1. Click iHelp icon in the Toolbar to open the iHelp items for a given Screen.
2. Click the hyperlink for any iHelp item.
STEPS
1. Click iHelp icon in the Toolbar to open the iHelp items for a given Screen.
2. Click the hyperlink for any iHelp item.
Result: Error SBL-UIF-00275 error pops up on the screen.
Cannot get service: Task Assistant UI Service.(SBL-UIF-00275)
SBL-UIF-00230 is logged in the object manager log.
ObjMgrBusCompLog Error 1 00000002532a17f0:0 2014-03-20 09:33:05 (bcfile.cpp (1723)) SBL-UIF-00230: The file 0-30&Siebel Universal Agent.spf could not be found on any specified file system.
69232 ObjMgrSRFLog Error 1 00000002532a17f0:0 2014-03-20 09:33:03 (objdef.cpp (10099)) SBL-DAT-00260: There is no menu item definition at position '7.6' specified as the parent for menu item 'Tools - Reset Active Session Count' in menu 'CRA Generic WEB'.
191173 GenericLog GenericError 1 00000002532a17f0:0 2014-03-20 09:33:56 Invocation of Task Assistant UI Service::LaunchTaskFromView is not allowed.
191175 ObjMgrLog Error 1 00000002532a17f0:0 2014-03-20 09:33:56 (swefrmgr.cpp (3603)) SBL-UIF-00275: Cannot get service: Task Assistant UI Service.
CHANGES
Objects were changed and the SRF was recompiled.
CAUSE
Issue is caused by behavior documented in the following bug:
Bug 10530804 - [CR#12-1LJ96SE][FR#12-1LJ96TU] SBL-UIF-00275 WHEN CALLING ANY TASK FROM THE TASK
Bug 10530804 - [CR#12-1LJ96SE][FR#12-1LJ96TU] SBL-UIF-00275 WHEN CALLING ANY TASK FROM THE TASK
If there is a menu object that is incorrect, such as having an invalid Position sequence (e.g., the same position listed twice or a non-existing parent item), then you can no longer launch any task from the task pane. This also affects iHelp.
This occurs even if the menu is not the one used by the application you launched.
In the Menu object CRA Generic WEB, the wrong position 7.7 was listed instead of position 7.6, as in the vanilla repository. This occurred after performing the 8.1.1.11 IRM upgrade process.
Note:
This issue is not specific to standard Business Service 'Task UI Service (SWE)'.
This also occurs with custom browser script Business Services.
The issue is reproducible with 8.1.1.11 and 8.1.1.14.5.
This also occurs with custom browser script Business Services.
The issue is reproducible with 8.1.1.11 and 8.1.1.14.5.
SOLUTION
Workaround
Activate the menu item "Help - About Record" at position 7.6 in menu 'CRA Generic WEB'.
Go to Siebel Tools:
1. In Object Explorer, Select Menu Object.
2. Query for "CRA Generic WEB".
3. Expand Menu to expose Menu Items.
4. Search for "Help - About Record", with Position Field = 7.6.
5. Set the Inactive Field to FALSE.
6. Recompile SRF.
1. In Object Explorer, Select Menu Object.
2. Query for "CRA Generic WEB".
3. Expand Menu to expose Menu Items.
4. Search for "Help - About Record", with Position Field = 7.6.
5. Set the Inactive Field to FALSE.
6. Recompile SRF.
APPLIES TO:
Siebel CRM - Version 8.1.1.11 SIA [23030] and later
Information in this document applies to any platform.
Information in this document applies to any platform.
SYMPTOMS
We are using an custom BS for our CTI integration. From the view of Siebel it's just an bookmark/static URL.
Our BS is a very simple one. He does a query with busobject and then calls GotoView:
function JumpToContact(Inputs, Outputs)
{
var sViewName = "Contact Detail View";//Inputs.GetProperty("ViewName");
var sBusObject = "Contact";//Inputs.GetProperty("BusObject");
var sBusComp = "Contact";//Inputs.GetProperty("BusComp");
var sId = Inputs.GetProperty("Id");
var bo : BusObject = TheApplication().GetBusObject(sBusObject);
var bc : BusComp = bo.GetBusComp(sBusComp);
bc.SetViewMode(5);//Organization->All Contacts
bc.ClearToQuery();
bc.SetSearchSpec("Id",sId);
bc.ExecuteQuery(ForwardBackward);
TheApplication().GotoView(sViewName, bo);
return (CancelOperation);
}
Our CTI software generates an URL and paste this into the internet explorer in which is Siebel running. There is the URL for Contacts:
http://<hostname>/sales_sso_deu/start.swe?SWECmd=InvokeMethod&SWEMethod=JumpToContact&SWEService=XXXXX+CTI+Business+Service&Id=1-2BE9B&SWERF=1
We get the following error if we paste this URL in the internet explorer address bar
- - -
Cannot get service: XXXXX CTI Business Service (SBL-UIF-00275)
- - -
I can call the BS via Business Service simulator and everything works fine.
We are using version 8.1.1.11 with patchset 6 (8.1.1.11.6). With patchset 5 (8.1.1.11.5) this error doesn’t occur.
NOTE:
- - -
This issue is reproducible using the HI and the Open UI clients.
This issue is reproducible using the dedicated client and the web client.
Our BS is a very simple one. He does a query with busobject and then calls GotoView:
function JumpToContact(Inputs, Outputs)
{
var sViewName = "Contact Detail View";//Inputs.GetProperty("ViewName");
var sBusObject = "Contact";//Inputs.GetProperty("BusObject");
var sBusComp = "Contact";//Inputs.GetProperty("BusComp");
var sId = Inputs.GetProperty("Id");
var bo : BusObject = TheApplication().GetBusObject(sBusObject);
var bc : BusComp = bo.GetBusComp(sBusComp);
bc.SetViewMode(5);//Organization->All Contacts
bc.ClearToQuery();
bc.SetSearchSpec("Id",sId);
bc.ExecuteQuery(ForwardBackward);
TheApplication().GotoView(sViewName, bo);
return (CancelOperation);
}
Our CTI software generates an URL and paste this into the internet explorer in which is Siebel running. There is the URL for Contacts:
http://<hostname>/sales_sso_deu/start.swe?SWECmd=InvokeMethod&SWEMethod=JumpToContact&SWEService=XXXXX+CTI+Business+Service&Id=1-2BE9B&SWERF=1
We get the following error if we paste this URL in the internet explorer address bar
- - -
Cannot get service: XXXXX CTI Business Service (SBL-UIF-00275)
- - -
I can call the BS via Business Service simulator and everything works fine.
We are using version 8.1.1.11 with patchset 6 (8.1.1.11.6). With patchset 5 (8.1.1.11.5) this error doesn’t occur.
NOTE:
- - -
This issue is reproducible using the HI and the Open UI clients.
This issue is reproducible using the dedicated client and the web client.
CAUSE
In the log files provided by the customer the following error was found before the SBL-UIF-00275 error:
- - -
...
ObjMgrSRFLog Error 1 00000002536a0494:0 2014-05-07 13:35:36 (objdef.cpp (10099)) SBL-DAT-00260: There is no menu item definition at position '7.6' specified as the parent for menu item 'Tools - Reset Active Session Count' in menu 'CRA Generic WEB'.
...
- - -
It appeared the menu 'CRA Generic WEB' was involved in the issue, more especially the child Menu Item 'Help - About Record' that has 7.6 as Position. Indeed a similar issue namely a scenario involving the error SBL-UIF-00275 and the menu 'CRA Generic WEB' has already been reported and is discussed in Note 1617023.1.
- - -
...
ObjMgrSRFLog Error 1 00000002536a0494:0 2014-05-07 13:35:36 (objdef.cpp (10099)) SBL-DAT-00260: There is no menu item definition at position '7.6' specified as the parent for menu item 'Tools - Reset Active Session Count' in menu 'CRA Generic WEB'.
...
- - -
It appeared the menu 'CRA Generic WEB' was involved in the issue, more especially the child Menu Item 'Help - About Record' that has 7.6 as Position. Indeed a similar issue namely a scenario involving the error SBL-UIF-00275 and the menu 'CRA Generic WEB' has already been reported and is discussed in Note 1617023.1.
SOLUTION
The customer resolved their issue by applying the configuration fix described in Note 1617023.1:
In the customer repository, the Menu 'CRA Generic WEB' contained a child Menu Item 'Help - About Record' that was set to inactive ('Inactive' property set to TRUE). They set it to active ('Inactive' property set to FALSE), performed a full compilation and confirmed that their issue was resolved.
In the customer repository, the Menu 'CRA Generic WEB' contained a child Menu Item 'Help - About Record' that was set to inactive ('Inactive' property set to TRUE). They set it to active ('Inactive' property set to FALSE), performed a full compilation and confirmed that their issue was resolved.
APPLIES TO:
Siebel Tools - Version 8.0.0.6 [20423] and later
Information in this document applies to any platform.
Checked for Relevance on 12-Feb-2015
Information in this document applies to any platform.
Checked for Relevance on 12-Feb-2015
SYMPTOMS
Following steps are followed to invoke a custom business service from an external application via Web Client Automation Server:
(1) Create a custom business service
(2) Add the custom business service in Application User Property as follow:
Name: ClientBusinessServiceX
Value: BS_Name
(3) Create a Excel macro which calls the custom business service with Web Client Automation Server as documented in Object Interfaces Reference
However, when the excel macro is launched, following error message is displayed on Web Client:
Cannot get service: BS_Name (SBL-UIF-00275)
CAUSE
The cause of the issue is that the number in the Application User Property is not sequential. Since one of entries in Application User Property is set to Inactive=TRUE, the number in ClientBusinessServiceX is no longer sequential.
SOLUTION
As documented in Bookshelf 'Object Interfaces Reference' at [Interfaces Reference]->[Application Methods]->[GetService Method], X in ClientBusinessServiceX must be sequential. Since one of the entries in the application user property was deactivated, the X skipped the number which was deactivated.
Once the entry is activated, or the X is modified to be sequential, the issue is resolved.
No comments:
Post a Comment