You can create a dynamic table to enter structured data from a report data object into a form.
Follow these steps:
The attributes of the Table element appear.
For a Query: The input variables appear as %expression% statements.
For Plug-in: The input variables appear in the Arguments field.
For CSV: The input variables do not apply.
Copy the variables that you want from that page and paste them into the value of the Report/Plug-in Variables attribute.
For both attributes, enter variables as a JSON expression, for example:
$({'<variable name>' : '<variable value>', ...})
$({'userid':_.user.id,'rm_orgunit':ca_fdGetSelectedOptionValues(ca_fd.formId,'orgunit_id')})
Important! Specify variables carefully. If you specify no variables, unpredictable results can occur.
When users complete this form while requesting a service, the report data object or API plug-in runs and returns the data that you specified.
You have created the dynamic table. Next, you configure it.
|
Copyright © 2013 CA.
All rights reserved.
|
|