on 02-13-2024 5:38 PM
Hello,
we need to take the selected filter value(s) of the used hierachy into another story per url parameter. We offer a multiple selction for that hierarchy. The opening of the story is started by the clock on a button.
The problem is, that a variable as an array is not allowed to use as a parameter.
We use the following coding on click on the button:
I only get the first node back into my var aString. But I need a string of all selected filters, separated with " , " to put it into the url parameter.
Can anybody help me with that coding? Or have another solution. We need to write this filter values in the filter dimension of the new story. It have to change there.
Patrizia
Hi,
1) You could try passing it as one string. By using Array.join() you can merge all elements into one string. Then use String.split() in receiving story to split the elements again if needed.
2) Passing multiple elements is also supported by the standard URL API. So you don't really need to define any URL script variables, but can simply pass the right elements as URL parameters.
3) There's also an interesting improvement coming in QRC1 2024 (go-live next week) for Story hyperlinks that can be configured better to pass dimension filters:
https://community.sap.com/t5/technology-blogs-by-sap/what-s-new-in-sap-analytics-cloud-release-2024-...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.