Is it possible to execute server side javascript within a leap application?
Hi Oliver,
If you use SSJS (Server-Side JavaScript) as programming language directly within Domino Leap, this is not possible.
However, if you integrate Domino XPages / SSJS in Domino Leap, this is feasible. Domino XPages has REST Service control (customRestService) that you can use. For example, if you have JavaScript POST request from Domino Leap, you can utilize customRestService in XPages to read JSON from POST request, and you need to do something like to create a log entry in the database.
Please refer to the following examples:
- https://openntf.org/XSnippets.nsf/snippet.xsp?id=log-to-domino-using-json
- https://support.hcl-software.com/community?id=community_question&sys_id=d7f31afa1bb2b054a2f48661cd4bcbc2
Hope this helps.
Thanks,
Jayve