Select to view content in your preferred language

Setting Python Tool Properties

4376
10
Jump to solution
10-12-2016 08:24 AM
TimHayes1
Deactivated User

I am new to Python. I created a Python Toolbox - Tool Properties, I cannot change the Name, Label, and the Store Relative Pathnames is grayed out. How do I enable to these features?

Tags (2)
0 Kudos
10 Replies
zkovacs
Frequent Contributor

Tim

Based on the code in the referenced KB article above, using filename = str(item[1]) should only include the original filename of the attachement/photo.

It might have been changed, but previously photos were attached with a name like Photo1, Photo2, ... etc, repeated for each feature. If that's still the case, then you may find that your attachments with the same name are overwritten and you need to use a prefix to overcome this.

I hope this helps.

0 Kudos