How to modify Server Script to pass value to $scope.data in Client Side from Server Side

Junyu
Tera Contributor

Dear all,

 

I am trying to implement redirection when the end user clicks "accept solution" from the portal.

I think I can pass the URL value to the client side, but here I try to store data.url and it failed to pass to  $scope.data.url.

 

I don't want to modify anything on the client side, is there a method for me to modify the server side to pass this value over?

Junyu_0-1693191256490.png

 

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Junyu 

you can pass data from client side to server side in widget

How to send data from Client controller to Server side? 

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader