I am new to Moodle. I apologize if I posted this question in the wrong topic. I am using Moodle 3.8. Currently it is installed on a stand-alone Win 10 computer using MySQL database. I am tasked with developing a corporate training program. Up to now, I have been creating lessons and quizzes to learn how Moodle works.
What I am trying to accomplish - I want to create lessons that are tailored to users' roles and specific buildings they are associated with. In the past, I have used MS Word to create a Mail Merge Templates. At run time, macros would fill in the specific fields that came from SQL Server tables. The resulting documents that were generated were for specific users with info in the fields that pertained to them.
My question - Is it possible to create lessons as a Mail Merge using fields from a SQL server table to be filled in after the user logs into the Moodle course site? Can I perform a SQL query after the user logs on to Moodle and then populate the lesson with the user's data? Also, is it possible to pull this information from SQL Server tables? I have read that Moodle did not work well with SQL Server in the past. Is this still the case?
Thank you for your time. I hope that this was written in a clear manner.