- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 06:20 AM
Hi,
I want to add one or more filters to the Rationalization Bubble Chart page in the EA Workspace.
I am able to add the filter, but I cannot get the filter to be applied properly after I select it. I have tried several things already and arrived at the point where I need step by step to het this to work properly.
What have I done so far (in this example : IT Application Owner):
1. Added Filter within UI Builder:
2. Set the Events:
3. Set Client State parameter
Result:
I can select a user and apply this, but this doesn't reflect in the bubble chart
I would appreciate some help here. I already read the docs, but the instructions there are very limited and not sufficient.
Thank you in advance.
Fibssy
Solved! Go to Solution.
- Labels:
-
apm
-
EA Workspace
-
filter
-
rationalization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2024 03:33 AM - edited 07-23-2024 12:36 AM
This is the solution to this question:
NOTE: In this solution you will be modifying out-of-the box scripts. It will be necessary to check and make sure the scripts are not skipped on next update.
Step 1: Open te page you want to add the filter on in UI Builder Editor. In this example I will use the Application Rationalization page on the Enterprise Architecture Workspace
Step 2a: Add the Filter Component to the page ( in this example: IT Application Owner on the Business Application table)
Step 2b: Add the : Apply PAR Filters script to the component
Step 3: Create a new state parameter: Under Client state: Add a new Client state with Type JSON and initial value: Object. This state parameter holds the filter value, which we will use in a later statdium.
Step 4a: Under Data open the App Rationalization Relations 1 data resource and add the Filter to this resource
Step 4b: Do the same for the App Rationalization Grid Data 1 data resource:
Step 5: Open the script include that is linked to the 2 data sources from step 4
5a : For the List view: Open the AppRationalizationDataBroker script include,
in the _applyFilters function, add the newly created filter
5b: For the bubblechart view Open the AppRationalizationBubbleDataBroker script include,
in the _getFilterQuery function, add the newly created filter:
6: Modify the following UI Builder client scripts
6a. Fetch bubble data
6b. Apply PAR Filters
6c. Refresh bubble data
RESULT:
Without Application Owner Filter:
With Application Owner Filter
Good Luck!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 09:25 PM
HI @fibssy ,
I think you need to tweak some things here, on the "apply PAR Filters" client scripts. looks like only default filter are coded and shipped as Out of box code.
PaulSylo
Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 01:41 AM
Hi ,
Thank you for your response. I tried this and it still didn't work unfortunately. :(... I submitted a request at NowSupport for some assistance to guide me in the right direction, since the available documentation is not sufficient.
Fibssy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2024 06:55 PM - edited 06-15-2024 07:03 AM
Looks like there is a limitation in adding this filter to the code.
PaulSylo
Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 01:08 AM
I raised a case with ServiceNow support. Waiting for a response now.