Siebel CRM Desktop for Microsoft Outlook Administration Guide > Customizing Siebel CRM Desktop > Customizing UI Behavior >

Controlling How Siebel CRM Desktop Handles Data That Is Not Directly Visible


You can use the viewmodes element to configure Siebel CRM Desktop to display or hide data that is not directly visible. Data that is not directly visible is a type of data that the client does not receive during synchronization, but instead gets through an association with another Siebel CRM object type. For example, filter settings might prevent CRM Desktop from synchronizing some accounts to the client, but the synchronized contacts that reference these account might contain this account data. In this situation, CRM Desktop displays this account information in the Contact form, but not in an Account view.

Beginning with Siebel CRM Desktop version 3.7, you can configure a view mode according to the type of operation that CRM Desktop performs. You can use one of the following values for the viewmodes element:

  • General. Specifies a value for the General viewmode. If this value exists, then it overrides a value that the ViewMode attribute specifies.
  • Dedup. Specifies a value for the Deduplication view mode. For more information, see Resolving Synchronization Conflicts.
  • QBID. Specifies a value for the Query-By-Id view mode.
  • Not specified. If you do not specify the viewmodes element, then CRM Desktop does the following:
    • Uses the default value for the deduplication viewmode that it gets from the value that you set for the General view mode
    • Uses All as the default value for the Query-By-Id view mode.

CRM Desktop uses a master filter only on query change requests when it uses the General view mode.

Using Query By Id to Hide Data That is Not Directly Visible

The example in this topic configures CRM Desktop to hide all data that is not directly visible for contacts. It prevents CRM Desktop from getting data from the Siebel Server and storing it in the client.

To hide data that is not directly visible for contacts

  1. Use an XML editor open the siebel_meta_info.xml file.
  2. Define the following view modes for the contact object type:

    General="Sales Rep" Dedup="All" QBID="Sales Rep"/>

  3. Define the following view modes for the account object type:

    General="Sales Rep" Dedup="All" QBID="Sales Rep"/>

  4. Define the following view modes for the opportunity object type:

    General="Sales Rep" Dedup="All" QBID="Sales Rep"/>

  5. Define the following view modes for Contact.Account and Account.Contact:

    General="Sales Rep" Dedup="All" QBID="Sales Rep"/>

  6. Define the following view modes for Contact.Opportunity and Opportunity.Contact:

    General="Sales Rep" Dedup="All" QBID="Sales Rep"/>

  7. Make sure the user does not modify the default filter preset that restricts the number of objects that CRM Desktop synchronizes from the Siebel Server.

Using Query By Id to Synchronize Only My Accounts and Activities

  1. Use an XML editor open the siebel_meta_info.xml file.
  2. Locate the following code:

    Account

    <object TypeId='Account' Label='#obj_account' LabelPlural='#obj_account_plural' UpsertBusObjCacheSize='0' EnableGetIDsBatching='true' IntObjName='CRMDesktopAccountIO' SiebMsgXmlElemName='Account' SiebMsgXmlCollectionElemName='ListOfCRMDesktopAccountIO' >

    <viewmodes General="Sales Rep" Dedup="All"/>

    Account.Action

    <object TypeId='Account.Action' Label='Activity' LabelPlural='Activities' EnableGetIDsBatching='true' IntObjName='CRMDesktopAccountIO' SiebMsgXmlElemName='Action' SiebMsgXmlCollectionElemName='ListOfAction' >

    <viewmodes General="All" Dedup="All" />

  3. Modify the code you located in Step 2 to the following code. Bolded font indicates the modifications you must make:

    Account

    <object TypeId='Account' Label='#obj_account' LabelPlural='#obj_account_plural' UpsertBusObjCacheSize='0' EnableGetIDsBatching='true' IntObjName='CRMDesktopAccountIO' SiebMsgXmlElemName='Account' SiebMsgXmlCollectionElemName='ListOfCRMDesktopAccountIO' >

    <viewmodes General="Sales Rep" Dedup="All" QBID="Sales Rep"/>

    Account.Action

    <object TypeId='Account.Action' Label='Activity' LabelPlural='Activities' EnableGetIDsBatching='true' IntObjName='CRMDesktopAccountIO' SiebMsgXmlElemName='Action' SiebMsgXmlCollectionElemName='ListOfAction' >

    <viewmodes General="Personal" Dedup="All" QBID="Personal"/>

