Copy Incident widget on Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2019 10:15 PM
Hi All,
We've had an improvement request to see if we can create a "copy incident" widget that would go on the below view page:
The main idea is to replicate the "copy incident" function from the incident form but to be able to do this via a portal widget. We have lots of instances where the same people are required to log and relog the same incidents, with only minor changes.
Has anyone implemented this at all?
Thanks,
Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2019 08:03 AM
Hi,
Yes, You can create a button in the widget and when you click on copy incident , it should redirect to catalog item from which you had created the existing incident(you can get this from the existing widget code itself) , also pass the values needed to be prefilled in as a parameter.
Also, you have to change the order guide and catalog item widget wherein you have to get the parameters and modify the server script to pass the value to html if there are any parameters.
(For reference fields, you have to get the display value)
Hope this helps you, Please mark this helpful/correct if it does.
Regards,
Swathi