Add Reopen Incident Button on Ticket Page in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2019 03:20 AM
Hi Everyone,
There is one requirement came up to me that they want Reopen Incident UI Action Button for end users in Service Portal Ticket Conversation page.
Can anyone suggest me how to achieve this requirement? And this Reopen Button should be visible once the Incident gets Resolved.
Thanks,
SNOW@Das

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2019 03:42 AM
Below links should be helpdul
https://community.servicenow.com/community?id=community_question&sys_id=08830365dbd8dbc01dcaf3231f961939&view_source=searchResult
https://community.servicenow.com/community?id=community_question&sys_id=680a0369db5cdbc01dcaf3231f9619aa&view_source=searchResult
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2019 03:46 AM
Hi,
Please find the below link;
https://serviceportal.io/create-custom-action-buttons-service-portal/
It is also for creating a resolve button on incident form.
Regards,
Munender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2019 05:58 AM
Hi,
Can you please guide me only for Reopen Incident Button and that should only be visible when ticket status changes to Resolved to end users.
Please kindly guide me on the same?
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2019 11:09 AM
Hi,
Yes please use this piece of code to design your widget.
Server Code :
data.hideButton = true;
//let us say that your widget is for incident table
if(data.table == 'incident' && data.state.display_value == "Choice Display Value for closed state"){
data.hideButton = false;
}
HTML Temp:
<button ng-hide="data.hideButton">
Regards,
Munender