Dashboard with a text/dropdown search for parameters like node name, resource name (Event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 01:45 AM
I need to customize a dashboard so that from interactive filters I need to get info based on alerts from a source (ex:IND-KAR)
by node name, resource name and some attributes from additional information.
For the alerts from this source I created reports.
Need to create a text/dropdown search for parameters like node name, resource name..etc should be created. Please help with the methods for this problem.
This is based on alerts creation from a source in Event Management.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 02:35 AM
I can provide you the script. I think its works.
If you need to customize the behavior further, you might use a client script. For example, if you have a dropdown for node names, you can add an onChange() client script to handle the filter update.
- script is below mentioned.
function onChangeNodeName() {
var selectedNode = g_form.getValue('node_name'); // Replace with your actual field name
// Update the interactive filter or widget filters based on the selected node
g_filter.update({ 'node_name': selectedNode });.
}
Still any doubt appeared then don't hesitate to ask.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 02:43 AM
Hello Keerthan,
If you need to customize the behavior further, you might use a client script. For example, if you have a dropdown for node names, you can add an onChange() client script to handle the filter update.
I think this script should work.
function onChangeNodeName() {
var selectedNode = g_form.getValue('node_name'); // Replace with your actual field name
// Update the interactive filter or widget filters based on the selected node
g_filter.update({
'node_name': selectedNode
});
}
It will work
if not please message me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 04:59 AM
Here are the steps to customize a dashboard with interactive filters and reports based on alerts from a specific source in Event Management:
1. **Create a Report:**
- Navigate to Reports > Create New.
- Select the data source as 'Alert' (or the table where your alerts are stored).
- Configure the report based on your requirements (like node name, resource name, etc.).
2. **Create Interactive Filters:**
- Navigate to Self-Service > Interactive Filters > New.
- Set the 'Table' field to 'Alert'.
- In the 'Filter Type' field, select 'Choice List' or 'Dynamic' based on your requirement.
- In the 'Field' field, select the field (like node name, resource name, etc.) you want to filter on.
- Repeat the above steps to create multiple interactive filters for different fields.
3. **Add Interactive Filters to Dashboard:**
- Navigate to Self-Service > Dashboards.
- Open the dashboard where you want to add the interactive filters.
- Click on 'Add Widget', search for 'Interactive Filter' and add it to the dashboard.
- Configure the widget to use the interactive filters you created.
4. **Add Report to Dashboard:**
- In the same dashboard, click on 'Add Widget', search for 'Report' and add it to the dashboard.
- Configure the widget to use the report you created.
5. **Configure Interactive Filters to Affect Report:**
- Click on the 'Edit' button of the report widget.
- In the 'Interactive Filter Options' section, select the interactive filters you want to affect this report.
- Click on 'Save'.
Now, you should be able to filter the report on your dashboard based on the selected values in the interactive filters.
nowKB.com
For asking ServiceNow-related questions try this :
For a better and more optimistic result, please visit this website. It uses a Chat Generative Pre-Trained Transformer ( GPT ) technology for solving ServiceNow-related issues.
Link - https://nowgpt.ai/
For the ServiceNow Certified System Administrator exams try this :
https://www.udemy.com/course/servicenow-csa-admin-certification-exam-2023/?couponCode=NOW-DEVELOPER