Can I add components to a container via script with UI Builder? Any examples/resources available?

Eugene Severi
Tera Contributor

Hi all

 

I'm searching for a way that I can script the adding of components to a container/viewport with UI Builder. I'm new to UI builder, haven't found a way to do this and am hoping it's possible.

 

So as an example, instead of adding button to a container using drag and drop at design time, I need to be able to write code to add the button, wire up the events etc at run time. 

 

I'm trying to develop a page which will render the components listed in a json template contained in the table. The template is the instruction as to which components need to be rendered.

 

Is this possible?

 

Thanks!!

 

Eugene

 

 

2 REPLIES 2

LukeJansen
Tera Contributor

Hello Eugene,

 

I am also looking for a way to do this, did you get an answer to this question at all?

Hi,

 

Did you find a solution for this?