Example That Controls the View Mode During Synchronization According to Object Type

The following code controls the view mode that Siebel CRM Desktop uses during synchronization for the Account.Account_Note object type:

<object TypeId='Account.Account_Note' Label='#obj_account_note' 
LabelPlural='#obj_account_note_plural' EnableGetIDsBatching='true' 
IntObjName='CRMDesktopAccountIO' SiebMsgXmlElemName='AccountNote' 
SiebMsgXmlCollectionElemName='ListOfAccountNote' >
  <viewmodes General="Organization" Dedup="All" />
  <open_with_url_tmpl>
    <![CDATA[
      :[:(protocol):]://:[:(hostname):]::[:(port):]/sales/_:[:(lang):]/
?SWECmd=GotoView&SWEView=Account+Note+View&SWERF=1&SWEHo=:[:(hostname):]&SWEBU=1&SWEAp
plet0=Account+Entry+Applet&SWERowId0=:[:(parent_id):]&SWEApplet1=Account+Note+Applet&S
WERowId1=:[:(own_id):]
    ]]>
  </open_with_url_tmpl>
  <extra_command_options>
    <option Name='PrimaryKey1M' Value='Id' />
    <option Name='ForeignKey1M' Value='Account Id' />
    <option Name='Cardinality' Value='1M' />
    <option Name='ServerServiceVersion' Value='2' />
  </extra_command_options>
  <field Name='Account Id' Label='Account Id' DataType='DTYPE_ID' IsNullable='no' 
IsFilterable='no' IsRefObjId='yes' RefObjTypeId='Account' RefObjIsParent='yes' 
IsPartOfUserKey='yes' IOElemName='AccountId' />
  <field Name='Conflict Id' Label='Conflict Id' DataType='DTYPE_ID'
IsFilterable='no' IsHidden='yes' IOElemName='ConflictId' />
  <field Name='Created' Label='#fld_account_account_note@created' 
DataType='DTYPE_DATETIME' IsPartOfUserKey='yes' IOElemName='Created' />
  <field Name='Created By' Label='Created By' DataType='DTYPE_ID' IsFilterable='no' 
IsRefObjId='yes' RefObjTypeId='Employee' IOElemName='CreatedBy' />
  <field Name='Created By Name' Label='#fld_account_account_note@created_by_name' 
DataType='DTYPE_TEXT' IOElemName='CreatedByName' />
  <field Name='Created Date' Label='Created Date' DataType='DTYPE_UTCDATETIME' 
IsHidden='yes' IOElemName='CreatedDate' />
  <field Name='DS Updated' Label='DS Updated' DataType='DTYPE_DATETIME' 
IsFilterable='no' IsHidden='yes' IsTimestamp='yes' IOElemName='DBLastUpd' />
  <field Name='Id' Label='Id' IsPrimaryKey='yes' DataType='DTYPE_ID' IsFilterable='no' 
IsHidden='yes' IsPartOfUserKey='yes' IOElemName='Id' />
  <field Name='Mod Id' Label='Mod Id' DataType='DTYPE_ID' IsFilterable='no' 
IsHidden='yes' IOElemName='ModId' />
  <field Name='Note' Label='#fld_account_account_note@note' DataType='DTYPE_NOTE' 
IOElemName='Note' />
  <field Name='Note Type' Label='#fld_account_account_note@note_type' 
DataType='DTYPE_TEXT' HasPicklist='yes' PicklistIsStatic='yes' 
PicklistCollectionType='FS_NOTE_TYPE' PicklistTypeId='List_Of_Values' 
IOElemName='NoteType' />
  <field Name='Private' Label='Private' DataType='DTYPE_BOOL' IsHidden='yes' 
IOElemName='Private' />
  <field Name='Updated' Label='Updated' DataType='DTYPE_DATETIME' IsHidden='yes' 
IOElemName='Updated' />
  <field Name='Updated By' Label='Updated By' DataType='DTYPE_ID' IsFilterable='no' 
IsHidden='yes' IOElemName='UpdatedBy' />
</object>