Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

$$CPQuizInfoStudentName$$ and $$CPInfoCurrentDateString$$ show zero in LMS

Community Beginner ,
Jan 05, 2016 Jan 05, 2016

I am using Captivate 9, and standard system variables to pull in the username and date from SCORM CLOUD (LMS)--but I see big fat zeros. 

$$CPQuizInfoStudentName$$

  $$CPInfoCurrentDateString$$

I talked to the SCORM cloud people, and through the debug log, they verified that the username is getting sent.  (The Date they could not verify).  So something in my Captivate file is causing this.  Anyone seen this before? Any troubleshooting ideas would be really appreciated.  Thanks

zero name and date.png

700
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 05, 2016 Jan 05, 2016

Be careful: variables are case sensitive, the variables you mentioned do not exist.

cpQuizInfoStudentName and cpQuizInfoStudentID are NOT system variables but user variables. They were meant to be used with an internal server. In some LMS's they get also their value from the login account, but in all LMS's. An easy way to populate them is to ask the learner for their name, using a Text Entry Box and associate cpQuizInfoStudentName as variable with that TEB. That variable is indeed used on the Cer

...
Translate
Community Beginner ,
Jan 05, 2016 Jan 05, 2016

Here are the logs from the SCORM CLOUD PREVIEW:

109:Tue Jan 05 2016 13:24:25 GMT-0500 (Eastern Standard Time) - Call LMSGetValue
110:Tue Jan 05 2016 13:24:25 GMT-0500 (Eastern Standard Time) - strResult=A1A%24nP1A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP1A%24nPDXCPInfoCurrentDateStringBAVCPQuizInfoStudentNameBAQcpQuizHandledAllBA
111:Tue Jan 05 2016 13:24:25 GMT-0500 (Eastern Standard Time) - intSCORMError=0
112:Tue Jan 05 2016 13:24:25 GMT-0500 (Eastern Standard Time) - Returning A1A%24nP1A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP1A%24nPDXCPInfoCurrentDateStringBAVCPQuizInfoStudentNameBAQcpQuizHandledAllBA

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2016 Jan 05, 2016

Be careful: variables are case sensitive, the variables you mentioned do not exist.

cpQuizInfoStudentName and cpQuizInfoStudentID are NOT system variables but user variables. They were meant to be used with an internal server. In some LMS's they get also their value from the login account, but in all LMS's. An easy way to populate them is to ask the learner for their name, using a Text Entry Box and associate cpQuizInfoStudentName as variable with that TEB. That variable is indeed used on the Certificate widgets.

cpInfoCurrentDateString is a system variable, it will turn the system date into a string. I don't understand why you need to send this to a LMS that is already registering all dates for each access of courses? It can be used in a text field, like the one on the Certificate. You can export values of variables with JS.

You can find a complete list (descriptive) with system variables in my blog post: System variables in Captivate 8/9 - Captivate blog

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 05, 2016 Jan 05, 2016
LATEST

Thank you, that was the issue. I really appreciate you taking the time to answer my post.

We can't allow users to type in their names due to strict security policies--so we have to pull it from the LMS directly.The date string variable does pull in the date for us to display directly in a text box as well. It may not be the intended purpose but it works well for us.  Thanks again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources