The code is the same – if the DXL is only for a subform, then only that subform will be created or modified. You’ll want to create the NotesDXLImporter, create a NotesStream from the DXL file and set that as the importer’s input, then set your database as the importer’s output. Set the desired DXLImportOptions value, then call Process. That’s all there is to it – the info in the DXL file will manage the rest for you.