BASE64Decoder decoder = new BASE64Decoder();
String encodedTemplate = (String) attributes.get("TEMPLATE");
byte[] buffer = null;
try {
buffer = decoder.decodeBuffer(encodedTemplate);
String template = new String(buffer);
attributes.put("TEMPLATE", template);
String label = (String) attributes.get("LABEL");
BIObject obj = DAOFactory.getBIObjectDAO().loadBIObjectByLabel(label);
if (obj == null) {