[]
        
(Showing Draft Content)

Create Custom Report Template

Wyn Enterprise allows you to create custom report templates of your choice that you can use whenever you create a new report with similar content and structure. For example, a custom report template may have a page header displaying the company logo and the address.


This article explains the different methods to create a custom report template on the Resource Portal, and how to use the template as the basis for the new report. For more details, refer to the following sections -

Create a Custom Report Template

There are two methods to create a custom report template on the Resource Portal. You can either create a custom report template from scratch or use an existing report. Both of these methods are elaborated in the following sections.

Method 1: To Create a Custom Report Template from Scratch

Use the below steps to create a report based on a standard (or built-in) report template and then save it as a template.

  1. On the Resource Portal of Wyn Enterprise, create a report by selecting Create > Create Report.


    Create a new report

  2. In the Report Templates dialog box that appears, select a template for your report. You can choose a Blank RDL Report, a Blank Page Report, or a custom report template (if any) from the available ones.


    Choose the template


    This is commented out. Note: You can hide the standard report templates, that is, blank RDL report and blank Page report, by setting the Hide blank RDL report and Hide blank Page report properties to 'True' in the Feature Settings of the Admin Portal. For more information, see the Viewer Settings article.

  3. After selecting the template, click the Create Report button.

  4. A new report is created based on the chosen standard report template. You can create or customize the report by binding it to a dataset, adding report controls, improving the report layout and appearance, etc. to suit your needs.


    In the below report, we added an Image control and a TextBox control on the Page Header area to display the company logo and address.


    Add two textboxes

  5. Finally, click the Save button on the Menu bar to save the report.


    Save the report

  6. In the Save As dialog box that appears, select the category where you want to save the report. For example, select SampleCategory1.


    Select sample category

  7. Enable the Save as Template option to save the report as a custom report template.


    Save the template


    Your report has been saved as a custom template.

  8. In order to add a thumbnail to the custom report template, navigate to Document Types > Template.

  9. Select the newly created custom template in the Template tab and click the Info button.


    Click Info button

  10. In the Info Panel that appears, click the thumbnail image to add or replace the template thumbnail.


    Click Thumbnail

  11. An Open dialog box appears. Navigate to the desired location and select the thumbnail image which you want to use for the template. Then, click the Open button.

    Note: The supported image file types are .png, .jpeg, .bmp, and .gif.

    Open dialog box


    The thumbnail image is now added for the custom template.

    Note: If you upload an image with large dimensions, it will be clipped (starting from the upper left corner) to fit the tile size.

    Add thumbnail to custom template

Method 2: To Create a Custom Report Template from an Existing Report

Use the below steps to copy and convert an existing report into a report template.

  1. On the Resource Portal of Wyn Enterprise, select the report based on which you want to create a custom report template.


    Select the report

  2. Click on the More button and select the As Template option from the list.


    Select the As Template option

  3. A new report template is created based on the selected report. You can view the created report template in the Template tab. By default, the name of the template is 'reportname-Template'.


    Copy report as report template

  4. In order to add a thumbnail to the newly created report template, click the Info button.


    Click Info button

  5. In the Info Panel that appears, click the thumbnail image to add or replace the template thumbnail.


    Click Thumbnail

  6. An Open dialog box appears. Navigate to the desired location and select the thumbnail image which you want to use for the template. Then, click the Open button.

    Note: The supported image file types are .png, .jpeg, .bmp, and .gif.

    Open dialog box


    The thumbnail image is now added for the custom template.

    Note: If you upload an image with large dimensions, it will be clipped (starting from the upper left corner) to fit the tile size.

    Add thumbnail to custom template

To Create Report based on Custom Report Template

Follow the below steps to use the custom report template (i.e. CustomTemplate1) created above as the basis of a new report.

  1. In the Document Portal, select Create > Create Report to create a new report.

  2. In the Report Templates dialog box that appears, navigate to the desired category where you saved your report template. In this case, navigate to the SampleCategory1. The panel on the left displays the template details such as the name, description, created date, created by, modified, and modified by.


    Select the custom report template


    You can also navigate to All Templates category that lists all the available templates on the server (including the standard templates). This is the default chosen category.


    Select the custom report template

  3. In case you did not assign the template any category, the report template will then be listed under the Standard Templates category as shown below.


    Select the custom report template

  4. Click the Create Report button. A new report is created based on CustomTemplate1.