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,291 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2023 10:31 PM
Helpful.Thank you Suma 👍
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 06:36 AM
I have requirement to add new fields to Major Incident Post Incident Report.
Fields are added to major incident form but not getting an idea through script how to reflect them on Post Incident Report.