I’d like to be able to have a document view show up in a modal. Working on a kanban-like feature and ideally the cards pop up and show the document (or at least a summary!)
Is it possible to render a document on the server? If so, where could I find this function? I am aware of frappe.render_template but this is for custom/hand-made templates and not for basic document templates, and am able to pass a template from frappe.render_template into the card to pop up with the modal. One issue, though, is that scripting doesn’t seem to work with the templates.
Any ideas are welcome - if there isn’t an easy way I’ll just write a quick template and get it to the community.