Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Dev Space

Customize and extend the power of Alteryx with SDKs, APIs, custom tools, and more.
SOLVED

HTML SDK

joshuaburkhow
ACE Emeritus
ACE Emeritus

This question is in reference to the HTML SDK that was released with 10.1 (see Ned's post here: https://inspiringingenuity.net/2015/12/03/htmlsdk/)

 

I am trying to understand how the files that need to be created get evoked/called for a configuration menu of a macro/tool. I have the proper files created and in the HTMLplugins folder. I also have the macro created but I can't seem to figure out how the HTML5 template is called for configuration menu. 

 

Let me know if this doesn't make sense ;)

 

 

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
4 REPLIES 4
Ned
Alteryx Alumni (Retired)

If you take the JS_Eval folder from the attchment on that blog post and put it into the HtmlPlugins directory - usually C:\Program Files\Alteryx\bin\HtmlPlugins it should just work.  The tool will show up in the Laboratory folder on the Tool Pallate.  Once its there, you can rename, change the icon, change the code, etc...

joshuaburkhow
ACE Emeritus
ACE Emeritus

Thanks Ned - the laboratory piece was what I needed to understand. I went there and my macro was just sitting there waiting for me :)

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
joshuaburkhow
ACE Emeritus
ACE Emeritus

Ned,

 

I have gone through all the examples in the HtmlPlugins folder and I can't seem to find an example for what I am trying to do. I have a macro setup somewhat like the salesforce input macro but the change I'd like to see if is possible is instead of taking in the credentials via the config menu and then having javascript/ajax use those inputs and run the API call I'd like to just pass the username/password values to the workflow directly where I run the api call using a workflow (with download tool) I've built. Possible? 

 

Let me know if you need more to work with

 

Thanks

Joshua (jburkhow@bpmnw.com)

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
Ned
Alteryx Alumni (Retired)

Honestly, if you are just wanting to accept some input and pass it through the workflow, I don't think you need the HTML/JS SDk at all.  A regular macro would work just fine.