Call an widget when click on a button in a form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 05:00 AM - edited 11-20-2023 05:02 AM
Hi All,
Requirement: When the user click on an form button which needs to invoke a widget in an pop window manner.
I have 2 ways to implement but i am not sure how to invoke the widget from an ui action. Kindly help me on this.
1. Via Service Portal
HTML:
<a target="_blank" ng-href="{{options.href}}" class="c-btn--secondary':!a.primary && a.form_style=='unstyled">{{data.buttonMsg}}</a>
SERVER SCRIPT:
data.buttonMsg = gs.getMessage(options.button_text || "Take Attestation");
2.Via Native Ui Action:
window.location.href = 'http://www.google.com';
My widget link:
?id=take_attestion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 10:28 PM
@Lavanya Nagendr did u find a way to invoke the widget on click of button .. was looking for something similar to invoke ooo virtual agent widget from ui action on the form.