Hello Alteryx Developers,
I'm testing Alteryx Designer 2018.1 x64 to see if our company can integrate functionality from our software systems with Alteryx Designer as plug-in tools.
I've looked at the C++ and C# Custom Tools samples and have a basic idea of how the interface works. What I can't figure out is how to read and write spatial fields in a record. For example, our tools would have to be able to create polygons based on some input values based on the tool configuration and record values and then store them in the record as a spatial field. Looking through the C++ .h files and the .NET object browser for the AlteryxRecordInfo.NET and AlteryxGuiToolkit assemblies, I don't see anything that would allow me to do this.
I am new to the Alteryx world, so maybe I am looking in the wrong places. I would greatly appreciate anyone steering me in the right direction on this.
Many thanks in advance,
Sig Isaac
Solved! Go to Solution.
Hey @SigIsaac,
Thank you for the update.
The signature is the following:
(char *) ConvertToGeoJSON(const void *pSpatialObj, unsigned int pLen);
If I am remember correctly, GetAsString() actually calls ConvertToGeoJson when field type is a spatial object.
Thanks,
Paul Noirel (@PaulN)
Sr Customer Support Engineer, Alteryx