Skip to main content

“contact_and_person_freetextsearch” MDO List

Provider for selecting a Contact or a Person Does keyword matching and scoring across multiple string fields. Checks name, department, soundex fields. Additional: Name = Person or PersonContact or ContactPersonAddContact = true or false - add a contact item for person itemsExpandContact = TRUE or false - add all persons for a contact itemsSkipRetired = TRUE or false - skip retired personsContactId = 123 - boost persons belonging to contact id in results rank User’s own contacts, recently added + modified contacts, contacts modified or created by user. Matches on word boundaries or at start of field are scored extra highly. Returns contact or person items: Id = contact_id or person_id, ExtraInfo = “contact_id”=contact_id, Type = “Contact” or “Person”, StyleHint = “stop” Stopped contacts are marked with stylehint = “stop” (but item.deleted = false) Implemented by the ContactAndPersonListFreetextSearchProvider class. The name of the MDO list is ‘contact_and_person_freetextsearch’.

Additional Attributes

Sample Request

Sample Code

Sample Output

  • “contact_and_person_freetextsearchheadings”
  • “contact_and_person_freetextsearchheadingswithallitem”
  • “contact_and_person_freetextsearchheadingswithallitemwithnoselection”
  • “contact_and_person_freetextsearchheadingswithnoselection”
  • “contact_and_person_freetextsearchwithallitem”
  • “contact_and_person_freetextsearchwithallitemwithnoselection”
  • “contact_and_person_freetextsearchwithnoselection”