Widget button in service portal my request page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2022 08:31 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2022 10:42 PM
can you share your HTML code, the server and client will be build on that. Accept will not require any client code but reject will require that.
Also I suppose these buttons should be visible on resolved incidents only and visible to caller only?
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 07:59 PM
@RaghavSh script is ok?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 11:04 PM
@SAM321 my_requests page gives you the list of your requests, for which page and which widget you exactly want these buttons, That is required because the URL will contain the sys_id of record and table name.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2022 02:37 AM
@RaghavSh actually in this page we have to place 'accept resolution' and 'reject resolution' buttons..when state is resolved!