See attached for AppyBuilder DynamicComponent extension. It’ll allow you to dynamically create Buttons, Labels, Checkboxes, TextBoxes, Images on the fly. Get it HERE
NOTE: This is only Version 1.0. We are looking for inputs / ideas for enhancement
Test the .apk here: DynamicComp.apk (2.1 MB)
Get the sample .aia here: DynamicComp.aia (16.5 KB)
Below, we are creating 3 Buttons with some Button Text.
Then, wen a button is clicked, Using its Clicked event, we determine the clicked button and perform some action; e.g. opening specific site in WebViewer
Sept 11, 2017 - We have updated the DynamicComponents extension so that now you can pass HTML text for Label and Buttons. To get effect below, pass text like this:
<font color=red><big>red bold and large</big></font> dynamically set,<font color=red><big>Button red bold and large</big></font> dynamically set
Sept 17, 2017 - Updated to include blocks to dynamically add Tabs to top of screen.
Usage: Can be used like menu options for opening new Screens
Companion BUG - After Tabs are added, companion keeps showing them, even if you change to new app. This is ONLY on the companion. Restart companion for new projects.