Intranet Software, Extranet Software, Corporate Intranets & Extranets
Translations of this page:

Creating a link to the phone list with the filter already defined

Users can define their own filter for the Phone List once they have arrived that the Phone List page. However, there may be occasions when you wish to link a user to the Phone list with a filter already pre-defined. Here are instructions on how to create a link to a Phone list that already contains a filter.

To show only the First Name in the Phone List

/intranet/people/phonelist.php?&fields[]=firstname

To show only the First name and Last Name in the Phone List

/intranet/people/phonelist.php?&fields[]=firstname&fields[]=surname

To show the following fields in the Phone list...

  • First Name
  • Last Name
  • Job Title
  • City
  • Landline
  • Mobile
  • Email Address

/intranet/people/phonelist.php?&fields[]=firstname&fields[]=surname&fields[]=job_title&fields[]=city&fields[]=landline&fields[]=mobile&fields[]=emailad

NB: The order of the fields will not define the order they appear in the list.

Full list of the default field names

  • fields[]=username
  • fields[]=firstname
  • fields[]=surname
  • fields[]=job_title
  • fields[]=city
  • fields[]=landline
  • fields[]=mobile
  • fields[]=emailad
  • fields[]=full_email
  • fields[]=pref_contact
  • fields[]=company
  • fields[]=work_location
  • fields[]=usercomments
  • fields[]=career
  • fields[]=interests
  • fields[]=role
  • fields[]=group
  • fields[]=ex_area_id
  • fields[]=name
  • fields[]=photo
  • fields[]=meta_usr_rank
  • fields[]=meta_profile_last_updated

Metadata fields can be called using their symbolic name prefixed with “meta_”

Example: Metadata field is called “car_reg”

Use: fields[]=meta_car_reg

 
help/people/phonelist_link_with_filter.txt · Last modified: 07/06/2011 04:49 by anthony
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki