Calling a function from HTML template by defining class "onClick().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2023 10:20 PM
HTML buttons in java script, but for service portal ServiceNow has defined the ng-directives to perform this kind of operations. Here we have "ng-click" which helps you to perform certain actions when user clicks on form by calling the function which defined in client controller section in service portal.
LinkedIn Post: https://www.linkedin.com/posts/abhishek-thakur-4636a722b_servicenowcommunity-servicenowdeveloper-jav...
- 284 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2023 03:37 AM
to be honest, I don't like this misuse of questions just to promote any small tips or external content. It fills the activity stream with many open questions which cannot be answered. In this way, the real questions are pushed to the bottom of the list, putting users with real problems at a disadvantage!
Maik