Editing conflict page of Siebel Product Configurator


Rquirement:To remove proceed button from the conflict page of Siebel Product Configurator.

Background 
Siebel Product Configurator throws and error page commonly known as Conflict page(see below) to the user when user tries to select wrong configuration inside the configurator.


In conflict page user have uption to undo his last action or proceed by removing the object that was constraining his last selection.


Some times objects are added by configurator scripts, and it is required that user should not be able to delete the products or attributes that are added from scripts. 


Solution
This problem can be solved by editing the cfgui.js javascript file .

This file constains javascript code that renders the whole UI of product configurator.The script in the file contains methods that convert the swe tags of the templates file to the HTML tags that shows up as UI.  You can find this file in the public\lang_code\siebel_bulid_number\SCRIPTS directory of siebel web client installation.

On the siebel server these files can be located in the SWSE\PUBLIC\lag_code\siebel_build_number\ SCRIPTS folder

To remove the Proceed button you need to edit the showConflict funtion in this file, to set the display property of proceed button to none.

from script:

switch (conflictType)
   {
      case "Conflict":   
         buttonObj = document.getElementById ("RemoveFailedRequests");
         if (buttonObj)
            buttonObj.style.display = "";

to :

   switch (conflictType)
   {
      case "Conflict":   
         buttonObj = document.getElementById ("RemoveFailedRequests");
         if (buttonObj)
buttonObj.style.display = "none"; 

After these changes, clear the cache of internet explorer and restart the client. Now on proceed button will not visible on the conflict page of the configurattor(see below).


Other Siebel Blogs

siebel-admin-l @ IT - toolbox

siebel-dev-l @ IT - toolbox