community
cancel
Showing results for 
Search instead 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?

LEARN MORE
Alteryx Gallery is experiencing a problem in which system emails are not being sent out. As a result, if you are attempting to sign up for a new account, you may be unable to verify your email address. We are working to solve this as soon as possible and will remove this notice once resolved.
SOLVED

Add Example Link to Macro Description

Bolide

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

 

Example Link.png

 

 

Cheers,

 

Taylor Cox

Developer/Analyst

Blue Cross NC 

Moderator
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.

 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:

2017-04-24_17-44-02.jpg

 

Bolide

@jdunkerley79,

 

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.pngMacro 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:

 

Date Wizard Hover.pngHoverOpen Example Error.pngError

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
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
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