We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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.

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

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

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

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

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

@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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader