|
|
|
@ -246,6 +246,19 @@ public class ExportXmlBuilderDatasetProfile {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case UPLOAD:
|
|
|
|
|
UploadData uploadDataObject = (UploadData) field.getData();
|
|
|
|
|
dataOut.setAttribute("label", uploadDataObject.getLabel());
|
|
|
|
|
dataOut.setAttribute("maxFileSizeInMB", String.valueOf(uploadDataObject.getMaxFileSizeInMB()));
|
|
|
|
|
Element types = element.createElement("types");
|
|
|
|
|
uploadDataObject.getTypes().forEach(type -> {
|
|
|
|
|
Element optionChild = element.createElement("option");
|
|
|
|
|
optionChild.setAttribute("label", type.getLabel());
|
|
|
|
|
optionChild.setAttribute("value", type.getValue());
|
|
|
|
|
types.appendChild(optionChild);
|
|
|
|
|
});
|
|
|
|
|
dataOut.appendChild(types);
|
|
|
|
|
break;
|
|
|
|
|
case BOOLEAN_DECISION:
|
|
|
|
|
BooleanDecisionData booleanDecisionDataObject = (BooleanDecisionData) field.getData();
|
|
|
|
|
dataOut.setAttribute("label", booleanDecisionDataObject.getLabel());
|
|
|
|
|