Best practice forum (Archived)

Map LDAP values to Custom User Profile Fields

 
? ?
Map LDAP values to Custom User Profile Fields
על ידי ? ? בתאריך 20/02/2012, 19:56
 

Hi,

Is it possible to map LDAP values to custom user profile fields?

We have created a custom user profile field 'Rank', which is needed for operational police members. Currently we are mapping user's rank values into the default ID Number field - but this default field name doesn't accurately reflect the data values.

I had a look at the LDAP server settings within Totara and the custom user profile field created doesn't display as an option under the Data Mapping section.

Would it be possible to map this data directly into a custom user profile 'Rank' field instead?

Alternatively can we alter the label of User ID Number to be displayed as Rank on the site?

thanks,

-Ira

 

Craig Eves
Re: Map LDAP values to Custom User Profile Fields
על ידי Craig Eves (Totara Support) בתאריך 21/02/2012, 17:00
קבוצה Totara

Hi Ira

Altering the label sounds the easiest option - does the Rank field hold text or numeric data.  I assume the idnumber is a numeric field - it would be best to use a field that is the same data type.

A  developer would need to estimate how difficult changing the mapping of data directly to  the 'Rank' field would be.

Craig

? ?
Re: Map LDAP values to Custom User Profile Fields
על ידי ? ? בתאריך 21/02/2012, 19:07
 

Hi,

Currently have text based rank data being mapped to User ID Number, which is working correctly eg.

ID Number:  S.SGT / LSC/ VPSG-3

So it appears that the User ID Number field is not restricted to numerical data only.

Can I alter the label using the Language Editing settings in Totara?

i'm thinking this is more likely an interim solution for us at present, as we currently don't have the HR Orginisational Heirachy feed linked ot Totara with user's Positions (Ranks). With the orgnisational heirachy and positions mapped, we could use the User's Position data for custom reports, etc...

- Ira

 

 

Craig Eves
Re: Map LDAP values to Custom User Profile Fields
על ידי Craig Eves (Totara Support) בתאריך 21/02/2012, 19:38
קבוצה Totara

Hi Ira

Yes you could substitute the words using the language settings - I am not sure what files the ID Number would appear in.

There is an external database (Position assignments) under enrolment plugins which allows mapping of positions to an external database - does this sound  suitable?

Craig

פרסום זה הוסר
21/02/2012, 19:54
פרסום זה הוסר ואינו זמין יותר.
? ?
Re: Map LDAP values to Custom User Profile Fields
על ידי ? ? בתאריך 23/02/2012, 14:35
 

Hi Alastair,

I changed the language string of 'ID Number' to 'User Rank' in the moodle.php language file. Which has updated the user profile pages ok.

The custom reports we have created still display the "User ID" string. Just wondering if I can do the same by changing the language file for User ID Number in the custom reports/report builder?

If possible, which language file is it contained in?

thanks,

-Ira

 

פרסום זה הוסר
23/02/2012, 18:32
פרסום זה הוסר ואינו זמין יותר.
? ?
Re: Map LDAP values to Custom User Profile Fields
על ידי ? ? בתאריך 26/02/2012, 21:02
 

Hi,

I'm refering to "User ID Number" default user profile field, a little confusing I know...

I've changed the column heder text now to "User's Rank" using the report builder settings and this seems to met what we wanted for know.

thanks for the help

-Ira

? ?
Re: Map LDAP values to Custom User Profile Fields
על ידי ? ? בתאריך 20/03/2012, 22:49
 

Hi,

Is there an easy way to reword the labels/lnaguage used in the custom reporting pages? User's are still getting confused with the defualt label's for:

  • User ID Number (Renamed "User's Rank")
  • Institution (Renamed "User's Department")
  • Department (Renamed "User's Work Unit")
I have renamed the column headings, but it is confusing as the report filter options use the original names for these fields...
Also when selecting fields for columns in the custom reports it is confusing.
Am I able to edit these field labels using the Language editing settings in Moodle/Totara?
thanks,
-Ira
פרסום זה הוסר
21/03/2012, 14:00
פרסום זה הוסר ואינו זמין יותר.
? ?
Re: Map LDAP values to Custom User Profile Fields
על ידי ? ? בתאריך 26/03/2012, 17:21
 

Hi Alastair,

A function to rename the filters as well as the column headings would be a good feature for the custom reporting.

Which language file contains the strings for:

  • user id number
  • user department
  • user institution

in the custom report pages?

thanks,

-Ira

 

 

פרסום זה הוסר
26/03/2012, 18:33
פרסום זה הוסר ואינו זמין יותר.
Simon Coggins
Re: Map LDAP values to Custom User Profile Fields
על ידי Simon Coggins בתאריך 5/11/2013, 18:56
קבוצה Totara

Just to let you know that as of Totara 2.5 you can now customise filter names the same way as you can for column names.

Simon

Austen Sinclair
Re: Map LDAP values to Custom User Profile Fields
על ידי Austen Sinclair בתאריך 22/02/2012, 12:45
קבוצה Partnersקבוצה TXP Site Administratorקבוצה V18 Program Complete

Hi Ira

We had a similar problem where our LDAP records didn't contain our required organisational data but did provide the Cost Centre Code of where the staff member was last paid from - from which we could work out their organisation position. 

Our IT support provider built a script / interface that parsed this LDAP field overnight and added in a new Totara user profile field - screen shot attached.

We've been using this for a number of years and while we now have direct sync to the HRMIS data we still rely on the org data extracted via the payroll Cost Centre as they tend to be more accurate!

We've also added two additional versions of the same to:

1, map groups of Cost Centres to a central Cost Center for that's used for that business areas training budget.

2, map groups of Cost Centres to form Development Groups - to which we associate development activities in Development Plans.  E.g. we have two areas involved in collections and they have very similar training / development needs but are very separate in our business structure.

Happy to share, if this is of any use to you.

Cheers
Austen