cancel
Showing results for
Did you mean:

# Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
###### Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

SOLVED

## Add Example Link to Macro Description

Highlighted
Bolide

Anyone know how I can add a link to a workflow with examples in my macro descriptions (see below) ?

Cheers,

Taylor Cox

Developer/Analyst

Blue Cross NC

Moderator

Hi @Coxta45,

The screenshot seems to be missing from your post.

Kind regards,

Paul Noirel

Customer Support Engineer

Bolide

@PaulN,  thanks for the heads up.  Should be there now.

Nebula

Did not this was possible but ...

Open the Macro file within a text editor and then you can add a section into the MetaInfo section like:

      <Example>
<Description>Open Example</Description>
<File>D:\Repos\Alteryx\Arms Exports.yxmd</File>
</Example>

Once that is added seems to work as you'd expect:

Bolide

Thanks for the suggestion, this is definitely the solution - I just have one question:  Can I use relative paths here?  I'd really like to let the package be "lift-and-shift" capable.  The absolute path to the example workflow is working fine, but I get errors when trying to use a relative reference.

Here's the package structure

Macro Package Folder

The 'Hover' is showing the Open Example link - which works fine with an absolute path, but I'm getting this error with a relative reference:

HoverError

And here's the Date Wizard.yxmc XML that I've tried...

      <Example>
<Description>Open Example</Description>
<!-- THIS WORKS -->
<File>\\SERVER\aRootDirectory\path\to\Alteryx\Macros\Date Wizard\Date Wizard Examples.yxmd</File>
<!-- THIS DOESNT
<File>Date Wizard Examples.yxmd</File>
<File>.\Date Wizard Examples.yxmd</File>
<File>./Date Wizard Examples.yxmd</File>
-->
</Example>

Any ideas?  Or is relative referencing simply not allowed here?

Thanks,

Taylor

Moderator

Hi @Coxta45,

Alteryx default behaviour is to look for examples under .\Alteryx\Samples\02 One-Tool Examples or Alteryx\Samples\02 One-Tool Examples (or .\Alteryx\Samples\en\02 One-Tool Examples).

Kind regards,

Paul Noirel

Customer Support Engineer

Bolide

@PaulN, Bummer!  I suppose I might submit this as a product idea.  I'm thinking that this could likely be added as a new feature in the Interface Designer settings, similarly to the way that you can reference a Help file - which, BTW, could link to an example workflow, but opens a new instance of Alteryx and doesn't show a hyperlink in the Macro description on 'Hover/Click'.

Thanks for the help.

Taylor

Moderator

hi @Coxta45,

These are really good suggestions for Alteryx Product Ideas (https://community.alteryx.com/t5/Alteryx-Product-Ideas/idb-p/product-ideas)!

Kind regards,

Paul Noirel

Customer Support Engineer

Bolide
Labels