<< Fare clic per visualizzazione il sommario >> Percorso: API di piattaforma > JamioPlug > JamioPlug Document Automation > FillFieldFromResourcesReport |
Plug
Method
FillFieldFromResourcesReport
Description
Creates a report from one or more resources using one or more templates taken from Document components and compiles a reference field of a resource. The target resource is automatically saved.
Input |
|||
Name |
Description |
Type |
Optional |
serverAddress |
Server address for an external Domain (or "" for the current Domain) |
String |
Y |
token |
The session token (for the current session in the current Domain may be null or empty) |
String |
Y |
resources |
Input resources for report. Each element can be a reference to a resource or a dataset containing fields; each key corresponds to name assigned in templates |
DataSet |
|
templateDocument |
Document resource containing template file components. Supported template types: • doc • dot • docx • dotx • odt • ott • rtf |
Reference |
|
outputFormat |
The format for output report (same format of the first template if not specified). Supported output formats: • doc • docx • odt • rtf • txt |
String |
Y |
targetResource |
Target resource for report attachment (first input resource if not specified) |
Reference |
Y |
attachmentName |
Name of attachment to create. If not specified: report.<outputFormat> |
String |
Y |
fieldName |
Field that will contain a reference to the new attachment |
String |
|