How To / General

Data mapping custom fields

More
6 years 5 months ago #21 by FeetFirst
Replied by FeetFirst on topic Data mapping custom fields
Hi Antonio, hope you had a good weekend. I did as you suggested and over the weekend also had an additional 12 group members added to the site so had plenty to keep an eye on.

All group members added over the weekend have not yet mapped the custom field data to Moodle yet. Some have logged into the main website, some have participated in courses in Moodle and none of the user actions have triggered the custom field to map.

I subscribed 2 new users into a group and they also did not map. I then clicked update profile on the website side and the data did map across. Interestingly it didn't then update into to cohort until I also clicked update profile on the Moodle side.

However, I have found that if I add the data manually to the custom field on the Joomla side that it all maps across perfectly within minutes just as it did with community builder.

I think it must be something to do with the type of data that is in the custom field? If I type it in its perfect. Where the data is created by the Membership pro plugin it doesn't trigger straight away. If someone updates their profile (which users have no need to do as there is nothing to update) it maps.

And then last week after a few days something (maybe a weekly scheduled task in Moodle?) seemed to map them all over at the same time.

If you have any ideas or suggestions I would be grateful. If there is anything helpful I can go back to ask Membership Pro let me know.

Tracey

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #22 by Antonio Durán
Replied by Antonio Durán on topic Data mapping custom fields
Hi Tracey.

Please send the new plugin by email so I can take a quick look.

The issue is probably as I said: plugin is storing the data in the user field, but not triggering user updated event.

> Interestingly it didn't then update into to cohort until I also clicked update profile on the Moodle side.

I don't remember how you had this working: what makes the user enroled into cohort?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #23 by FeetFirst
Replied by FeetFirst on topic Data mapping custom fields
Fab, I've just sent an email re the plugin.

The enrolling into a cohort is a plugin on the Moodle side which takes the data and auto enrols into cohorts and then individual groups which mean that my group admins can view their participants only on each course.

Tracey

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #24 by Antonio Durán
Replied by Antonio Durán on topic Data mapping custom fields
> which takes the data and auto enrols into cohorts

when does it takes the data? It is a cron, or an event driven plugin? If you send it too I could know.

Please Log in or Create an account to join the conversation.