ctm.openQuiz

The method of JS Bridge functionality is intended to launch a quiz and then attach quiz statistics to a record.

Query format

ctm.openQuiz(quiz, RefererId, Reload)
  • quiz is the ID or the API name of a Quiz record to open.

  • RefererId is the ID of a record to attach quiz statistics (optional attribute).

  • Reload is responsible for the necessity of reloading the current slide when closing the native window with the quiz (optional attribute).

Query Example

ctm.openQuiz({"quiz": "Inner_Employees_quiz", "RefererId": "{!Activity__c.Id}", reload:false}, queryHandler);
``