The .yxi file format is an alternative to a .zip archive that displays an installer dialog, providing metainfo to the user about the tool being installed. Use .yxi packaging to package custom tools for distribution to other Alteryx users.
When installed, Designer extracts the .yxi contents to one of two paths, based on the selection by the user:
When installed for all users, the installation excludes files in the root of the .yxi archive.
Each .yxi must contain a Config.xml file in the root. The file should contain the metainfo for:
<?xml version="1.0"?>
<Configuration>
<Properties>
<MetaInfo>
<Icon>TestPlugin1\TestPlugin1Icon.png</Icon>
<Name>Test Plugin1</Name>
<CategoryName>Parse</CategoryName>
<ToolVersion>1.0.0.0</ToolVersion>
<Author>Alteryx</Author>
<Description>This is Test Plugin1. It should appear in the Parse category for testing.</Description>
</MetaInfo>
</Properties>
</Configuration>
HTML tools and macros are found in several directories. If Designer detects the same macro installed in multiple places, the order of precedence for resolution is:
User tools path | %APPDATA%\Alteryx\Tools |
Admin tools path | %ALLUSERSPROFILE%\Alteryx\Tools |
HTML plugins path | <install directory>\bin\HtmlPlugins |
Runtime macro path | <install directory>\bin\RuntimeData\Macros |
If Designer detects the same HTML tool installed in multiple places, the order of precedence is the same.
Paths in Config.xml files can be relative to any of these paths. If you reference the backend macro of an HTML tool as Supporting_Macros\MyMacro.yxmc, Designer attempts to use each of the paths in succession.
Designer does not attempt to resolve the macro path relative to the HTML tool path. If Supporting_Macros is a subdirectory within the HTML tool, reference the macro path relative to one of the listed paths.