How To / General

Community Builder profile fields not syncing with Moodle

  • Web Buster UK Ltd
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week ago - 2 months 1 week ago #1 by Web Buster UK Ltd
Hi Antonio. We've just migrated onto Joomla 5 with Moodle 5. We created a new profile field in Joomla's Community Builder, and mapped it to "institution" in Moodle. However saving it on Joomla frontend/backend seems to empty the corresponding field on Moodle.
  • If we map any custom CB profile field to any Moodle field, it empties that Moodle field as well.

  • The "core" CB fields (name, email, avatar, etc) sync across to Moodle fine.

  • Moodle fields sync to any Joomla/CB profile fine as well

User hooks, Joomdlehooks and Joomdleprofile Community Builder are enabled on joomla, "Enable as secondary data source" and "Use CB API" both set to Yes.

System Check all green.


What else do we need to check? Thanks.
Last edit: 2 months 1 week ago by Web Buster UK Ltd.

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

  • Web Buster UK Ltd
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week ago #2 by Web Buster UK Ltd
Replied by Web Buster UK Ltd on topic Community Builder profile fields not syncing with Moodle
Okay after many trials and errors, we found the solution. Turning off "Use CB API" fixed it.

What is "Use CB API" for and why does it break the mapping of custom CB profile fields?

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

More
2 months 6 days ago #3 by Antonio Durán
Glad to know that you fixed it.

> What is "Use CB API" for and why does it break the mapping of custom CB profile fields?

This is a setting I had to add because some fields worked fine with it enabled, while other would only work with it disabled.... I cannot remember the specifics now, sorry.

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