How to get back to the previous page when we click the save button in custom service portal.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2020 01:21 AM
How to get back to the previous page when we click the save button in custom service portal.
Labels:
- Labels:
-
Service Portal Development
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2020 01:52 PM
In the ng-click function for that button you can use
$window.history.back();
Note: if not already injected, you will need to inject the $window service into your widget's controller.