We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Call Client Controller Function inside the Server Script.

arizeciri
Tera Expert

Hello together,

I have a small issue.

Is it possible to call a Client Controller Funkcion inside a Server Script?

My plan is to show the current page title in the Header. But the problem is that the header doesnt reload when I switch the Pages.

When I switch the Pages only the Server Script is reloading but not the client controller. So I was about to call the Client controller, which sets the Title in the Header, with a Server Script Call.

 

I would be glad for any help.

Thank you!

1 ACCEPTED SOLUTION

Oh Great,

 

Make your answer as correct it will helpfull for others

View solution in original post

5 REPLIES 5

Not applicable

I tried this to call a spmodal and its poping over and over again. Any idea why?