Alteryx IO Discussions

Customize and extend the power of Alteryx with SDKs, APIs, custom tools, and more.
解決済み

Change Icon of Custom tool

sophabraham95
メテオール

Hi All,

 

Am new to Alteryx Python SDK.

 

was wondering how to change the default icon of the custom tool that is created.

 

thank you!

3件の返信3
Amol_Telore
ボリード

Hey @sophabraham95 

 

Follow below steps to change icon of custom tool.

 

  1. Go to Interface designer window. You can open it using Ctrl + Alt+ D
  2. Click on properties button. (Last button)
  3. Click on Custom Icon radio button.
  4. Click on browse button to select image icon.

Amol_Telore_0-1660894842769.png

 

Hope it solves your concern.

Jean-Balteryx
16 - Nebula
16 - Nebula

Hi @sophabraham95 ,

 

The icon used by default is in the folder %workspacename%\configuration\%toolname%.

The file icon.png is the icon used and it is precised in the %toolname%Config.xml file that is in the same folder :

 

Capture d’écran 2022-08-19 à 09.33.51.png

 

So you have to replace the icon.png file by another file with the same name to change the icon.

Using another image file with a different name and replacing icon.png in the xml file by the name of your new file won't work.

 

I hope this helps, tell me if you have any question !

Jean-Balteryx
16 - Nebula
16 - Nebula

@sophabraham95, have you been able to solve your problem ?