SAP Knowledge Base Article - Public

3526099 - How to Retrieve userInfo for Verification

Symptom

  • No user info is found in session storage if course is accessed from to-do list/assignment card in Bizx homepage, or from new learning experience
  • Due to the absence of userInfo in session storage, verification at the end of the course might fail, but the issue does not occur when the same course is launched from the legacy learning homepage

Environment

SAP SuccessFactors Learning

Cause

The legacy component, sap.sf.surj.shell.util.Util.fetchPageMetaData, which writes the userInfo data into session storage is not used in new learning experience homepage.

New method to fetch page meta data doesn't write the data into session storage to enhance security.

A new global variable, window.pageHeaderJsonData, is available for the data, the userInfo object can be obtained from it.

Resolution

Content vendor need to redesign the content so that userInfo is read from the global variable, window.pageHeaderJsonData.

Keywords

User info, session storage, course access, to-do card, Bizx homepage, learning plan, user data submission, global variable, window.pageHeaderJsonData, userInfo object. , KBA , LOD-SF-LMS-CNT , Content , How To

Product

SAP SuccessFactors Learning all versions