Creating button in Record Producer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2025 03:47 AM
I have to create a "Cancel" button in the record producer. How can it be done
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2025 10:25 AM
You can use a widget in your record producer.
For the widget:
<button class="btn btn-warning" ng-click="c.onCancelClick()">
Cancel
</button>
function($scope) {
$scope.c = $scope.c || {};
$scope.c.onCancelClick = function() {
alert("Are you sure you want to cancel?");
};
}
Please mark as helpful if it resolves your question. Thanks