This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
06-11-2020 07:21 AM
How to add an example link in the custom tool
This article shows the steps to include an "Open Example" link at the bottom of the custom tool. Here is an example of the link in the "Auto Field" tool.
Prerequisites
Procedure
NOTE: The %ALTERYX_INSTALL% is the folder where Alteryx Designer is installed in. For example, c:\Program Files.
The %LANG% is the language that is used in the Designer. The possible values are:
de, es, en, fr, ja, pt, zh.
Limitations
Hi Clarab,
- I had this exact use-case to work with, I need to export my package(.yxi file) which has 4 macros within it and they also needed sample workflows to be embedded with them.
- In community everyone suggested the only way to do so is send samples separately and configure the paths and files in client system. But that doesn't seem to be a much user-friendly approach.
SOLUTION:
- So, I worked on that in depth and came up with a solution of sharing a setup file embedded within the package, which the user has to run only once post installation.
- The setup file contains a python tool, which has code to dynamically configure the files and paths in necessary way. So post running that setup, user needs to restart the Designer and BOOM! the sample workflows will be present under each tools.
- By following this approach we can overcome the process of manually sharing the sample workflows and configuring the files in client systems.
https://community.alteryx.com/t5/Public-Community-Gallery/Automating-Macros-yxi-installation-with-em... --> Refer this for detailed explanation, solution and demo.