This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I’m trying to develop a control. I have no say over the format of the XML configuration, it has to match a legacy format. I've used GetConfiguration and SetConfiguration with hard-coded values to correctly invoke our legacy dll as a proof of concept.
Now I would like to use ayx widgets for dropdowns that allow the user to select from a list of incoming fields. The widgets already have the styling to make it easy to match the look and feel of Alteryx.
If I introduce the following markup into the GUI...
Without definitions for SetConfiguration and GetConfiguration and the markup renders in Alteryx.
But if I provide a function definition of any kind for SetConfiguration and GetConfiguration then the drop-downs fail to render any markup.
I know DataItems when bound to widgets can also create entries in the Configuration, but, due to legacy constraints, I need to avoid this too and just use them for the UI.
Is it possible to use SetConfiguration and GetConfiguration, and still leverage using Widgets?
And if so, why would the presence of an window.Alteryx.Gui.SetConfiguration function definition cause the dropdowns to disappear? ( even checking in the Developers tools show no elements in the DOM for these... but, as soon as I remove the SetConfiguraton and GetConfiguration definitions, the DOM elements do appear ).