String docName=document.getName();
//Recover user Id
HashedMap parameters=new HashedMap();
BasicXmlBuilder basic=new BasicXmlBuilder(docName);
String template = basic.buildTemplate(kpiBlocks);
String dirS = System.getProperty("java.io.tmpdir");
File dir = new File(dirS);
dir.mkdirs();