Hi Georg,
Remember you can use the isserver() function in your LianjaScript server-side procedures to only do something if the prg is running on the server rather than the desktop:
Code:
if isserver()
...
else
...
endif
When I looked at your ealier prg, I added this in the code working my way down until it did not return the expected value:
Code:
ret = 3
return ret
procedure ignore // so that the rest of the prg is ignore
You can then call your server-side procedure from the Console tab of the web inspector/tools:
Code:
Lianja.evaluate("suchereignis('param')")
and check the return value.
You cannot use UI commands/functions like messagebox() in server-side procedures as they have no access to the UI.
Regards,
Yvonne
Bookmarks