User Tools
Writing /app/www/public/data/meta/onboarding/reportingmanager/creation_of_a_table_report.meta failed
onboarding:reportingmanager:creation_of_a_table_report
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| onboarding:reportingmanager:creation_of_a_table_report [2016/09/06 16:15] – 1carew1 | onboarding:reportingmanager:creation_of_a_table_report [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Creation of a table report ====== | ||
| + | Author: Colm Carew | ||
| + | |||
| + | //This assumes you have already created basic reports and line reports and know how to take reports from the Reporting Manager into the Report Builder project// | ||
| + | |||
| + | Go into an instance of the Reporting Manager and click new report. | ||
| + | Select Table as the Type. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Put the approrpiate code into the Report Builder project | ||
| + | |||
| + | Running the example code should generate something similar to : | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The key to this report is the addData method which accepts a map and then outputs the map as a table such that the key is the column name and the value is the cell value. Thus adding multiple maps will add more rows to the table (remember each map should have the same keys as one another and in the same order so the output correctly). | ||
| + | |||
| + | Finally the row colour can be set by using row_color as a key in the map and the desired colour (Red, Green or Yellow) as the row colour. If you don't want a row colour set the colour to be '' | ||
| + | |||
| + | ===== Self Assessment ===== | ||
| + | |||
| + | Generate a report that list all Controller elements in the network element table with the following column names : Network Element Name, Technology, Street Address, Primary Field Tech. The report should have a carrier variable so that the report can be filtered by carrier | ||