Uploading Self Created Fields of User in CSV

Uploading Self Created Fields of User in CSV

by M Adil Mazhar -
Number of replies: 7

I have created a new field i.e. shortname = "gender" and Fullname= "Gender".

Now I'm going to upload the students using CSV file and wanna upload their gender as well besides them using the same file. But after uploading, moodle doesn't recognizes field name "gender" and give me error. What will be the field name of such self created Fields?

Average of ratings: -
In reply to M Adil Mazhar

Re: Uploading Self Created Fields of User in CSV

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

You are meant to name the field profile_field_gender but, that being said, I haven't always been able to get that to work!

In reply to Emma Richardson

Re: Uploading Self Created Fields of User in CSV

by M Adil Mazhar -

Yeah, I have created a new field of gender. Now i wanna know the field name so that can upload the gender besides users in csv format.

In reply to M Adil Mazhar

Re: Uploading Self Created Fields of User in CSV

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

As I wrote above:

profile_field_gender

Average of ratings: Useful (1)
In reply to Emma Richardson

Re: Uploading Self Created Fields of User in CSV

by M Adil Mazhar -

ohkk Thankss!! Hope it will work! 

will try and then let u inform regarding results.

In reply to Emma Richardson

Re: Uploading Self Created Fields of User in CSV

by M Adil Mazhar -

Yesss that worked!

Thanks a lot!