How to add a custom function through package?

Hi @sankara_xerago - unfortunately this is not yet enough information for me to help you :slightly_frowning_face: You have to be capable of identifying the files you need to change on your own. Otherwise someone else needs to point you to the required file every single time. I described the process on how to find the right template and JS controller in detail here: Examples of zpm files?

There is also this great thread about best practices on how to develop an addon. There are some cool references to open source addons as well.

Regarding the build host: This attribute is optional and soft deprecated. You don’t need to fill it out or even add it to your file.

I’d recommend to you to have a local development system and start adding and changing local files first and start creating a addon once everything works as you want. This reduces the overhead and is easier and faster for you.

Happy hacking!