Access $rootScope in server script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2018 02:43 PM
Hi, wondering: Certainly there is a way to access the $rootScope object in the server script of a service portal widget?
Labels:
- Labels:
-
Service Portal Development
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2018 04:17 PM
To the best of my knowledge, you cannot do this; But you can pass anything to the server side using server.get(object).then(function(response){})
Have you tried this?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 12:04 PM
Thank you, I was able to design a workaround using server.get().
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 12:59 PM
glad to help