Place Siebel CTI Toolbar in IP2014, IP2015, IP2016 back to its original position
25. 10. 2016
For Oracle Siebel IP2014 and later, communications toolbar appears by default at the top of a panel on the side of the Siebel application display area. Oracle Siebel have decided to change the placement and some functions of communication toolbar and integrate it into communication panel along with customer dashboard and chat.
For details read: https://docs.oracle.com/cd/E63029_01/books/SiebCTIAdm/SiebCTIAdm_OpsUsers7.html#wp1005103 or https://docs.oracle.com/cd/E58886_01/books/FundOUI/szfui_aboutuserinterface020.htm
Still, there are many customers that are used to “old style” of CTI Toolbar. It is obvious that CTI controls must by visible and accessible at any moment. CTI Toolbar should not overlap working area (as it is when Communication panel is undocked) as well as it should not shrink working Siebel view (as it is when it is docked to the right). Customer Dashboard or Chat is another topic. To return CTI Toolbar to its original top position, we provide following instructions.
Siebel uses Web Template: ouiwebtempl\CCFrameContentHI.swt to compose whole frame content of the page. If you open the template on webserver you see at the top div for adding the CommunicationPanelContainer. It is conditioned with.:
<swe:case condition="Communication Panel UI Service, IsCommPanelEnabled">
Once you override Method IsCommPanelEnabled in Business Service “Communication Panel UI Service” to return “0”, it will disable to display Communication Panel. The disadvantage is the whole panel along with Customer Dashboard and Chat prevents to be displayed. If customer does not use this functionality it is ok, if they do so, the solution is to erase following lines from webtemplate
<swe:case condition="Communications Client, IsCommEnabled">
<swe:frame type="Toolbar" name="CTIToolbar" htmlAttr="class='siebui-tb-cti-container'">
<swe:include file="CCFrameToolbar.swt"/>
</swe:frame>
</swe:case>
Till now, we either disable the whole Communication Panel or remove CTI Toolbar from the Panel. Now we have to enable CTI Toolbar in its original place. To do this open Web Template: ouiwebtempl\PageContainer.swt or ouiwweb\FINSPageContainer.swt respectively if you use FINS. There are following lines of swe tags and commands which inserts CTI Toolbar in its original place:
<swe:if condition="Communication Panel UI Service, IsNotCommPanelEnabled">
<swe:frame type="Toolbar" name="CTIToolbar" htmlAttr="class='siebui-tb-cti-container'">
<swe:include file="CCFrameToolbar.swt"/>
</swe:frame>
</swe:if>
Once the Condition "Communication Panel UI Service, IsNotCommPanelEnabled" returns always “0” Toolbar is not displayed at the top. The solution is again, either override the Method IsNotCommPanelEnabled to return “1” or to better alternative is to change the condition to refer to the custom Method, e.g. "Communication Panel UI Service, IsTopCTIToolbarEnabled". Implement this method in given Business Service and return Output Parameter IsTopCTIToolbarEnable = 1. This will cause CTI Toolbar appear in its pre IP2014 position.
Späť na Blog