How to create a docx report and show it on the web browser Enterprise Edition only
var json = "{....}";
var conn = new Ext.data.Connection({timeout: 300000});
conn.request({
url: contextPath+"/generateDocxDocument?applicationId=XXX&reportId=YYY&langId="+languageId,
method: "POST",
jsonData: json,
success: function(resp,opt) {
var obj = Ext.decode(resp.responseText);
var url = contextPath + "/showDocument?docId='+obj.docId; url += '&applicationId=TEST&title=Prova&exportFormat="+"application/vnd.openxmlformats-officedocument.wordprocessingml.document";
openPage(
url,
"ReportTitle",
"width=800," +
"height=600," +
"toolbar=no," +
"menubar=yes," +
"left=0," +
"top=0," +
"location=no," +
"resizable=yes"
);
},
failure: function(resp,opt) {
}
});PreviousHow to add spaces to the right of a textNextHow to get or set a value from the graphics control
Last updated