Where is the SCORM endpoint defined? | Community
Skip to main content
prestonc9992104
Level 2
April 18, 2018
Solved

Where is the SCORM endpoint defined?

  • April 18, 2018
  • 10 replies
  • 2071 views

We are having issues launching SCORM resources.  When we click the play icon over the content to start it, nothing happens because of a java script error that says "Unable to get property 'scormendpoint' of undefined or null reference".  When and where is the 'scormendpoint' supposed to be set?

I reviewed the steps for setting up and enabling SCORM in AEM and I did not find a 'scorm endpoint' mentioned.  And in all my experience with SCORM, the import package of the content never needs an endpoint defined in its imsmanifest.xml because the content will be told any endpoints it needs by the scorm player.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunwarsaluja

When you upload a SCORM resource, 'DAM Update Scorm Asset' kicks into extract the metadata from it and set properties like scormendpoint. So either the scorm resource archive isn't or right format or structure or the workflow never ran.

You should try reupload another scorm resource and look at the logs to understand what's happening in the background to get more clarity.

10 replies

smacdonald2008
Level 10
April 18, 2018

Please post the doc topic you are following. I am unclear what exactly you are trying to accomplish.

smacdonald2008
Level 10
April 18, 2018

Is this the doc topic you are referring to ?

Enablement Resources Console

prestonc9992104
Level 2
April 18, 2018

When I referred to reviewing the steps for setting up SCORM in AEM, yes that doc topic and Configuring Enablement Features.

As for what am I trying to accomplish, I'm trying to learn when and where is a "scormendpoint" supposed to be defined, and what should it look like.  Our instance of AEM isn't launching the scorm resources because it cannot find a "scormendpoint" property at the time of launching the content.

smacdonald2008
Level 10
April 18, 2018

Are you experiencing differences between what is documented and what you see in the software. I mean are procedures not accurate or there are missing steps or the docs not accurate?

If so - we will get the Eng team here and log a bug.

prestonc9992104
Level 2
April 18, 2018

I'm not having an issue with the documentation.

I'm having an issue in the runtime environment because the system can't find a "scormendpoint" property it expects to be there.

I'm trying to see if anyone else has encountered this issue and can help me resolve it, otherwise I will submit a Day Care ticket.

If you feel this is an issue that I should go directly to Day Care for, I will enter a ticket now.

smacdonald2008
Level 10
April 18, 2018

If there is a Solid JS framework that provides this functionality, then i would look at using that. This is not a common use case - so that is why you will not find any community articles on how to do this with AEM.

prestonc9992104
Level 2
April 18, 2018

Okay, I will work with Day Care on this issue.

Thanks for your input.

KunwarsalujaAdobe EmployeeAccepted solution
Adobe Employee
April 18, 2018

When you upload a SCORM resource, 'DAM Update Scorm Asset' kicks into extract the metadata from it and set properties like scormendpoint. So either the scorm resource archive isn't or right format or structure or the workflow never ran.

You should try reupload another scorm resource and look at the logs to understand what's happening in the background to get more clarity.

April 19, 2018

Whenever you create a scorm enablement resource a listener consumes the event and scorm engine reads the imsmanifest file and other properties of scorm resource to create courseId and launch url for the same. Here scormendpoint refers to launch url. You can find the property as below sample resource path:

Sample

Path : /content/sites/{sitename}/resources/{language}/{resourceId}/se_assets/se_primary

Property: scormendpoint = /content/communities/scorm/defaultui/launch.jsp?registration=CourseId|774975667!userName|$(userId)!tenantId|on-prem-tenant!siteId|enable-0uahk&configuration=resourceId|resource_1523938413906!assetId|enable-0uahk/resource-assets/IP_2015_splitnorm_v4p0.zip

Please try to restart com.adobe.cq.social.cq-social-scorm-impl bundle on author then check once again. Also try to check logs for package filter com.adobe.cq.social.scorm

prestonc9992104
Level 2
April 19, 2018

The error logs showed that the system is unable to read the imsmanifest.xml.  So I am working that angle.

Thanks for your input.