Hi,
I understand this concept and I have it working ok with a call to a simple javascript function (which I 'think' is server-side) but I have a few question:
1. I assume the server-side javascript file is '.js' but how do I create a js file from the app builder? no matter where I click in the 'Files' section and choose 'new file', I always get a .prg file. I ended up creating the js file manually in the file system and then had to close + open the app to see the file under 'JavaScript Files' (clicking 'refresh' didn't work).
2. Once I had the js file & named it properly I could call my function just fine using evaluateJavaScript but what makes this js server-side as it is just another js file in the same folder as my click-handler js file?
3. Perhaps this will answer (2) - does evaluateJavaScript need the cloud server to work?
I am not even sure that I am using the cloud server as I am running everything on my desktop as per a standard install - or do all web apps use the cloud server?
4. Lastly, is there any way to debug server-side js files?
Bookmarks