RemoveService Method

The RemoveService method removes a business service from the client. It uses the following syntax:

RemoveService (business_service_name) 

where:

  • business_service_name identifies the name of the business service that Siebel Open UI removes.

For example, the following code removes the Task UI Service (SWE) business service:

var service = SiebelApp.S_App.GetService("Task UI Service (SWE)"));    
// Use service    
...    
//Remove service    
if (service){ 

If you use RemoveService to remove a business service that does not exist, then Siebel Open UI might not behave as predicted.