Copy Incident Functionality
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2023 02:44 AM
Is there any way to replicate the Copy Incident OOB Functionality to the portal? The user will be able to go inside of his incident in the portal and he can click copy incident, then he will be redirected to the 'Create Incident' Record Producer with all the fields populated automatically based on the current incident that he came from. He will be able to adjust some of the field's values and then click Submit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2023 06:11 AM
@Syed Multhazim1 can you please share an example of redirecting to record producer and passing parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2023 06:20 AM
HI @Alon Grod ,
Hope you are doing great.
Yes, this functionality can be replicated in the portal using client scripts and Service Portal macros. You would need to create a custom macro that can retrieve the values from the incident record and pre-populate them in the Create Incident record producer. This macro can be added to the incident record page in the portal and the user can click on it to copy the incident.
You would also need to create a client script to handle the submission of the Create Incident record producer when the user clicks the submit button. This script can be triggered
Regards,
Amit Gujarathi
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
