Skip to main content

“contactwithpersonsearch_new” MDO List

Provider for selecting a Contact, including search on persons that match as well as contacts. this provider will return a mix of contact and person records. The type is indicated in the Type property of the item, and the contact ID is always in the extraInfo. Searchs contact and person tables for matches, in addition to the contact search of the base class “contact” search. Returns a mix of Contact and Person items sorted by relevance: own contacts, recently added or updated are more relevant. id = contact or person_id, Name = contact.name + department or person first+last name (contact name + department) ExtraInfo = contact_id, Type = “Contact” or “Person” Stopped contacts are marked with stylehint = “stop” (but item.deleted = false) Implemented by the ContactListWithPersonSearchProvider class. The name of the MDO list is ‘contactwithpersonsearch_new’.

Sample Request

Sample Code

Sample Output

  • “contactwithpersonsearch_newheadings”
  • “contactwithpersonsearch_newheadingswithallitem”
  • “contactwithpersonsearch_newheadingswithallitemwithnoselection”
  • “contactwithpersonsearch_newheadingswithnoselection”
  • “contactwithpersonsearch_newwithallitem”
  • “contactwithpersonsearch_newwithallitemwithnoselection”
  • “contactwithpersonsearch_newwithnoselection”