a month ago
As far as I know, there is a method called `setDimensionFilterWithHierarchy` that can control the members of a story filter. However, the effect I want is that when we enter a SAC page, the number of members in a story filter remains unchanged, but the selected values change. It seems to me that this cannot be achieved through scripting. Does anyone have any ideas?
Example:
By default, all options in the story filter (Fiscal Year Period) are selected:
When we enter a SAC page, the script can set it to look like the image below, with only 2009002 and 2010002 selected:
The above is the result I hope to achieve.
However, I found that only the `setDimensionFilterWithHierarchy` method can control changes to the Story Filter, and the result of this change is as shown below. But this result is not what I want because the other members are missing:
So my questions are:
1. Besides `setDimensionFilterWithHierarchy`, are there other methods to set the values of a story filter?
2. Is there any other way to achieve the effect I want?
Request clarification before answering.
The PageFilter component does not expose any API for retrieving selected members. To access selected values, consider using InputControl or FilterLine, which provide programmatic access to selected members.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
31 | |
10 | |
6 | |
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.