SAP Knowledge Base Article - Public

3575761 - SAC Bookmark API not loading story filter

Symptom

  • When using the Bookmark Script API in an optimized story, it works so far good, except that when loading a bookmark with story filters, it doesn't load the story filter for values set to 'All'.
  • When using the standard bookmark function from the toolbar works fine. But the API seems to have some issue of loading filters with "All" values.

Resolution

The behavior is by design :

  • Firstly, you didn't change anything and created a bookmark named 'All'. Then, you changed the story filter to 'Yes' and finally applied the 'All' bookmark to the story.
    Your expected behavior is that the filter should change to 'All', but the actual behavior is that the filter remains 'Yes'.
  • Since you didn't change anything while bookmarking 'All', applying it means nothing would change, and the current filter 'Yes' would be kept. However, if you open it via URL, the story would be reloaded and the bookmark applied. The initial state would be 'All', and the bookmark would change nothing.
  • If you want to bookmark everything even though no changes are made, you can change the bookmark configuration in Edit to 'All Components in the Story' as shown in the snapshot I uploaded.
    In this way the bookmark will behave as you expect.

See Also

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

Keywords

Bookmark , KBA , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , Problem

Product

SAP Analytics Cloud all versions