We want many people to use the same version of a macro which is sanctioned centrally - however we don't know how to insert a macro that's stored on the gallery onto a canvas.
It is possible to copy the macro out of the gallery, open it in the designer - and then insert this into the canvas - but that doesn't help because if the central macro is updated then my copy in my canvas will not reflect this update.
So what we are hoping to do is to mimic the way that this works if you store your macros on a shared folder. if you update the macro in the shared folder then every canvas that uses this macro will get this update.
How do we point to the macro in-situ in its home on the gallery?
Solved! Go to Solution.
While it does not answer your direct question to using Gallery Macros in a drag/drop fashion, I have used some other options to assure the most recent version is used.
Some users set up a network location to save Macros, then make that location one of the defaults in the User Settings location. If all the users have this location as a Macro Repository path, then each time it is updated, the macro is the newest version in their toolbar.
MacroRepo.ini
[Settings] DefaultFolder=Macros Path=\\yourcompany.com\medpro_dfs_data\DFS_Groups\Alteryx\Macros MinimumAlteryxVersion=11.0
if placed into C:\ProgramData\Alteryx\DataProducts\AddOnData\Macros should help to organize and make sure that everyone is using the same tools.
credit to @patrick_digan
Thank you both for your replies @scottj @MarqueeCrew (and @patrick_digan for the idea).
Gonna try out the ini file version today - and if we can't get this working, we'll do a script to pump all our central macros out to a network share like @scottj mentioned.
Thank you - I'll mark as solved or reply with questions once we've tested today
Hey @MarqueeCrew & @patrick_digan
I tried the solution that Mark mentioned (adding the entry below to our .ini file)
[Settings] DefaultFolder=Macros Path=\\yourcompany.com\medpro_dfs_data\DFS_Groups\Alteryx\Macros MinimumAlteryxVersion=11.0
Interestingly - the share \medpro_dfs_data does not exist on our alteryx gallery box. I can address our gallery box directly using the \\gallery.<internal server details>.com but there are no shares defined at all.
Patrick - is there something obvious that we are missing?
Hey @MarqueeCrew & @patrick_digan
I tried the solution that Mark mentioned (adding the entry below to our .ini file)
[Settings] DefaultFolder=Macros Path=\\yourcompany.com\medpro_dfs_data\DFS_Groups\Alteryx\Macros MinimumAlteryxVersion=11.0
Interestingly - the share \medpro_dfs_data does not exist on our alteryx gallery box. I can address our gallery box directly using the \\gallery.<internal server details>.com but there are no shares defined at all.
Patrick - is there something obvious that we are missing?
@SteveA - is there another way to direct the Designer client to the Macros district on the gallery rather than a shared folder on a network somewhere?
@SeanAdams that ini that @MarqueeCrew was referencing is the non-GUI way to add a macro repository (like @scottj mentioned) which just references a shared folder. I don't know of any way to use the gallery macros like you're trying to do.
Closing this thread.
Confirmed that there is currently no way to reference shared macros that are currently housed on the gallery.
This is reflected in several ideas on the ideas board:
https://community.alteryx.com/t5/Alteryx-Designer-Ideas/Macros-Package-Gallery/idi-p/1717