- Posts: 253
Social Extensions Integration
CB's Field Data Mapping
- saman سامان
-
Topic Author
- Offline
- Elite Member
-
- samansamani2[at]yahoo.com
Less
More
8 years 4 weeks ago #1
by saman سامان
CB's Field Data Mapping was created by saman سامان
If we mapping :
For example, consider this scenario :
Joomdle Mappings list :
assume the above fields have these values in the following tables :
Now we modify the user data from the Joomla's side with the following values :
- system field (like firstname and lastname and etc) of the CB (additional data source for user profile integration) to Moodle's original field
- and CB new field whose name begins with "cb_" to Moodle's custom field
For example, consider this scenario :
Joomdle Mappings list :
| Joomla component | Joomla field | Moodle field |
| cb | firstname | firstname |
| cb | cb_father_name | father_name |
assume the above fields have these values in the following tables :
- first name = a
- last name = b
- father name = c
- `joomla_users` table :
id name 1 a b - `joomla_joomdle_field_mappings` table :
id joomla_app joomla_field moodle_field 1 cb firstname firstname 2 cb cb_father_name cf_1 - `joomla_comprofiler` table :
id firstname lastname cb_father_name 1 a b c - `moodle_user` table :
id auth firstname lastname 1 joomdle a b - `moodle_user_info_field` table :
id shortname name datatype 1 fathername father_name text - `moodle_user_info_data` table :
id userid fieldid data 1 1 1 c
Now we modify the user data from the Joomla's side with the following values :
- first name = aa
- last name = bb
- father name = cc
- `joomla_users` table :
id name 1 aa bb - `joomla_comprofiler` table :
id firstname lastname cb_father_name 1 aa bb c - `moodle_user` table :
id auth firstname lastname 1 joomdle aa bb - `moodle_user_info_data` table :
id userid fieldid data 1 1 1 cc
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
8 years 4 weeks ago #2
by Antonio Durán
Replied by Antonio Durán on topic CB's Field Data Mapping
Hi.
I replicated the described setup locally, but could not reproduce the problem: data is stored in comprofiler table just fine.
So, problem must be coming from something that it's different between our testing enviroments.
Please send email with info on how to check this on your server, and I will try to take a look.
I replicated the described setup locally, but could not reproduce the problem: data is stored in comprofiler table just fine.
So, problem must be coming from something that it's different between our testing enviroments.
Please send email with info on how to check this on your server, and I will try to take a look.
Please Log in or Create an account to join the conversation.