In App Designer, the Template Designer option enables you to insert content as header or footer to grid widgets (app). When end-users export the grid widgets in the application (e.g. ModelHouse), the template content is displayed along with the business data in the exported file.
The following screenshot shows the exported contents of a grid widget along with the template content:
Perform the following steps in order to create a grid app with collated template content:
Create individual data sources and build a data source aggregator using Data Builder option in Canvas Studio. The Data Builder is used to collate data from multiple data sources.
Info Refer steps 1 to 10 from Creating Data Aggregator for Complex Report - Sample 2 for more information on creating a data source aggregator.
Create a grid app using App Designer option in Canvas Studio.
Info Refer Basic App Configuration - Simple Grid for more information on creating a grid app.
- Click Designer option in App Designer window to design the app template.
The Template Designer page appears with the list of header and footer options on the left-hand side of the page and the list of columns from the selected data source on the right-hand side of the page. - Select the type of the field to be designed.
- Select the column layout ( ). By default, a section with single-column (stack) layout is displayed and they can be altered from single-column (stack) to six-columns.
- Select the data source required from the given drop-down list.
- Drag and drop those columns into the section.
If you want to add additional sections, click Add Sub-Section, drag and drop the required columns into that section.
Note If you select the report layout ( ), you can drag and drop the reports into the section.
Note The report layout is only applicable for the PDF format.
If you select the content layout ( ), you can create a content by clicking Add Content and drag and drop it into the section.
Note The content layout is only applicable for the PDF format.
- If you select chart layout ( ), you can add existing charts by dragging and dropping those into the section.
Note The chart layout is only applicable for the PDF format.
Click Save ( ) icon, go back to the App Designer page and save the app.
Info Refer Existing Data Source - Simple Grid for more information on configuring a grid app.
- Map the grid app in a Workspace.
- Open the workspace in application (e.g. ModelHouse), click more option and select Export > Export to PDF option.
The following screenshot shows the exported contents of a grid widget along with the template content: