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

Hello @Dr Atul G- LNG  , please : I don't know how to add a button within a widget that will only display if we click on the specific widget : 

yasserbouat_0-1741265548101.png

 

Hi @yasserbouat 

 

This is OOTB given by ServiceNow. A ticket can be reopened only when it is in resolved state. 

 

AGLearnNGrow_0-1741266179541.png

 

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

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

Hi @yasserbouat 

 

Did you check my post.

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

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

Hello : I didn't find it in my case : do you have an idea ? 

yasserbouat_0-1741269788819.png

 

Hi @yasserbouat 

 

Please impersonate as Fred and then check. Only the caller can see the reopen button.

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

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