# Client-Side-Scripting in NG

**URL:** <https://forum.servoy.com/t/client-side-scripting-in-ng/20787>\
**Category:** Questions\
**Created:** [June 27, 2022, 8:20am UTC](https://forum.servoy.com/t/client-side-scripting-in-ng/20787 "2022-06-27T08:20:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rph](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@rph](https://forum.servoy.com/u/rph)\
**Post date:** [June 27, 2022, 8:20am UTC](https://forum.servoy.com/t/client-side-scripting-in-ng/20787/1 "2022-06-27T08:20:02Z")

</div>

Hi

With the SmartClient there was a “plugins.WebClientUtils.executeClientSideJS” to execute JavaScripts on the WebClient. According to “[https://wiki.servoy.com/display/DOCS/NGClient+Compatibility](https://wiki.servoy.com/display/DOCS/NGClient+Compatibility)” this plugin doesn’t work anymore.

How could I execute client-side-javascript with Servoy NG-Client?

Thanks for your suggestions

Roland

---

<div class="post-metadata">

**Author:** ![amitchell](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/amitchell/32/5153_2.png) [@amitchell](https://forum.servoy.com/u/amitchell)\
**Post date:** [January 20, 2026, 2:07pm UTC](https://forum.servoy.com/t/client-side-scripting-in-ng/20787/2 "2026-01-20T14:07:02Z")

</div>

Hi @rph,

Did you ever find a solution to this?

Thanks,

Alex.

---

<div class="post-metadata">

**Author:** ![rph](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@rph](https://forum.servoy.com/u/rph)\
**Post date:** [January 26, 2026, 8:14am UTC](https://forum.servoy.com/t/client-side-scripting-in-ng/20787/3 "2026-01-26T08:14:23Z")

</div>

No, sorry. Never really found an accurate solution. Made some workarounds to become around this. Nowadays the “clientutils.generateBrowserFunction(…)” could be something that points in this direction. But I’ve never used it.

---

<div class="post-metadata">

**Author:** ![seain](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/seain/32/4511_2.png) [@seain](https://forum.servoy.com/u/seain)\
**Post date:** [January 30, 2026, 4:15am UTC](https://forum.servoy.com/t/client-side-scripting-in-ng/20787/4 "2026-01-30T04:15:22Z")

</div>

You could create your own custom service:

> **[Service Development | Docs](https://docs.servoy.com/reference/extension-dev/component_services/servoyservice)**

---

<div class="post-metadata">

**Author:** ![amitchell](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/amitchell/32/5153_2.png) [@amitchell](https://forum.servoy.com/u/amitchell)\
**Post date:** [February 4, 2026, 1:30pm UTC](https://forum.servoy.com/t/client-side-scripting-in-ng/20787/5 "2026-02-04T13:30:20Z")

</div>

Thanks for this, will check it out!
