Customize Post Incident Review Report Major Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2023 11:40 AM - edited 05-08-2023 08:25 AM
Have you ever got a requirement to customize the Post Incident Review Report before downloading it in Major Incident Management?
I got it. Here we go !!!!
Usually when we are dealing with a major incident, we end up creating many Incident Tasks. Also, we tag the major incident as a parent incident to many child incidents. The Out of the Box Post Incident Review Report of Major Incident is not auto-populating Child Incidents and Incident Tasks. We created a custom UI page and added these 2 lists in the Details section of the PIR Report Major Incident Management.
Follow the below steps to customize the PIR Report:-
Step 1:- Copy the existing post_incident_report_pdf UI page in the Major Incident Management Application.
Step 2:- Paste the below code in the HTML of the UI Page as per the Screenshot:-
Script:-
<div class="related-list">
<g:macro_invoke macro="sn_major_inc_mgmt_pir_report_related_list_table" table="incident_task" title="${gs.getMessage('Incident Tasks')}" query="incident=${jvar_sysparm_sys_id}" columns="number,state,assignment_group,assigned_to,short_description" />
</div>
<div class="related-list">
<g:macro_invoke macro="sn_major_inc_mgmt_pir_report_related_list_table" table="incident" title="${gs.getMessage('Child Incidents')}" query="parent_incident=${jvar_sysparm_sys_id}" columns="number,state,assignment_group,assigned_to,short_description" />
</div>
Step 3:- Copy the EndPoint of your custom UI page.
Step 4:- Open Major Incident Properties and paste the above-Copied URL in the "PIR export ui page url" Property as per the screenshot below.
It will render as below:-
Please mark it as helpful, if it helps you !!
- 3,286 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2023 11:43 AM
Very useful...!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 10:16 PM
Good Stuff....Thanks for sharing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 11:03 PM
Good one. Thank you suma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 11:27 PM
Informative. Thanks for sharing.