Dear Moodle Communities,
I have a problem using Moodle Web Service : core_course_update_courses, i want to update custom course field data with type : Text Area custom field. I test run this WS in postman.
I already tried this parameters :
WS Function : core_course_update_courses
courses[0][id] : (id courses)
courses[0][customfields][0][shortname] : bcld_learningobjective
courses[0][customfields][0][value] : This is learning objectives.
This type of custom fields : bcld_learningobjective , is text area. If i changed the type of custom field to short text and i called again the web services and data will updated.
Thank you Moodle Communities.
Field customfield (Text Area) on WS : core_course_update_courses
by Arief Arfiansyah -
Number of replies: 4
In reply to Arief Arfiansyah
Re: Field customfield (Text Area) on WS : core_course_update_courses
by Arief Arfiansyah -
In reply to Arief Arfiansyah
Re: Field customfield (Text Area) on WS : core_course_update_courses
by Arief Arfiansyah -
Upp more, need helps
In reply to Arief Arfiansyah
Re: Field customfield (Text Area) on WS : core_course_update_courses
by Arief Arfiansyah -
Solved, there is a bugs on moodle code and i follow this article, in case you have same problem like me.
https://tracker.moodle.org/browse/MDL-70058
https://tracker.moodle.org/browse/MDL-70058
In reply to Arief Arfiansyah
Re: Field customfield (Text Area) on WS : core_course_update_courses
by Dominique Palumbo -
Hi,
Just to tell you thank you.
It was hard to me to find how to provide customfields to webservices.
Have a good day.
Dominique.
Just to tell you thank you.
It was hard to me to find how to provide customfields to webservices.
Have a good day.
Dominique.