How To / General

Data mapping custom fields

More
6 years 6 months ago #11 by FeetFirst
Replied by FeetFirst on topic Data mapping custom fields
Hi Antonio, so far so good, I've successfully downloaded the plug in and can see my custom field ready to be mapped. The new custom field should fingers crossed be ready tomorrow as the Membership Pro team have built me a new plug in to populate the custom field. Its working well with current members but there is a glitch on new ones. Once that is fixed I'm ready to test it out. I have a couple of questions to ensure it goes as smoothly as possible.
When I disable the current Community Builder field mapping will the current data that has been mapped stay in Moodle profiles or will it disappear?
If it disappears, when I set up the new mapping from Joomla profile field to Moodle do I then need to click sync Joomla profiles in the user tab for the data to populate?
Back in August when we set up the same thing with Community Builder you needed to tweak the CB plugin to work with the SQL query. Just wondering if it could be a similar issue with the user fields plugin? (sorry just trying to pre-empt any issues).
Thanks . Tracey

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

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

Glad to know things are coming together.

> When I disable the current Community Builder field mapping will the current data that has been mapped stay in Moodle profiles or will it disappear?

Data will stay.

> ack in August when we set up the same thing with Community Builder you needed to tweak the CB plugin to work with the SQL query. Just wondering if it could be a similar issue with the user fields plugin?

No. In that case data was never populated in a field so Joomdle could read it directly, as plugin did before. That's why we needed to change it to use the API to get field values.
In this case, field will be populated by plugin (I guess when they selected their plan), so it is there as any other field. When a user updates his profile, this field will be mapped as any regular one.

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

More
6 years 5 months ago #13 by FeetFirst
Replied by FeetFirst on topic Data mapping custom fields
Data will stay.
> excellent, that will make testing less scary knowing current users will not be disrupted!

When a user updates his profile, this field will be mapped as any regular one.
> very few of my users ever look at their profile as it is the web content they are interested in and the site isn't social. Is updating the profile a trigger for mapping? It isn't currently with the CB mapping but I realise each plugin probably works slightly differently.

Tracey

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

More
6 years 5 months ago #14 by Antonio Durán
Replied by Antonio Durán on topic Data mapping custom fields
> It isn't currently with the CB mapping but I realise each plugin probably works slightly differently.

Yes, it is. However, user sync is triggered from several places, not only profile edit. If it worked before, my guess is that it should keep working now, although I can't be sure as I don't know the specifics.

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

More
6 years 5 months ago #15 by FeetFirst
Replied by FeetFirst on topic Data mapping custom fields
I will let you know how it goes shortly :)

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

More
6 years 5 months ago #16 by FeetFirst
Replied by FeetFirst on topic Data mapping custom fields
It all looks good with my test members, so will keep an eye for the rest of the day before uninstalling community builder. Thanks so much for your patience in answering all my questions. I really appreciate it!

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

More
6 years 5 months ago #17 by Antonio Durán
Replied by Antonio Durán on topic Data mapping custom fields
Great, thanks for the feedback.

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

More
6 years 5 months ago #18 by FeetFirst
Replied by FeetFirst on topic Data mapping custom fields
Hi Antonio, while my test members worked ok, actual group members being added over the last couple of days are not mapping. I've had 5 new group members added, 1 of them has mapped, the others have not. I've been watching to see whether it is due to certain actions triggering the mapping but 3 of the 5 have logged onto the website, so if logging on was the trigger I would expect to have seen 3 of them mapped.
I've tried syncing the new group members, thinking that might map the data over but it hasn't. I have all green ticks on my system check so that is ok. It is a bit of a puzzle as my test members worked.
I would be grateful if you had any thoughts or ideas.
Tracey

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

More
6 years 5 months ago #19 by FeetFirst
Replied by FeetFirst on topic Data mapping custom fields
Don't worry about this for the moment, I've had two brand new subscribers this morning, both for group plans. And now everyone has mapped over. Its almost as if the previous ones had got lost in the system somewhere and the new subscriptions triggered them somehow? I will keep watching with interest to see how and when the future new members map across. Hopefully, it was a bizarre glitch and all will be fine now. Tracey

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

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

Most probably the issues is that user sync event was not triggered in some cases.
So, I would test this:
- Create a new user and subscribe
- Check Moodle profile to see if field is mapped
- If it is not, go to Users in backend, open the user and save it
- Check Moodle profile again

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