JS Block - How to open a Drawer with a saved popup template from RunJS?

Is it possible to open a Drawer preconfigured as a popup template from a JS block?

Why use JS Blocks? JS Blocks are for writing custom HTML JS blocks. For opening existing template blocks, it’s recommended to use JS Actions.

Well, I have a JS Block for Kanban and Gantt while 2.0 modules for that are not ready yet. In general it works fine, but it would be convenient to open a drawer with a task data, which already exists as a template since it is used in other standard views/blocks.

Since you are using JS Blocks, you also need to write your own code to implement the menu. See the example below for opening the pop-up window:
JS Block - NocoBase Documentation

Hi hongboji,
It is clear how to open a drawer using ctx.openView, and it’s also clear that a static popupId should be used for Nocobase to remember the configured elements of the drawer. But it is still unclear if it is possible to open a drawer that would reference an existing template instead of configuring the elements in the drawer manually?