Dear all,
We just upgraded a few weeks ago to 9.8 SR2
We would like to use the documentation attribute (AT_DOCUMENTATION) in our reports but this attribute is not available in the standard WYSIWYG report generator.
Software AG support just told us that this attribute, of type BLOB, won't be added in the report generator before 9.8 SR4.
They however told us that adding it in a report is already possible with customized report code.
Does anyone already used this BLOB attribute in a custom-made report ?
If yes, do you have an example to share to see how to define it in the piece of code ?
Best regards,
Sébastien
var attrDoc = p_aSelModels.Attribute(Constants.AT_DOCUMENTATION,gn_Lang);
if (attrDoc.IsValid()) {
var bytearray = attrDoc.getExternalDocument().getDocument();
var docVal = Context.getOutputObject("tmp.doc",bytearray);
p_OutputFile.value.InsertDocument(docVal, false, false);
}