Putting container on different form


#1

Hi,

I need to put a container on the current form. I get the current form using NSB.currentForm.id

Is it possible to do this using something like below (below throws as error) without actually writing the form name?

[NSB.currentForm.id].appendChild(comContainer);

Thanks


#2

Have you tried this?

NSB.currentForm.appendChild(comContainer);

NSB.currrentForm references the current form object. NSB.currrentForm.id is the text name of the object.


#3

I haven’t tried that.

It works well. Thanks.