Dynamite Central : Control Addins VS ExtensionDevelop your first addin with the web modern developmentFirst, you must be in a working workspace to be able to execute the commands. If so, open your explorer (SHIFT + P) and run the command with the template you want to use : You will be asked for the installation directory. The name of your addin is also the name of the directory where the files are installed. Be careful, if you later change the directory name, it may compromise the build and you will have to manually change the relative path in the files. Once you've created your addin, a popup will appear to let you know that the operation was successful, and you can initialize the project. The button "Init Project" generates a new terminal for your addin, and automatically launches the command "npm install", then "npm run build". At this point, you can already use your addin on a AL page to see the result. Develop your frontend with "npm run dev", build your files with "npm run build", and that's all. You don't need to update your ControlAddin.al manualy. |