blog image

Control the touch Open UI feature in chrome from Siebel Administration

In the previous blog we discussed the problem of having touch screen and chrome browser to use for Siebel Open UI. With standard configuration the Siebel Open UI was rendered as for tablet touch device. In enterprise companies with call center and agents working in offices this is not desired situation. The touch events may are still wanted within browser but Siebel Open UI is desired stay in standard desktop layout.  

We will publish simple and quick method how to control this feature of chrome and Siebel Open UI by a script and Siebel Administration. The logic behind this solution is to have new open ui theme with _Touch suffix. When this theme is selected we let browser decide for the touch feature. If standard theme without suffix is selected, touch feature will be never active for the UI rendering.

Create new custom theme as copy of your existing theme. 

Create in  siebel/custom/TouchControl.js following javascript :
 define("siebel/custom/TouchControl ",["siebel/decisionmanager"],
function(){
    SiebelAppFacade.DecisionManager.IsTouch = function ()
{
             return false;}
}
)

Register this javascript in Siebel Administration ->Manifest Files with following path : siebel/custom/TouchControl.js.

Register this script in Siebel Administration -> Manifest Administration for Type = Application, Usage Type = Common, Name = Platform Dependent . Create under Object Expression new record and in the Expression use the expression for your current Theme e.g. Aurora Theme. Add the new created script file siebel/custom/TouchControl.js to this Object Expression.

When user select the XX_Touch theme this script is never loaded and browser decides based on your screen and settings if touch feature is used. If standard theme is selected, this script is activated and always disables the touch rendering UI.

Enjoy your beautifull Siebel Open UI.

Before we begin: take a look at the processing of your personal data

If you visit a site that records cookies, a small text file will be created on your computer and stored in your browser. The next time you visit the same page, it will help you connect to the web faster. Our website will offer you relevant information and make it easier for you to work.

We mainly use cookies for anonymous traffic analysis and to improve our website. If you set your browser to block cookies, it is possible that the website will slow down and some parts of the website may not work completely correctly. More info on the processing of cookies.