Hi all,
I’ve found this interesting feature: Enabling Custom Course Settings.
This adds an “Other course settings” field in the course’s advance configuration.
There’s a brief description included in the PR that brought that feature into the platform:
This adds a field to the “advanced settings” page of each course that allows the user to store additional metadata about the course, in a JSON dictionary, without requiring updating the platform code.
The idea is that this field can hold metadata like “ID of the course in external system”, course difficulty, or other instance-specific metadata about the course that needs to be available to the theme, CRM software, a marketing site, ecommerce, or other external systems.
The new field is protected by a feature flag which is False by default, so it won’t show up in Studio unless you enable the flag.
Hi Dave!
Thanks for your response!
I’ve seen that also in the docs… however I don’t know how to retrieve that information if I want to use it. Do you know where is it stored, and how to query it?
I’m using Tutor 13.2.2 e Open edX maple.3 and enable the feature ENABLE_OTHER_COURSE_SETTINGS in CMS. The idea is to have an integration using the REST API, but I couldn’t find an endpoint to get this information.
I tried this and it works in general. But, everytime I change the content of the other_course_settings field in an Open Edx Course (via the browser) the other_course_settings field disappears completely from the API result! In my experience for a few days, then it shows up with the new information. That’s very weird! Do you have a hint for me how to avoid this?
Hi @resa,
It’s strange… I’ve tested it and noticed a few seconds until the change is reflected in the API output but not days as you mention, or having the field disappeared. May be a cache issue?
thanks a lot for your answer. That’s what we thought, too, at first. But, when I enter something in the “other course settings” field via the browser, the field disappears at once in the API result. If it would be a cache issue, I would see the old value for a while. We use the Version olive, maybe that could be a problem?