From ToolBox to Page Dynamically

If I have a control in ToolBox, can I dynamically add it to the page using an AppStudio command?

For example, I’d like to add a “Container” control to the page.

I know I can add it using JavaScript because it’s a simple div, but some controls are more complex.

I copy containers dynamically, to get multiple versions of a container. I have a icon and label for a “location” with a variable number of locations, so I copy a “master” container for each one.

If that helps I can give you my code.

1 Like