Using Filters to Hide Data That Is Not Directly Visible

This topic describes how to hide data that is not directly visible for accounts from a custom Microsoft Outlook view that Siebel CRM Desktop uses. It describes how to prevent CRM Desktop from storing data in the client. For information about how to prevent CRM Desktop from getting data from the Siebel Server and storing it in the client, see Using Query By Id to Hide Data That is Not Directly Visible.

To use filters to hide data that is not directly visible

  1. Use an XML editor to open the siebel_basic_mapping.xml file.
  2. Locate the code described in Account Code.
  3. Examine the following items in the code you located in Step 2:
    • The view id is all_accounts.
    • The following attribute in the definition for the User1 field instructs CRM Desktop to remove data that is not directly visible for an account from the view:

    true

  4. Use an XML editor to open the views.xml file and then locate the following view:

    <str key="all_accounts">

  5. Verify that the following code in the CDATA section is set to true:

    <filter>&quot;http://schemas.microsoft.com/exchange/extensionattribute1&quot; &lt;&gt; 'true'</filter>

  6. Use an XML editor open the connector_configuration.xml file, and then make sure the state_field for the Account type uses the following value:

    <type id="Account" state_field="ObjectState">

  7. Verify that CRM Desktop applies the DASL filter:
    1. Open the CRM Desktop client.
    2. Navigate to the Accounts list.
    3. Right-click in the Accounts list and then choose Advanced View Settings.
    4. In the Advanced View Settings: Siebel Accounts dialog box, click Filter.
    5. In the Filter dialog box, click the SQL tab.
    6. Verify that the Find Items That Match These Criteria window includes the value that you set in Step 2. CRM Desktop displays this value in the following format:

    http://schemas.microsoft.com/exchange/extensionattribute1 <> 'true'

    If you copy this view, then CRM Desktop also copies this filter. This configuration allows you to create other views that you can use with Siebel CRM data.

Account Code

The following code specifies account information in the siebel_basic_mapping.xml file:

<type id="Account" display_name="#obj_account_plural" folder_type="10">
  <form message_class="IPM.Contact.SBL.Account" icon="type_image:Account:16" large_icon="type_image:Account:32" display_name="#obj_account">SBL Account</form>
  <alt_messageclasses>
  </alt_messageclasses>
  <custom_views default_name="#view_siebel_accounts">
    <view id="all_accounts" name="#view_siebel_accounts"></view>
  </custom_views>
  <field id="ObjectState">
    <reader>
      <mapi_user>
        <user_field id="sbl ObjectState" ol_field_type="3"/>
        <convertor>
          <integer/>
        </convertor>
      </mapi_user>
    </reader>
    <writer>
      <multiwriter>
        <outlook_user>
          <user_field id="sbl ObjectState" ol_field_type="3"/>
          <convertor>
            <integer/>
          </convertor>
        </outlook_user>
        <outlook_std>
          <outlook_field id="User1"/>
          <convertor>
            <bitmask2string>
              <rule mask="134217728" result="134217728" value=""/>
              <rule mask="1" result="1" value="true"/>
              <rule mask="1073741824" result="1073741824" value="true"/>
            </bitmask2string>
          </convertor>
        </outlook_std>
        <outlook_user>
          <user_field id="sbl IndirectlyVisible" ol_field_type="6"/>
          <convertor>
            <bitmask2bool>
              <condition mask="1" result="1" eq="true"/>
            </bitmask2bool>
          </convertor>
        </outlook_user>
      </multiwriter>
    </writer>
  </field>

Siebel CRM Desktop for Microsoft Outlook Administration Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.