Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEASuch a great challenge! I have been wanting to expand the app building I am doing into HTML UI. With a bunch of trial and error I was finally able to get the UI to work and was also able to set the default value of the spinner to 3 with the help of the HTML - GUI Library.
I am very excited to dive into this more and develop tools for others to use that can simplify what they do.
Great challenge @NeilR - thank you for continuing to find areas of the platform that we may not have explored yet.
Also thank you to @jdunkerley79 - his excellent blog post here steered me through this!
https://jdunkerley.co.uk/2017/12/03/grouped-record-id-tool-macro-based-with-javascript-ui/
Achieved the outcome - notes in the spoiler below. Gotta say - awesome creativity @Verakso
:
This was a bit over my head - I've never used any of the SDKs before (but, I guess that was the point of this challenge!) I used the hint, but made a couple of adjustments such as changing the text size and adding a title.
<h3>Outlier detection configuration</h3>
<label>Z:</label>
<ayx data-ui-props='{type:"NumericSpinner", widgetId:"z_spinner"}' data-item-props='{dataName:"z_spinner", dataType:"SimpleFloat"}'></ayx>
<br>
<br>
<label>Field to test:</label>
<ayx data-ui-props='{type:"DropDown", widgetId:"field_dropDown"}' data-item-props='{dataName:"field_dropDown", dataType:"FieldSelector"}'></ayx>
@kelly_gilbert you completed the challenge and even customized the solution, so i guess not over your head, after all 🙂
First time using the HTML SDK (and not really familiar with HTML). But finally I managed to find a solution.
I don't understand what is asked of me... I shall return 🙂
This was a part of Alteryx I was totally unaware of. The recommended posting was the only thing that made this challenge even possible for me to get through. Shamelessly borrowed a good piece of the code from their example. Attached my test program and included my changes to the GUI.html in a spoiler. Not that different from most of the other solutions.