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).


Comments (6)

Loading... Logging you in...
  • Logged in as
I like this one. Simple solution to a complex problem, provided you know about it!
Praveen Gopi's avatar

Praveen Gopi · 779 weeks ago

Can we remove the proceed button conditionally depending on the value of a field in the order item xa table
1 reply · active 776 weeks ago
The only way it can be made conditional is with the use of profile attribute, if you can somehow set the profile attribute before loading of the conflict page then i think you will be able to achieve it.
Hi

Sorry to ask my question here but i didn't find the place where to ask my query.

In product configurator, When we define the Hide property for an Relationship,Product,Attribute or Attribute value the object is hidden in the product configurator.

I want to know where exactly this logic is implemented, I explored all the webtemplates and JS files but i didn't find the logic.
My requirement is to hide the product based on some field value..
So i want to append my logic to the vanilla Hide logic.Please let me know if you have any idea..Thanks in Advance

Thanks
Vijay Kumar
pull that field as linked item in the configurator, and use constraints exclude that product. then use excluded = y user property to hide that product instead of showing it as red.

hope it helps.
1 reply · active 731 weeks ago
Chinmoy Saha's avatar

Chinmoy Saha · 731 weeks ago

I want to remove the Promotion Field from the Product Configurator. Can you please help me?

Post a new comment

Comments by

Other Siebel Blogs

siebel-admin-l @ IT - toolbox

siebel-dev-l @ IT - toolbox