Controlling How Long Siebel CRM Desktop Pins Objects

This topic describes how to change the default value that determines how long Siebel CRM Desktop pins an object.

To control how long Siebel CRM Desktop pins an object

  1. Use a JavaScript editor to open the mvg_dialogs.js file.

  2. Locate the following code:

    this.default_options = {
      "online_sb_xml": online_sb_xml,
      "online_sb_template_params": {
        "caption": "#ol_lookup-online_caption"
      },
      "remote_connector_timeout": 0,
      "remote_connector_max_rows_number": 100
    };
    
  3. Modify the code you located in step 2 to the following code. Bold font indicates the modification:

    this.default_options = {
      "online_sb_xml": online_sb_xml,
      "online_sb_template_params": {
        "caption": "#ol_lookup-online_caption"
      },
      "remote_connector_timeout": 0,
      "remote_connector_max_rows_number": 100
      "pinned_object_lifetime": pin_time
    };
    

    where:

    pin_time specifies the number of seconds to pin an item. Note the following:

    • The default value is 604800, which is seven days.

    • One day is 86400.

    • You can specify -1 (negative one) to pin objects forever.

  4. Locate the following code in the select_items function:

    synchronizer.pin_object(view_dsc.link_to, remote_id);
    
  5. Replace the code you located in step 4 with the following code:

    synchronizer.pin_remote(view_dsc.link_to, remote_id,
    options.pinned_object_lifetime);