Embedding custom toolbox (.tbx) for add-in not working

444
1
Jump to solution
06-08-2022 10:05 AM
by Anonymous User
Not applicable

Following the example laid out in the pro guide for embedding a toolbox here, The .tbx does not deploy/ is not visible in the \AppData\Local\ESRI\ArcGISPro\Toolboxes folder, nor is listed in the Toolbox folder in the project.

I found that following this structure in my VS project linked within the pro guide, creates a guid folder with the scripts in an arcpy folder, but doesn't create the 'toolboxes' folder, unless I create a .py file under the toolboxes folder.  But it still doesn't create the .tbx.

\---Toolboxes

    +---arcpy
    |       script1.py
    |       script2.py
    +---help
    |   \---gp
    |       |   Answer_deepthought.xml
    |       |   deepthought_toolbox.xml
    |       |
    |       +---messages
    |       |       messages.xml
    |       |
    |       \---toolboxes
    |               DeepThought.xml
    |
    \---toolboxes
            test.py
            DeepThought.tbx

 

Is this a bug that it is not adding .tbx files?

0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

The toolbox had spaces in the name.......

View solution in original post

0 Kudos
1 Reply
by Anonymous User
Not applicable

The toolbox had spaces in the name.......

0 Kudos