
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2019 01:55 AM
Hello,
I have a task wherein when a user clicks the 'Resolve' button it will prompt a separate text box that requires them to enter 'Additional Comments' and it will reflect in the additional comments widget which is not located in the same widget as the 'Resolve' button. I am new to portal development so any help is much appreciated. Thank you.
Kind Regards,
Raphael
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2019 06:18 PM
Regards,
Michael.
P.S. If my suggestion helped then please mark as helpful and/or correct so other community members can benefit from this information.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2019 06:28 PM
Hi Michael,
What is the name of the widget and what part in the code is the pop up of dialog box? Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2019 07:14 PM
The OOB widget was called Approval Info. I cloned it and added my code so that when the reject button was pressed it popped up with the comments box. You would need to add similar code to the Resolve button on the Incident Details widget. I have attached the updated widget code and a screenshot of the widget is bit'sw (its on the approval page).
Regards,
Michael.
P.S. If my suggestion helped then please mark as helpful and/or correct so other community members can benefit from this information.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2019 07:44 PM
How can I call the function that I created in the client controller to the server script since the server script is the one executing the function. Sorry for the questions, I am quite new to service portal development. Thank you so much.