Symptom
- Using Navigation APIs.
- NavigationUtils.createStoryUrl does not open a story or pass parameter values after converting an Analytical Application to an optimized story.
- Need to pass parameter values
- When the URL is accessed, a new optimized story is opened; however, the parameter values are not passed. Other times, there is no response, and the story does not open.
Environment
SAP Analytics Cloud
Reproducing the Issue
- Open a story using NavigationUtils.createStoryUrl.
- There is no response, or the story opens without parameter values 1being passed.
Cause
The code syntax is incorrect.
Resolution
- The syntax is: NavigationUtils.createStoryUrl(storyId: string, pageId: string, parameters?: UrlParameter | UrlParameter[])
- Ensure storyId and pageId are correct. They should be uuid (example:"a31b3cd2-f023-4b22-ac46-3e90b81c8e7a").
- For the usage of url parameter, you can refer to Filter Parameters section in SAP Analytics Cloud URL API
Keywords
NavigationUtils Refused to load the script , KBA , LOD-ANA-AD-INF , Analytics Designer Infrastructure , LOD-ANA-PL , Planning , LOD-ANA-AD , Analytics Designer , Problem
Product
SAP Analytics Cloud 1.0