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.
Upgrading Server to version 22.1? We’ve enabled the faster AMP engine by default. Read about how these system settings changes might affect you.
We’re aware of an intermittent issue with our My Alteryx login and are actively working to have the issue corrected. If you run into an error when logging in, please try clearing all cookies or accessing the community on a different browser. Thank you for your patience!
I'm trying out the new Platform SDK and I'm having trouble with the UI's default configuration. According to the docs in https://alteryx.github.io/react-comms/#/Designer%20Api/Usage you can setup the defaultConfig prop in the DesignerApi component for consistency on tool initialization. However, when I test my tool (both in Dev Harnes and in Designer) it is not until after I interact with the UI that the values for the UI components are set, before that it is as if they were non existent.
Before interacting with the UI:
After interacting with the UI:
This causes an error during initialization('Could not init plugin KeyError') if I try to access the config values in the backend without having interacted with the UI. It is not really a big deal since I can always interact with the UI without changing the default values and the tool updates correctly but I wonder if there's a way around this.
Any help would be appreciated!
P.S. Here is the snippet where I declare the defaultConfig.