2022.1.1.30569 Patch Release Update

The 2022.1.1.30569 Patch/Minor release has been removed from the Download Portal due to a missing signature in some of the included files. This causes the files to not be recognized as valid files provided by Alteryx and might trigger warning messages by some 3rd party programs. If you installed the 2022.1.1.30569 release, we recommend that you reinstall the patch.

Dev Space

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

Acquire the name of the tool category using the API

CIMCONSoftware
5 - Atom

We are using the API to get the category of the tool, however, we are only getting List of Nodes. For getting Tool Category, we are using below highlighted property, but it is giving Technical class name like DbFileInput, DbFileOutput, etc.. If you open the same workflow file from UI, It shows Proper user friendly name in tool tip.

CIMCONSoftware_0-1639774708763.png

 

 

How can we get user friendly name from API?

 

    Sub GetInformationofNodes(ByVal strFile As String)

        Dim strEngineEntryPoint As String

        Dim objDoc As AlteryxDocument.Document

 

        objDoc = New AlteryxDocument.Document(strFile)

 

        For Each objNode As NodeBase In objDoc.GetAllNodes

 

            If TypeOf objNode Is AlteryxDocument.ToolNode Then

                Dim objToolNode As AlteryxDocument.ToolNode = DirectCast(objNode, AlteryxDocument.ToolNode)

                strEngineEntryPoint = objToolNode.EngineEntryPoint

            End If

 

        Next

    End Sub

 

Any help is really appreciated.

2 REPLIES 2
TheOC
14 - Magnetar

hey @CIMCONSoftware 

Its a bit of a pain - but if you are doing this programmatically, you might want to create a lookup table of the tools - and then use a find/replace tool to change the name of the tool.
For instance - a lookup table of:

Tool NameFriendly Tool Name
DbFileInputInput Data
DbFileOutputOutput Data


Hope this helps at all,
TheOC

CIMCONSoftware
5 - Atom

Thank you for your response @TheOC. It does clarify that the API won't give the category/Friendly Tool Name, correct me if I'm wrong. 

 

Do you know if there is a ready list of such items that lists out all the Tool Names and their Friendly Tool Names, somewhere on Alteryx's community docs that can be used? Building this list manually won't really be a practical option as there are a lot of tools that are available for use.

 

Also, how can we submit this as a suggestion to Alteryx's development team so that they can add this attribute as part of the result of the API call?