Provide reason in box in popup window populated when click on Reject button in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2023 04:41 AM
Hi All,
I have custom buttons on custom widget called Accept and Reject, when click on Reject button popup window is populated.
As I don't have knowledge on Service Portal!
1. On the popup window user should provide reason to reject and the should take OK in Service Portal.
2. If reason not provided can't be submitted.
2. How to make a field on popup window to give a text in box and store in a table.
Sharing knowledge would help me.
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2023 11:20 AM
Hello @Mad3 ,
Instead of using alert, use Angular openModal() function on button onClick(). Create one mandatory field on that custom dialog and store its data on any table where u want.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2023 08:29 PM
Hi @Community Alums ,
Thank you for your reply!
Can you explain here using openModal() and creating mandatory field to store the data on table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2023 10:39 PM
Hello @Mad3 ,
In ur case u need to write one more line of code in the html for label and input. And write server side script to store data of that field.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2023 02:17 AM
Hello @Community Alums ,
Thankyou for the reply!
As I am new to portal, Can toy explain in detail by writing the code in HTML and Client side with the example.
Thank in Advance!