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 getting my feet wet with the Alteryx Python SDK and HTML GUI SDK and am trying to figure out the filebrowse widget.
I'd like to have a control in my interface that allows the user to choose a directory vs. a file, but can't seem to figure out what prop to change. I also cant' find the filebrowse widget in the documentation. Code sample below (which still triggers a file picker and not a directory picker).
Yeah, it doesn't seem to be in the documentation. I poked around the designDesktop.bundle.js file to see if I could find anything. Looks like you want browseType of "Folder". The tag below gives me a folder picker:
If I had to guess, those saved connections are built into those specific tools and saved somewhere on the disk. Those tools then load the file with the saved connection info and present them to the user.
It is not something that is available via the HTML SDK, as far as I know. You would have to build a custom solution for saving your own connection data to the disk. I am not entirely sure how to even do that.