Code That Adds a Lookup View
To add a lookup view, you add the following code to the lookup_view_defs.xml file. For more information, see Customizing the SalesBook Control:
<lookup_view_def key="lookup:channel_partners">
<display name="Channel Partners"></display>
<filter dasl="[http://schemas.microsoft.com/mapi/proptag/0x001A001E] >=
'IPM.Contact.SBL.Channel_Partner' AND [http://schemas.microsoft.com/mapi/proptag/
0x001A001E] <= 'IPM.Contact.SBL.Channel_Partner'"></filter>
<view id="channel_partner:salesbook"></view>
<quick_lookup dasl_format="[http://schemas.microsoft.com/mapi/id/{00062004-
0000-0000-C000-000000000046}/8005001E] = '%s'"></quick_lookup>
<type id=""></type>
</lookup_view_def>
The following describes important attributes you use in this code.
Attribute | Description |
---|---|
key |
Id of the lookup control. |
display name |
Caption of the lookup control. |
filter |
Object that Siebel CRM Desktop displays on the lookup control. To specify an object type, you use the message_type attribute in the siebel_basic_mapping.xml file. |
view |
Id of the salesbook control that Siebel CRM Desktop uses for this lookup. |
type id |
The type of object that Siebel CRM Desktop creates if the user clicks New on the lookup control. If this attribute is empty, then Siebel CRM Desktop disables the button. |