You can dynamically add individual entries in a parent-child instance list without collapsing the visual tree
To do this use #AvListManager.BeginListUpdate Mode(DYNAMIC), as in these examples:
To add employee number A1012 to the instance list:
Invoke Method(#avListManager.BeginListUpdate) Mode(DYNAMIC)
Invoke Method(#avListManager.AddtoList) Visualid1('A1012') Visualid2('PATRICK PAUL') Akey1('ADM') Akey2('01') Akey3('A1012') AColumn1('8217-436474') AColumn2('121 MAIN STREET') nColumn1(4353) BusinessObjectType(EMPLOYEES)
Invoke Method(#avListManager.EndListUpdate)
To add SECTION ADM-99 to the instance list:
Invoke Method(#avListManager.BeginListUpdate) Mode(DYNAMIC)
Invoke Method(#avListManager.AddtoList) Akey1('ADM') Akey2('99') VisualID1('ADM') VisualID2('99') AColumn1('DEMO SECTIION') AColumn2('1627-7484') NColumn1('3478') BusinessObjectType(SECTIONS)
Invoke Method(#avListManager.EndListUpdate)
Also see Updating and Deleting Instance List Entries