Example Code of the Lookup View Definitions File

The following code is an example of the lookup_view_defs.xml file:

<res_root>
  <array key="all_lookup_types">
    <item value="Account"></item>
    <item value="Contact"></item>
    <item value="Opportunity"></item>
  </array>
  <lookup_view_def key="lookup:contacts">
    <display name="Contacts"></display>
    <filter dasl="[http://schemas.microsoft.com/mapi/proptag/0x001A001E] &gt;= 
'IPM.Contact.SBL.Contact' AND [http://schemas.microsoft.com/mapi/proptag/
0x001A001E] &lt;= 'IPM.Contact.SBL.Contact'"></filter>
    <view id="contacts:salesbook"></view>
    <quick_lookup dasl_format="[http://schemas.microsoft.com/mapi/id/{00062004-
0000-0000-C000-000000000046}/8005001E] = '%s'"></quick_lookup>
    <type id="Contact"></type>
  </lookup_view_def>
</res_root>