SAP Knowledge Base Article - Public

3624666 - Story popup does not load at onInitialization consistently in SAP Analytics Cloud (SAC)

Symptom

  • Story popup not showing
  • The story popup sometimes does not appear when the story is first opened, but it does appear after refreshing the browser once or multiple times.

 

Environment

SAP Analytics Cloud

Reproducing the Issue

 

  1. Create a story that opens a story popup via the onInitialization script. 
  2. View the story and notice the popup window does not show up right away.
  3. Refresh the browser, and it now shows the popup.

 

Cause

 Race condition in the onInitialization script.

 

Resolution

  1. Add a Timer Widget. 
  2. In the onInitialization script, start the timer to delay the call to the popup.
  3. In the Timer Widget's onTimeout event, open the popup.  

 

 

Keywords

SAC, story popup , KBA , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , Problem

Product

SAP Analytics Cloud 1.0