Log in or sign up to continue

could you please give a little more of a description as to what you are hoping to accomplish?  A JS file will be executed on the client, where-as "Caché Code" (by this I assume you mean Object Script?) is executed on the server.

You can edit JS files using Studio, you can create object script class projections to automatically create JS files with JS logic in it, you can send JS from a server process to the web browser, etc - there are may ways for Caché Code to interact with, inform or manipulate JS files.  We need more details for what you want to do.

As per my knowledge directly its not possible.

1. If  you are calling from zen page and from client method you can call cache method.

2. Create one REST service in cache side and call the REST(http) from JS.