-
Notifications
You must be signed in to change notification settings - Fork 29
Dess wrd templates #1870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Dess wrd templates #1870
Changes from 3 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
c5c5d53
Initial draft
dessyordanova abedb51
Managing permission and How to edit a template
dessyordanova 7f4cbc0
polished
dessyordanova a70c6b1
Refactor the main article splitting in to one for end users and one f…
dessyordanova 140064c
Update configuring-report-templates.md
dessyordanova 1ea1410
Update report-templates.md
dessyordanova 4f4b539
Update report-templates.md
dessyordanova 3bc3e02
Update report-templates.md
dessyordanova e20af4e
Update configuring-report-templates.md
dessyordanova 678acbc
Update how-to-edit-a-report-template.md
dessyordanova 78fc401
Update report-templates.md
dessyordanova 6067ed1
polishing after sync with Dancho
dessyordanova bc7706d
Update designing-reports/report-designer-tools/web-report-designer/co…
dessyordanova cadcbac
Update designing-reports/report-designer-tools/web-report-designer/co…
dessyordanova 9db0767
Update designing-reports/report-designer-tools/web-report-designer/co…
dessyordanova 198b83c
Update user-guide/report-templates.md
dessyordanova e3ed4b1
Update user-guide/report-templates.md
dessyordanova 12059d3
Update user-guide/report-templates.md
dessyordanova 7530fc7
Update user-guide/report-templates.md
dessyordanova d345ad3
Update user-guide/report-templates.md
dessyordanova c24bef8
Update designing-reports/report-designer-tools/web-report-designer/co…
dessyordanova c86f7ea
Update designing-reports/report-designer-tools/web-report-designer/co…
dessyordanova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...orts/report-designer-tools/web-report-designer/how-to-edit-a-report-template.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| --- | ||
| title: How to Edit a Report Template | ||
| page_title: How to Edit a Report Template in Web Report Designer | ||
| description: Learn more about Report Templates in the Telerik Reporting Web Report Designer, how to create and reuse them. | ||
| slug: web-report-designer-how-to-edit-a-report-template | ||
| tags: web, report, designer, wrd, report, template, trtx, edit | ||
| published: True | ||
| position: 2 | ||
| --- | ||
|
|
||
| <style> | ||
| img[alt$="><"] { | ||
| border: 1px solid lightgrey; | ||
| } | ||
| </style> | ||
|
|
||
| # How to Edit a Report Template in Web Report Designer | ||
|
|
||
| |Minimum Version:|Q4 2025| | ||
| |----|----| | ||
|
|
||
| To edit an existing Report Template (.trtx file), follow the steps: | ||
|
|
||
| 1. Select the `New Report` option from the Menu: | ||
|
|
||
|  | ||
|
|
||
| 1. Create a Report **From Template**: | ||
|
|
||
|  | ||
|
|
||
| 1. Select the Report Template (.trtx file) you want to edit: | ||
|
|
||
|  | ||
|
|
||
| 1. Make the desired changes to the loaded predefined report | ||
|
|
||
| 1. Save as a **Template** overwriting the previously selected .trtx file: | ||
|
|
||
|  | ||
|
|
||
|
|
||
| ## See Also | ||
|
|
||
| * [Setting up the Web Report Designer in .NET applications]({%slug telerikreporting/designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-.net-5-and-.net-core-3.1-applications%}) | ||
| * [Web Report Designer Customization]({%slug telerikreporting/report-designer-tools/web-report-designer/web-report-designer-customization%}) | ||
| * [Report Templates in Standalone Report Designer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/report-templates%}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.05 MB
...ort-designer/images/web-report-designer-edit-report-templates-load-template.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22.2 KB
...ner/images/web-report-designer-report-templates-allowed-user-assets-manager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.6 KB
...t-designer/images/web-report-designer-report-templates-allowed-user-save-as.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+97.3 KB
...eb-report-designer/images/web-report-designer-report-templates-allowed-user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.1 KB
...eb-report-designer/images/web-report-designer-report-templates-create-blank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.7 KB
...t-designer/images/web-report-designer-report-templates-create-from-template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+87.4 KB
...b-report-designer/images/web-report-designer-report-templates-load-template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+51.3 KB
...t-designer/images/web-report-designer-report-templates-report-from-template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.8 KB
.../images/web-report-designer-report-templates-restricted-user-assets-manager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.1 KB
...esigner/images/web-report-designer-report-templates-restricted-user-save-as.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+98.5 KB
...report-designer/images/web-report-designer-report-templates-restricted-user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.5 KB
...-report-designer/images/web-report-designer-report-templates-save-as-report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11 KB
...eport-designer/images/web-report-designer-report-templates-save-as-template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.2 KB
...rts/report-designer-tools/web-report-designer/images/wrd-create-menu-option.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+52.5 KB
...ts/report-designer-tools/web-report-designer/images/wrd-save-as-menu-option.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
148 changes: 148 additions & 0 deletions
148
designing-reports/report-designer-tools/web-report-designer/report-templates.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,148 @@ | ||
| --- | ||
| title: Report Templates | ||
| page_title: Report Templates in Web Report Designer | ||
| description: Learn more about Report Templates in the Telerik Reporting Web Report Designer, how to create and reuse them. | ||
| slug: web-report-designer-report-templates | ||
| tags: web, report, designer, wrd, report, template, trtx | ||
| published: True | ||
| position: 1 | ||
| --- | ||
|
|
||
| <style> | ||
| img[alt$="><"] { | ||
| border: 1px solid lightgrey; | ||
| } | ||
| </style> | ||
|
|
||
| # Report Templates in Web Report Designer | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| |Minimum Version:|Q4 2025| | ||
| |----|----| | ||
|
|
||
| The main purpose of using report templates in the Telerik Web Report Designer is to help users quickly create consistent, professional-looking reports without starting from scratch every time. | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Why Use Report Templates? | ||
|
|
||
| * **Save Time**: Templates provide a ready-made layout and structure, so you can focus on your data and content rather than design. | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * **Ensure Consistency**: Using templates helps maintain a uniform look and feel across multiple reports - especially useful for teams or organizations. | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| * **Simplify Design for Non-Designers**: Even if you're not familiar with styling or layout best practices, templates give you a polished starting point. | ||
|
|
||
| * **Customize and Reuse**: You can modify a template to suit your needs and reuse it across different projects or departments. | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| * **Standardize Branding**: Templates can include your company’s logo, colors, fonts, and layout preferences - ensuring every report aligns with your brand. | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## How Templates Work in Web Report Designer | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| When creating a new report, instead of beginning from scratch with a **Blank Report**, you can start with a .trtx **Template** file. | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| |Create a Blank Report|Create From a Template| | ||
| |----|----| | ||
| | || | ||
|
|
||
| This gives you a predefined layout, styling, and structure, saving time and effort. Templates can include: | ||
| * Headers and footers | ||
| * Company branding (logos, colors, fonts) | ||
| * Predefined data regions (tables, charts, etc.) | ||
| * Style rules and formatting | ||
|
|
||
| This makes it easy to maintain a consistent look across multiple reports. | ||
|
|
||
| ### Starting from a Template | ||
|
|
||
| 1. Select the `New Report` option from the Menu: | ||
|
|
||
|  | ||
|
|
||
| 1. Select an existing `Template`: When creating a new report, you can choose a template from the available list. The designer loads the layout and styles, and you can then customize the content and data bindings. | ||
|
|
||
|  | ||
|
|
||
| 1. Enter `File Name` and `Format`: Once the template is selected, enter an appropriate name for the report you are creating from the template and choose the `Format`: | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|  | ||
|
|
||
| ### Creating Your Own Templates | ||
|
|
||
| You can design a report in the Web Report Designer and save it as a template. This allows you or your team to reuse it for future reports. When you wish to save the currenty opened report, select the `Save As...` option from the Menu: | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|  | ||
|
|
||
| The end-user is presneted the option to save the report either as a `Report` (.trdp or .trdx file format), or as a `Template` (.trtx file format): | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| |Save As Report|Save As Template| | ||
| |----|----| | ||
| | || | ||
|
|
||
| ### Report File Formats | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| The file extensions **.trdp**, **.trdx**, **.trtx** and **.trbp** are used in Telerik Reporting to represent different types of report files. Here's a breakdown of what each one is for: | ||
|
|
||
| |Format| Description| Use Case|Designer Compatibility| | ||
| |----|----|----|----| | ||
| |.trdp|**T**elerik **R**eport **D**efinition **P**ackage - Full report with resources. XML-based, editable|Ideal for packaging a report with its assets (images, styles, etc.).|Used in both Web Report Designer and Standalone Report Designer.| | ||
| |.trdx|**T**elerik **R**eport **D**efinition **X**ML - Report definition only. Packaged binary (ZIP)|Better for deployment and performance|Supported in Standalone Report Designer and Web Report Designer.| | ||
| |.trtx|**T**elerik **R**eport **T**emplate **X**ML - XML file used as a template|Used to create new reports based on a predefined layout or style|Supported in Standalone Report Designer and Web Report Designer.| | ||
| |.trbp|**T**elerik **R**eport **B**ook **P**ackage - Stores a report book - a collection of multiple reports|Used when you want to combine several reports into one document (e.g., for printing or exporting)|Standalone Report Designer (and programmatically)| | ||
|
|
||
| The report template format **.trtx** stands for Telerik Report Definition XML and contains the structure, layout, data bindings, and styling of a report. Unlike .trdp (which is a packaged format), .trdx is plain XML, making it easier to version control, edit manually, or generate dynamically. | ||
|
|
||
| ## Configure Report Templates Folder | ||
|
|
||
| If your application doesn't have a specific **Report Templates** folder setup, a default one will be created at root level of your project. You can also navigate to a specific custom folder that contains all the report templates you wish to use. | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| The [ReportDesignerServiceConfiguration]({%slug telerikreporting/designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-.net-5-and-.net-core-3.1-applications%}#add-configuration-settings-in-the-startupcs-file) class provides a configuration setting for specifying the **TemplateDefinitionStorage**. Thus, you can navigate to a specific folder that stores all report templates: | ||
|
|
||
| ````CSharp | ||
| services.TryAddSingleton<IReportDesignerServiceConfiguration>(sp => new ReportDesignerServiceConfiguration | ||
| { | ||
| TemplateDefinitionStorage = new FileTemplateDefinitionStorage("templates_folder_path", new[] { "sub_folder_to_exclude" }), | ||
| }); | ||
| ```` | ||
|
|
||
| >note Report templates (.trtx files) can be stored only in the configured `Report Templates` folder. Other file formats are not allowed in the folder. | ||
| ## Managing Permissions | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| To restrict specific actions or features for users on the client side, for example to restrict `Report Templates`, the [DeniedPermissions]({%slug telerikreporting/report-designer-tools/web-report-designer/web-report-designer-customization%}) setting of the **ReportDesignerServiceConfiguration** can be used. It allows developers to customize the designer experience by disabling certain tools, components, or capabilities based on application logic or user roles. | ||
|
|
||
| >note You can override the [GetDeniedPermissions]({%slug telerikreporting/report-designer-tools/web-report-designer/web-report-designer-customization%}) method in your custom implementation of the reporting service to apply different restrictions based on the logged-in user or other conditions. | ||
| #### Restricting the Templates Folder | ||
|
|
||
| ````CSharp | ||
| services.TryAddSingleton<IReportDesignerServiceConfiguration>(sp => new ReportDesignerServiceConfiguration | ||
| { | ||
| DeniedPermissions = ReportDesignerPermissionsBuilder.Build( | ||
| Permission.Commands_AssetsManager_ReportTemplates | ||
| ) | ||
| })); | ||
| ```` | ||
|
|
||
| Once the end-user is not granted permissions for the Report Templates, the following actions are available: | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| * Create a New Report from a Template - The **From Template** option is still *visible* but *restricted*. The restricted user is not allowed to create new or upload templates, delete or edit any existing templates. However, consuming the already existing templates is allowed. | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| |Restricted User|Default User| | ||
| |----|----| | ||
| ||| | ||
|
|
||
| * **Assets manager** - When a *restricted* user opens the Assets Manager, the `Report Templates` folder is invisible: | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| |Restricted User|Default User| | ||
| |----|----| | ||
| ||| | ||
|
|
||
| * **Save Report As** - The *restricted* end-user can only save as a **Report**. The option for saving as a **Template** is hidden. | ||
dessyordanova marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| |Restricted User|Default User| | ||
| |----|----| | ||
| ||| | ||
|
|
||
| ## See Also | ||
|
|
||
| * [How to Edit a Report Template]({%slug web-report-designer-how-to-edit-a-report-template%}) | ||
| * [Setting up the Web Report Designer in .NET applications]({%slug telerikreporting/designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-.net-5-and-.net-core-3.1-applications%}) | ||
| * [Web Report Designer Customization]({%slug telerikreporting/report-designer-tools/web-report-designer/web-report-designer-customization%}) | ||
| * [Report Templates in Standalone Report Designer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/report-templates%}) | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.