How to call method from .js file in .html file when creating node?

To access server side stuff from the html (client) side, you need to implement a http admin endpoint in the js file.

Here is one such example: Get logged user information in custom node - #3 by knolleary

1 Like