Access $rootScope in server script

David Pichard
Mega Guru

Hi, wondering: Certainly there is a way to access the $rootScope object in the server script of a service portal widget?

3 REPLIES 3

Gosia Urbanska
Giga Guru

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? 

Thank you, I was able to design a workaround using server.get().

Gosia Urbanska
Giga Guru

glad to help