Avatar

Level 10

Is there an instance of psl_list_subform available on the form when you execute this command? If not then that is your issue ...To be able to address an object it has to exist.....if it does not then you must use the undersore technique to call the instanceManager. This basically says that although the subform does not exist (it is not part of the layout subform) it does exist in the template dom so it needs to be addressed in a different way. So your expression woudl be _psl_list_subform.addInstance(1).

Paul