SAP Knowledge Base Article - Public

3762949 - SAC Api Errormessages forbidSetActivePageInvisible

Symptom

  • After QRC2 2026, an error message indicates that the API forbidSetActivePageInvisible is not working when having the API Application.setPageVisible(I,false); is using OnInitialization() event on loading story:

    api.errormessages.forbidSetActivePageInvisible
    Correlation ID: 25023274243748958813329356159041

  • The API should be triggered on a page that is initially hidden when the story starts.

Environment

  • SAP Analytics Cloud 2026.8.6

Cause

Page I is the landing(first) page of the story, in OnInitialization event of page I, with API "Application.setPageVisible(I, false)", it is called immediately after "Application.setActivePage(Page_2)".
In implementation of setPageVisible, selector StoryScriptingVirtualInterface.scripting.v1.getActivePageId returned page id value of page I (it is expected to be page id of page Page_2, because setActivePage(Page_2) switched active page to Page_2). So the error is displayed. 

Resolution

The fix is included with Wave 2026.8.13 Patch SAC version. (deployment on 1srt July 2026)

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

KBA , LOD-ANA-LWV , SAC Lite Viewer , Problem

Product

SAP Analytics Cloud all versions