Data Import to set default value for attribute

I am trying to set a default value for an entity attribute from my screen. I see that there is something called defaultValues with the Import with Wizard. I trying to use this code, to set the attribute “load” with a pre-specified value:

HashMap<String,Object> options = new HashMap<>();
options.put(“load”, load);
HashMap<String,Object> params = new HashMap<>();
params.put(“defaultValues”, options);

    screenBuilders.editor(ImportConfiguration.class, this)
            .withScreenId("ddcdi$import-with-import-configuration-wizard")
            .withOpenMode(OpenMode.DIALOG)
            .editEntity(ic)
            .withOptions(new MapScreenOptions(params))
            .show()
            .addAfterCloseListener( ev -> {
                cr21othdrWkDl.setParameter("load", load);
                cr21othdrWkDl.load();
            });

How to use the defaultValues to specify the default for an entity attribute ?
How can I pass this as an option to the wizard ?

CK

Sorry, I have found the correct way to pass the options to the screen.

.withOptions(new MapScreenOptions(ParamsMap.of("defaultValues",options))

Also, the defaultValue attribute value needs to be cast to the correct type:
options.put(“load”, Integer(load));

CK