Is there anyway we can modify .js code to send email with student's score and answers to an admin email? Any solutions and samle code are welcomed! We are on Articulate Quizmaker '09.
Thanks! Yes, that is exactly what I need. I searched the forums and found the article. But follow the instruction but without luck. When I clicked the send mail button and I got blank screen. I tried to look others posting and see if I can find clue.
Thanks! Yes, that is exactly what I need. I searched the forums and found the article. But follow the instruction but without luck. When I clicked the send mail button and I got blank screen. I tried to look others posting and see if I can find clue.
It looks like our server doesn't support PHPsendmail functionality. Our LMS is PeopleSoft. Anysuggestion is appreciated.
Found out that PHP is not installed on our web server. Since our LMS is PeopleSoft, using IScript to catch student's interaction data works like charm. We can also store the data into the database for reporting instead of send email to admin.
In regard to you post above, can you please help how IScript can be used to capture students interaction? Is this an delivered/custom IScript in PeopleSoft side or some script in the course vendor file? We are implementing PeopleSoft ELM 9.1 and need to capture students interaction (questions and answers attempted). We are struggling to get any data in ELM database. Your inputs will be grateful.
We are on ELM9.0 and SCORM2.0. There is no delivered code in PeopleSoft to track student interaction data. PeopleSoft API only captures student's information like Student_id, Student_name, credit, Lesson_location, Lesson_status, score, Total_time. I was trying to modify API code but without luck. Then I turn to vendor’s code. Here is what I did and hope it helps.
1.ModifiedSCORM package quiz.js code (function EmailResults) to pass the variables thru the FORM. strLineData and g_oQuizResults.strTitle are the data we need at this moment but I code more than that in case we need other information later
var sHTML = "";
var sURL = "Your PS domain/psc/elmtest/EMPLOYEE/ELM/s/WEBLIB_CK_GEN.LM_IMP_CRS_SCORM.FieldFormula.IScript_scorm?";
3.On PeopleSoft side I created record CK_INTERACT_TRK to tracking all the interaction data
4.I created IScript function on WEBLIB_CK_GEN.LM_IMP_CRS_SCORM to get parameter from FORM post. Using array to read each line of the questions and answers then loop thru to insert the data into the table
5.Created Portal registry for IScript function
6.Grant all user security access to IScript function
Hello William. Hope you are doing well and sorry to bother you!
I have done as per your steps above. I have successfully completed step 1,2 and 3 as mentioned by you above. That is, 1) ModifiedSCORM package quiz.js code , 2.) Modified SCORM package quiz.js code 3) created record to tracking all the interaction data.
I am now struck in step 4) < createion of IScript function on to get parameter from FORM post. Using array to read each line of the questions and answers then loop thru to insert the data into the table>
Is there any reference/documents or your peoplesoft technical design documents I could refer and replicate at my end so that I can store these interactions data in database?
8 Replies
Hi William,
Is this what you want?
http://www.articulate.com/forums/articulate-quizmaker/8169-articulate-09-email-results-tutorial-php.html
Cheers,
Sarah.
Hi Sarah,
Thanks! Yes, that is exactly what I need. I searched the forums and found the article. But follow the instruction but without luck. When I clicked the send mail button and I got blank screen. I tried to look others posting and see if I can find clue.
It looks like our server doesn't support PHPsendmail functionality. Our LMS is PeopleSoft. Anysuggestion is appreciated.
Found out that PHP is not installed on our web server. Since our LMS is PeopleSoft, using IScript to catch student's interaction data works like charm. We can also store the data into the database for reporting instead of send email to admin.
Hi William
In regard to you post above, can you please help how IScript can be used to capture students interaction? Is this an delivered/custom IScript in PeopleSoft side or some script in the course vendor file? We are implementing PeopleSoft ELM 9.1 and need to capture students interaction (questions and answers attempted). We are struggling to get any data in ELM database. Your inputs will be grateful.
Many Thanks
Ratish
Hi Ratish,
We are on ELM9.0 and SCORM2.0. There is no delivered code in PeopleSoft to track student interaction data. PeopleSoft API only captures student's information like Student_id, Student_name, credit, Lesson_location, Lesson_status, score, Total_time. I was trying to modify API code but without luck. Then I turn to vendor’s code. Here is what I did and hope it helps.
1. Modified SCORM package quiz.js code (function EmailResults) to pass the variables thru the FORM. strLineData and g_oQuizResults.strTitle are the data we need at this moment but I code more than that in case we need other information later
var sHTML = "";
var sURL = "Your PS domain/psc/elmtest/EMPLOYEE/ELM/s/WEBLIB_CK_GEN.LM_IMP_CRS_SCORM.FieldFormula.IScript_scorm?";
sHTML += '';
sHTML += '';
sHTML += '';
sHTML += '';
sHTML += '';
sHTML += '';
sHTML += '';
sHTML += '
';
sHTML += '';
document.getElementById("divEmail").innerHTML = sHTML;
document.getElementById("formQuiz").submit();
2. Modified SCORM package quiz.js code (function player_DoFSCommand) to call EmailResults when learner click ‘Finish’ button.
case "CC_ClosePlayer":
if (!g_bLMS)
{
if (FF)
{
setTimeout("CloseWindow()", 100);
}
else
{
CloseWindow();
}
}
EmailResults(arrArgs[6]);
break;
3. On PeopleSoft side I created record CK_INTERACT_TRK to tracking all the interaction data
4. I created IScript function on WEBLIB_CK_GEN.LM_IMP_CRS_SCORM to get parameter from FORM post. Using array to read each line of the questions and answers then loop thru to insert the data into the table
5. Created Portal registry for IScript function
6. Grant all user security access to IScript function
Thanks William. Sounds complex
I have send you a message asking for few queries :) will be glad if you could reply as n when you find time.
Many Thanks
Hello William. Hope you are doing well and sorry to bother you!
I have done as per your steps above. I have successfully completed step 1,2 and 3 as mentioned by you above. That is, 1) Modified SCORM package quiz.js code , 2.) Modified SCORM package quiz.js code 3) created record to tracking all the interaction data.
I am now struck in step 4) < createion of IScript function on to get parameter from FORM post. Using array to read each line of the questions and answers then loop thru to insert the data into the table>
Is there any reference/documents or your peoplesoft technical design documents I could refer and replicate at my end so that I can store these interactions data in database?
Your help will be grateful.
Many Thanks.
This discussion is closed. You can start a new discussion or contact Articulate Support.