Symptom
- In a SAC story with 2 pages, you want to copy the entries of an InputControl from page 1 to page 2 using a script variable.
- The two filters on page 1 and 2 initially have the same entries and filter the same dimension. Although the value (Null) is selected in InputControl 1 on page 1, it is not copied to InputControl 2 on page 2.
Environment
SAP Analytics Cloud 1.0;
Reproducing the Issue
- To transfer the filter entries from Input Control 1 to Filter Control 2, the filter entries of the Input Control 1 are first transferred to a script variable using the function "getActiveSelectedMembers()". This function is executed by the "onSelect" event of the Input Control 1.
- The filter entries are transferred to Input Control 2 on page 2 using the "setSelectedMembers()" API.
- Although the value (Null) is selected in InputControl 1 on page 1, it is not copied to InputControl 2 on page 2.
Cause
This is a known limitation for setSelectedMembers() API . Due to technical limitations, the null or "no value" can't be set for now.
This limitation applies to the setSelectedMembersWithUnbooked API too.
Resolution
Our development team tries to find a way to overcome the limitation but it takes time.
Keywords
NULL , setSelectedMembers() , KBA , LOD-ANA-UNS-DVP , Unified Story Developer Issues , LOD-ANA-AD , Analytics Designer , Problem
Product
SAP Analytics Cloud 1.0