Widget button in service portal my request page

SAM321
Tera Contributor

Hi all so I have a task , creation of widget button on (my request page) of service portal.

The buttons are (Accept resolution) and (Reject resolution).

This buttons should be display only when incident state is resolved.

 

When clicking on “Accept Resolution” button, the incident state must be updated to Closed with an additional comments written : “Resolution accepted by the user”.

 

When clicking on Reject Resolution, a popup should be displayed with “Additional Comments” to be populated by the user. Then the incident state must be updated to “Work In Progress” and assignment group must be notified.

 

I created buttons using HTML and CSS but I have problem with client and server side script. can someone help!

 

18 REPLIES 18

@SAM321 but this is a list, how will you accept / reject for all resolved incidents? don't you think it should be on form?


Raghav
MVP 2023

SAM321
Tera Contributor

@RaghavSh yes...so it should be in request page?

SAM321
Tera Contributor

@RaghavSh  what about this page!

yes, this page is fine, this is ticket page, I will post the code soon


Raghav
MVP 2023

SAM321
Tera Contributor

ok thanks sir @RaghavSh