Unable to see Reopen button in my custom portal

yasserbouat
Tera Guru

Hello,

I have to aadd a button in the portal that allows reopening closed tickets, so i followed the same steps in this solution but it didn't work for me : https://www.servicenow.com/community/developer-forum/unable-to-see-reopen-button-in-ec-portal/m-p/27... 

Script include : IncidentUtils

Script : 

canReopenIncident: function(current) {
    return current.incident_state == IncidentState.CLOSED;
    },


Screens : 

yasserbouat_2-1741254896000.png

 

yasserbouat_4-1741254984064.png

 

 

yasserbouat_1-1741254871785.png

 

yasserbouat_0-1741254851399.png
Does anyone please has an idea ?

 

19 REPLIES 19

@Dr Atul G- LNG 

I impersoanted the caller : 

yasserbouat_0-1741271201306.png

 

Hi @yasserbouat 

 

It should show in portal, try to repair the Service Portal plugin and then check. It is visible to me.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

@Dr Atul G- LNG 
you were right : the itil role is set as false (i don't know why) : 

yasserbouat_0-1741271618270.png

 

No this is not an issue that is inherit is false, try to repair the plugin and check.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

@yasserbouat 

As shared by Atul it's available OOB if incident is Resolved

Is this not happening OOB in your instance?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader