I cannot edit the code directly to change the hooks currently. I was told to do it from the UI itself. I have created an API server script in my site. How do I call this from my Jinja2 print format?
External methods aren’t available to Jinja by default. To make them available, you need to add a hook:
https://docs.frappe.io/framework/user/en/python-api/hooks#jinja-customization
1 Like