SAP Knowledge Base Article - Public

3469160 - SetVariableValue.loadDescriptions does not work in Optimized Story (story 2.0).

Symptom

Applying the following scripts in the story:

  • Application.getFileDataSource().SetVariableValue(paramter 1, paramter 2, {loadDescriptions:true});
  • Widget.getDataSource().SetVariableValue(paramter 1, paramter 2, {loadDescriptions:true});

Notice the variables are still displaying IDs instead of descriptions.

Environment

SAP Analytics Cloud 2024.

Reproducing the Issue

  1. Applying scripts: 
    • Application.getFileDataSource().SetVariableValue(paramter 1, paramter 2, {loadDescriptions:true});
    • Widget.getDataSource().SetVariableValue(paramter 1, paramter 2, {loadDescriptions:true});
  2. Open the prompt window.
  3. IDs are displayed.

Cause

This is currently a limitation in Optimized Story.

Resolution

This is currently a limitation in Optimized Story.

The same scripts works in Classic Analytics Application.

See Also

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

Keywords

unified story, optimized view, ODE, OSE, Optimized Story Experience, Optimized Designed Experience, API, prompt, popup, chart, table, , KBA , LOD-ANA-UNS-DVP , Unified Story Developer Issues , LOD-ANA-AD , Analytics Designer , Problem

Product

SAP Analytics Cloud 1.0