IDMReportParams
IDMReportParams
is passed as input to CreateIDMReport
function. The IDMReportParams
properties are as shown in table below.
XmlData
, templateFileName
, targetFileName
are required properties that cannot be left null.
Properties | Description |
---|---|
xmlData |
XML Data of Object as String |
templateFileName |
The Report Template name in IDM. |
targetFileName |
Denotes the generated report name. |
templateDocCode (Optional) |
IDM Document Type which contains Template Word File. By default, a profile attribute Example:
|
sendEmail (Optional) |
It is a Boolean type. If user set sendEmail to true, the report generated will be sent to the given email address. Example:
|
targetEmailAddresses (Optional) |
Email address where report should be sent, if sendEmail is set to true. It will support multiple addresses by passing it as a comma separated. Example:
|
ReturnFileContent (Optional) |
It is Boolean type, and you can specify whether you want the file content as byte array in the response or not. Example:
|
TargetDocCode (Optional) |
IDM Doc Type to which generated report should be attached. By default, a profile attribute Example:
|
(Optional, used with |
If you specify targetDocCode, then the user should create a CMItem and should pass it to function with all required attributes. Example:
|