Oracle CRM On Demand Desktop Administration Guide > XML Files Reference > XML Code to Customize the SalesBook Control >

Lookup View Definition Element of the lookup_view_defs.xml File


The lookup_view_def element describes the configuration for the SalesBook control. You can define as many configurations as you require. The key attribute defines the unique ID, or name, for this configuration.

The lookup_view_def element includes the following tags:

  • display. The name attribute of the display element defines the name of this configuration. Oracle CRM On Demand Desktop displays it as a list value in the top-right corner of the SalesBook control.
  • filter. The dasl attribute of the filter element describes the dasl filter that Oracle CRM On Demand Desktop applies to all objects that the array element describes. The user can view only the objects that match this filter in the SalesBook control.
  • view. The id attribute of the view element defines the view that Oracle CRM On Demand Desktop applies to the list in the SalesBook control. You must describe this view ID in the views.xml file.
  • quick_lookup. The dasl_format attribute of the quick_lookup element defines the dasl filter that Oracle CRM On Demand Desktop applies to the quick search feature of the SalesBook control. To simplify finding a field, this feature allows the user to enter any text to filter records. The user enters text in the top-left edit box on a SalesBook form.

    The following example code allows the user to view records where the File As field is the same as the string:

    <quick_lookup dasl_format="[http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000-000000000046}/8005001E] = '%s'"></quick_lookup>

    where:

    • The File As field is ([http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000-000000000046}/8005001E]).
    • The quick search is entered as ('%s').
  • type. The ID attribute of the type element defines the type of object that Oracle CRM On Demand Desktop creates if the user clicks New in a SalesBook control. If you do not define this attribute, then the user cannot create a new object.
Oracle CRM On Demand Desktop Administration Guide, Version 5.2 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.