Add Reopen Incident Button on Ticket Page in Service Portal

SNOW46
Tera Contributor

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.

find_real_file.png

Can anyone suggest me how to achieve this requirement? And this Reopen Button should be visible once the Incident gets Resolved.

 

Thanks,

SNOW@Das

6 REPLIES 6

VigneshMC
Mega Sage

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

Munender Singh
Mega Sage

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

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..

 

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