Add new parameter type (or widget)

CLI reports support report configuration through widgets.

By default it supports following widget types:
  • Text Field
  • Number Field
  • Date Field
  • Multiple Dates (Date Range) Field
  • Single Select
  • Widget: A generic widget that is configurable in terms of number of objects that can be selected, help text, label for the field, type of the widget, and so on. The widget type can be one of the following types:
    • Planning Folder
    • Tracker
    • Repository

You can use any of the above listed parameter type or widget out of the box. Refer to any of the report that uses it to understand the usage. The parameter types are implemented in <cli-reports-installation-folder>/tools/editComponent.ctf and <cli-reports-installation-folder>/tools/editComponent.html files.

You can add a new parameter type or widget by updating the <cli-reports-installation-folder>/tools/editComponent.ctf and <cli-reports-installation-folder>/tools/editComponent.html files.
As you are modifying the installation files directly, you will lose your changes if you reinstall or upgrade TeamForge. Unlike new reports or chart types, CLI reports does not support committing of these files to the branding repository. So, you may have to make your own arrangements:
  • To preserve the changes you make to these files.
  • To do similar changes to the updated CLI report files in case you are migrating to a newer version.