'How to import a dialog (and code) to libreoffice calc

I had written some code and a small dialog for simplifying some processes for an older version of calc.

In order to load a dialog in the old versions of calc, i could go to the menu "Tools | Macros | Organize Dialogs", choose "import dialog" (an icon showing a document with a plus symbol) and then load my dialog resource ("dlgCSVLoad.xdl")

In the current version (7.2.5.2) there seems to be no (obvious) possibility to load a dialog resource anymore.

What steps do i have to take to import a dialog resource (in xdl format) into libreoffice calc?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source