I have been put on a project where I need to modify and optimize an existing PythonToolbox and associated Toolbar (each button calls a script). I want to add a new script tool in there but the Add Script Wizard isn't available on my Basic License (should it? when I right click on the toolbox and go to Add, the Script option is disabled).
What I've done is add a new class in the .pyt file and updated the self.tools of the Toolbox initialisation.
I've also, and I'm pretty this isn't the right thing to do, created a .xml file for the new tool with Notepad++. Basicaly I copied the file from another tool in the toolbox and modified the file name as well as the tool name under <resTitle>
and <tool name="" displayname "">
.
And of course what I get is a tool that is recognized but invalid.
What would be the correct procedure to add a script tool outside of the Add Script Wizard? How should I handle the new .xml file so it links with the .pyt file?