Add URLS doctype or report in Custom html Block

How can I add a Doctype or report button to Custom html Block by frappe call Like Links Card in workspace
Eu4rcFRVgAA0IY0

The button is done through AJAX and does not reload the page when pressed
The title of the button must be translatable and It can also be show and hidden or shown according to permissions, exactly like Links Card in workspace

Is the topic difficult to implement?

Try Out this, it opens a new form of that doctype. Please place it in the HTML section of the Custom HTML Block.

2 Likes