From an external application data is extracted and written to a list with several sublist items, here is an example narrowed down to the main list creation:
Publi