Quantcast
Channel: Planet Plone - Where Developers And Integrators Write
Viewing all articles
Browse latest Browse all 3535

UW Oshkosh How-To's: How to use PloneFormGen with LDAP attributes at UW Oshkosh

$
0
0

* Recently modified for the new NetID login.

Here are override expressions you can use with PloneFormGen string fields:

python: member.getProperty('XXX', None) 

where for XXX put in

  • fullname
  • displayname
  • email
  • firstname
  • lastname
  • location
  • mailUserStatus (no longer exists)
  • people (formerly ou)
  • phone
  • department (formerly uwodepartmentassoc)
  • uwomailstop (no longer exists)
  • eduPersonAffiliation
  • eduPersonPrimaryAffiliation

 

In my case the values I get include:

  • mailUserStatus = "Active"
  • ou = "Administrative Computing"
  • uwodepartmentassoc = "Administrative Computing,3250,Information Technology,Dempsey Ad 305,8624"
  • uwomailstop = "Information Technology"
  • eduPersonAffiliation = "('staff',)"
  • eduPersonPrimaryAffiliation = "staff"
 

Viewing all articles
Browse latest Browse all 3535

Trending Articles