Skip to content

How to Integrate Report Designer in an Angular App

Integrate Report Designer in an Angular app on Angular 17 and above: install packages, configure angular.json, add the component, and connect a Web API.

TL;DR:

To integrate Report Designer in an Angular app, install @boldreports/angular-reporting-components with jQuery and the Bold Reports® typings, add the designer styles, scripts, and "outputHashing": "media" to angular.json, import BoldReportDesignerModule in a standalone component, and set serviceUrl to a Web API service. This guide targets Angular 17 and above.

How does Report Designer fit into an Angular app?

Bold Reports, an embedded reporting platform, ships the Report Designer as a browser-side component that puts a full report authoring surface inside your Angular application: drag-and-drop report items, data source and dataset configuration, expressions, and a live preview of RDL and RDLC reports. The Angular app renders the designer. A separate Web API service processes report data, saves layout changes, and handles exports.

Authoring and consumption are separate components. If end users only need to open and export finished reports, pair this setup with the Angular Report Viewer. A common split is the Angular Report Designer for authors and the Viewer for everyone else.

What do you need before you integrate Report Designer in an Angular app?

The versions below were checked against the Bold Reports Angular Report Designer getting-started guide on October 7, 2026. Re-check them before each major Angular upgrade. The steps were then built with Angular CLI 22.3.0 and 18.2.21 and version 15.1.17 of the Bold Reports packages in November 2026; the fixes those builds surfaced are called out in Steps 4 and 5, in the production section, and in the troubleshooting list.

  1. Node.js 20.x or 22.x and above, per the Bold Reports guide. Each Angular release sets its own minimum Node.js version: Angular 22, the current release in November 2026, needs Node.js 22.22.3 or later (or 24.15.0 or later), so Node.js 20 works only up to Angular 21. Confirm yours in the Angular version compatibility table.
  2. npm v10.x.x or higher.
  3. Angular CLI for Angular 17 or above, installed in Step 1.
  4. A Web API service for report processing: the Bold Reports hosted demo service to start, or your own (see Step 6).

This guide covers standalone components, which the Angular CLI generates by default from Angular 17. If your project uses NgModules or an earlier Angular version, use the Getting Started for Earlier Versions guide instead.

How do you integrate Report Designer in an Angular app, step by step?

The seven steps below take a new Angular project to a running designer. Every sample uses the project name reportdesignerapp, so substitute your own name consistently, including the project key in angular.json.

Step 1: Install the Angular CLI and create the application

Install the CLI globally, then scaffold the project and move into it:

Terminal
npm install -g @angular/cli@latest
ng new reportdesignerapp
cd reportdesignerapp

The CLI asks which features to include, and the prompts differ between CLI versions. Choose CSS for the stylesheet format. If the CLI asks about server-side rendering or prerendering, answer No, because the designer needs window.jQuery in the browser. Routing is not required for this walkthrough. Accept the defaults for anything else.

ng new prompts in terminal
ng new prompts

Step 2: Install the Bold Reports packages and jQuery

Bold Reports distributes the Angular wrapper on npm as @boldreports/angular-reporting-components. The designer also requires jQuery, and the typings package gives TypeScript the definitions for the Bold Reports components.

Terminal
npm install @boldreports/angular-reporting-components --save-dev
npm install --save-dev jquery
npm install --save-dev @types/jquery
npm install --save-dev @boldreports/types

Step 3: Register the Bold Reports typings

Add jquery and reports.all to the types array in tsconfig.app.json so the compiler loads their definitions:

JSON
{
  "compilerOptions": {
    "types": [
      "jquery",
      "reports.all"
    ]
  }
}

Then add the @boldreports/types package to typeRoots in tsconfig.json, next to the default @types root, so the compiler can resolve reports.all:

JSON
{
  "compilerOptions": {
    "typeRoots": [
      "node_modules/@types",
      "node_modules/@boldreports/types"
    ]
  }
}
typeRoots setting in tsconfig.json
typeRoots in tsconfig.json

Step 4: Add the styles, CodeMirror, and jQuery to angular.json

Make one edit to angular.json. Under projects > reportdesignerapp > architect > build > options, add the designer style sheet, the CodeMirror files, and jQuery, and set outputHashing to media. The style sheet themes the designer UI. CodeMirror provides syntax highlighting when authors edit SQL queries and Visual Basic expressions, and jQuery must be loaded as a global script.

Bold Reports documents CodeMirror 5.45.0 as the version compatible with the Angular Report Designer, as of October 2026. Install that version with --save-exact, so package.json records 5.45.0 rather than a range that a later install could resolve to a newer 5.x release, then make the angular.json edit:

Terminal
npm install codemirror@5.45.0 --save-exact
JSON
{
  "projects": {
    "reportdesignerapp": {
      "architect": {
        "build": {
          "options": {
            "outputHashing": "media",
            "styles": [
              "src/styles.css",
              "./node_modules/@boldreports/javascript-reporting-controls/Content/v2.0/tailwind-light/bold.report-designer.min.css",
              "./node_modules/codemirror/lib/codemirror.css",
              "./node_modules/codemirror/addon/hint/show-hint.css"
            ],
            "scripts": [
              "./node_modules/codemirror/lib/codemirror.js",
              "./node_modules/codemirror/addon/hint/show-hint.js",
              "./node_modules/codemirror/addon/hint/sql-hint.js",
              "./node_modules/codemirror/mode/sql/sql.js",
              "./node_modules/codemirror/mode/vb/vb.js",
              "./node_modules/jquery/dist/jquery.js"
            ]
          }
        }
      }
    }
  }
}

The outputHashing line is not in the Bold Reports guide, but the build fails without it. The designer style sheet references two different images with the same file name for each data source icon, for example common-images/light-theme/sql.png and common-images/server-data-images/light-theme/sql.png. Angular’s application builder, the default for new projects since Angular 17, copies style sheet images into a single media folder, and development builds don’t hash those file names, so ng serve and ng build --configuration development stop with “Two output files share the same path but have different contents.” Hashing media file names gives each image a unique name. Production builds already hash every file, so the setting changes only development output.

The sample uses the tailwind-light theme. To switch themes, change the folder name in the CSS path: Content/v2.0/[theme-name]/bold.report-designer.min.css. Version 15.1.17 ships twelve themes: bootstrap, bootstrap5.3, fluent, material, material3, and tailwind, each in a -light and a -dark variant. If an older integration imported jQuery in a TypeScript file, remove that import and rely on the scripts entry above, which is the method the Bold Reports guide uses.

outputHashing, styles, and scripts in angular.json
outputHashing, styles, and scripts in angular.json

Step 5: Add the Report Designer component

Open src/app/app.ts (app.component.ts in Angular 17 to 19) and replace its contents with the code below. Keep the exported class name your CLI generated, because main.ts imports it by name: App in Angular 20 and above, AppComponent in Angular 17 to 19. The four script imports load the designer’s dependent scripts and the Viewer and Designer bundles, so they don’t need a second entry in angular.json.

TypeScript
import { Component } from '@angular/core';
import { BoldReportDesignerModule } from '@boldreports/angular-reporting-components';

// Report Designer component dependent scripts
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/common/bold.reports.common.min';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/common/bold.reports.widgets.min';

// Report Viewer and Designer component scripts
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/bold.report-viewer.min';
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/bold.report-designer.min';

@Component({
  selector: 'app-root',
  standalone: true,             // required in Angular 17 and 18; the default from Angular 19
  imports: [BoldReportDesignerModule],
  templateUrl: './app.html',    // app.component.html in Angular 17 to 19
  styleUrl: './app.css'         // app.component.css in Angular 17 to 19
})
export class App {              // AppComponent in Angular 17 to 19
  public serviceUrl: string;

  constructor() {
    this.serviceUrl = 'https://demos.boldreports.com/services/api/ReportingAPI';
  }
}

Keep the standalone: true line on Angular 17 and 18. Components there are standalone only when the flag is set, and without it the build stops with “‘imports’ is only valid on a component that is standalone.” Angular 19 made standalone the default, so from version 19 on the line is redundant but harmless. The Bold Reports guide’s sample leaves it out.

Then open src/app/app.html (app.component.html in Angular 17 to 19), replace its contents with the designer element, and bind serviceUrl to the component property:

Markup
<bold-reportdesigner id="designer" [serviceUrl]="serviceUrl"
  style="position: absolute; height: 550px; width: 1250px;">
</bold-reportdesigner>

Step 6: Choose the Web API service

The designer cannot process data or file actions on its own. The sample above points serviceUrl at the Bold Reports hosted demo service, which is enough to create, edit, and browse sample reports while you evaluate the setup. For your own data, create a service with one of these guides, then replace the URL:

If the service runs on a different origin than the Angular app, enable CORS on the service for the Angular app’s origin, or reports will fail to load, save, and preview.

Step 7: Serve the application and validate the designer

From the project folder, start the dev server. The --open option launches your browser at http://localhost:4200/.

Terminal
ng serve --open

Before moving on, confirm that:

  • The designer toolbar, canvas, and property panel all render, with no blank or partially loaded regions.
  • The browser console shows no jQuery, typings, or module-resolution errors.
  • Creating a new report, or opening a sample report from the connected Web API, succeeds.
Report Designer running in browser
Report Designer running in the browser

Angular version compatibility and setup paths

Use this table to confirm which setup path applies to your project. The path depends on both the Angular version and the Report Designer version.

Your projectFile namesSetup guide
Angular 20 and aboveapp.ts, app.html, app.cssThis guide
Angular 17 to 19app.component.ts, app.component.html, app.component.cssThis guide (keep standalone: true on 17 and 18)
Angular earlier than 17 (NgModule)app.module.ts, app.component.*Getting Started for Earlier Versions
Report Designer older than v5.2.xxAny Angular versionClassic Report Designer guide

How do you secure Report Designer before production?

Treat the Angular client as public code. If the designer can do something in the browser, a user can try it directly against your Web API, so enforce authentication and authorization on the Web API service rather than in the Angular component.

  • Replace the demo service. The Bold Reports hosted demo API is for evaluation. Move to your own ASP.NET or ASP.NET Core Web API service before you connect real data or real users.
  • Authenticate every request to the service with the identity provider your application already uses, and authorize report authoring separately from report viewing. The designer raises an ajaxBeforeLoad event before each request to the service, and the event’s headers argument accepts custom headers, so the Angular app can attach the access token there.
  • Limit what authors can change. Bold Reports documents how to restrict data source and dataset editing in the Angular Report Designer.
  • Set CORS deliberately. Allow only the origins that host your Angular app.

The diagram below shows one way to arrange this. The Angular app requests an access token from your identity provider, for example, Microsoft Entra ID through OAuth 2.0 or OpenID Connect. The Web API service validates that token, applies authorization and CORS rules, and only then passes work to the report processing layer and your data sources.

Designer authentication flow diagram
Designer authentication flow

How do you build the designer app for production?

When you are ready to ship, run ng build, which uses the production configuration by default. The Bold Reports production deployment guide still shows ng build --prod, but current Angular versions no longer accept that flag; Angular 18 and 22 both stop with “Unknown argument: prod.”

Raise the initial bundle budget before the first production build. The designer scripts put the initial bundle at about 19 MB (2.7 MB compressed) in an Angular 22 test build, far past the CLI’s default 1 MB error limit, so ng build fails with “bundle initial exceeded maximum budget.” In angular.json, under configurations > production > budgets, change the initial entry:

JSON
{
  "type": "initial",
  "maximumWarning": "25MB",
  "maximumError": "30MB"
}

The build then completes, with warnings that the four Bold Reports script modules are CommonJS rather than ES modules; those warnings don’t stop the build. Deploy the contents of dist/reportdesignerapp/browser to your web server.

Troubleshooting: common failures and their fixes

  1. jQuery is not defined in the console: Confirm jquery.js is listed under scripts in angular.json, then restart ng serve, because the CLI reads angular.json at startup.
  2. “Two output files share the same path but have different contents: media\sql.png”: Set "outputHashing": "media" in the build options of angular.json (Step 4), then restart ng serve.
  3. The designer canvas stays blank: Confirm the CSS path matches the v2.0 folder structure of your installed package version, and that the four script imports from Step 5 are in app.ts.
  4. SQL or Visual Basic syntax highlighting is missing in the expression editor: Confirm the CodeMirror scripts and styles are referenced, that package.json pins codemirror to 5.45.0, and that both the sql.js and vb.js modes are included.
  5. Reports will not save, load, or preview: Confirm serviceUrl points to a reachable Web API and, if the API is on a different origin, that CORS is configured on the API.
  6. TypeScript errors referencing reports.all: Confirm the types array in tsconfig.app.json and the typeRoots entry in tsconfig.json both include the Bold Reports typings.
  7. “‘imports’ is only valid on a component that is standalone”: Add standalone: true to the @Component decorator. Angular 17 and 18 need it (Step 5).
  8. “bundle initial exceeded maximum budget” on ng build: Raise the initial budget in the production configuration, as shown in the production section above.
  9. ReferenceError: window is not defined during build or serve: Server-side rendering or prerendering is enabled. The designer needs the browser, so recreate the project with SSR set to No, or keep the designer out of server-rendered routes.

Where to go after the designer renders

With the designer running, the usual next moves are to connect your own data and decide how finished reports reach users. Add the Angular Report Viewer to consume reports and use the Angular Reporting documentation as the full component reference.

Want to build the same integration on another stack? See the sibling guides for React, ASP.NET MVC, and ASP.NET Web Forms. If you also need centralized report management, scheduling, or a catalog, read why Bold Report Server is worth considering.

Bold Reports comes with a 30-day free trial with no credit card required. You can also contact us through our contact page or, if you already have an account, log in to submit a support question.

Frequently asked questions

  1. 1.

    How do I add a Report Designer to an Angular application?

    Install @boldreports/angular-reporting-components with jQuery and the Bold Reports typings, register the typings in the TypeScript config, add the designer styles, CodeMirror, jQuery, and "outputHashing": "media" to angular.json, import BoldReportDesignerModule in a standalone component, and set serviceUrl on the bold-reportdesigner element to a Web API service.

  2. 2.

    Which Angular and Node versions does the Bold Reports Report Designer support?

    This guide applies to Angular 17 and above with Node.js 20.x or 22.x and above and npm 10.x.x or higher, as listed in the Bold Reports documentation in October 2026. Angular 22 itself needs Node.js 22.22.3 or later, or 24.15.0 or later. For Angular versions earlier than 17, follow the Getting Started for Earlier Versions guide, which covers the NgModule setup.

  3. 3.

    Do I need a Web API to use the Angular Report Designer?

    Yes. The Report Designer relies on a Web API service to process report data and handle file actions such as saving and exporting. Start with the Bold Reports hosted demo API for evaluation, then create your own ASP.NET or ASP.NET Core Web API service before using real data or real users.

  4. 4.

    How do I fix a “jQuery is not defined” error in the Angular Report Designer?

    Add ./node_modules/jquery/dist/jquery.js to the scripts array under architect, build, options in angular.json, then stop and restart ng serve, because the Angular CLI reads angular.json at startup. The Report Designer requires window.jQuery, so confirm the browser console no longer reports the error after the restart.

  5. 5.

    Can I use the Report Designer without a Bold Report Server?

    Yes. This guide uses a standalone Web API service rather than a Bold Report Server instance, so the designer works without one. A Report Server adds centralized report management, scheduling, and a report catalog if you need them later.

Photo of Rose Kamadi

Meet the author

Rose is a content publisher at Syncfusion who creates user-focused content that drives adoption of enterprise reporting. She translates advanced reporting capabilities into clear, practical guidance for both technical and business audiences. With a focus on precision and real-world implementation, she enables developers and report authors to design and deliver pixel-perfect paginated reports, connecting product features to scalable workflows.

Newsletter

Reporting insights, in your inbox

New posts on embedded reporting, SSRS and Crystal Reports migration, and product updates. No spam.

Keep reading

mis-reports8 min read

MIS Reports: Benefits, Types, Key Components, and Preparation Steps

This blog will walk you through MIS reports, what are they, their benefits, types, key components, and steps for preparing them using the Bold Reports® reporting tool. What are MIS reports? A management information system (MIS) report is a document that provides information to support decision-making and management activities within an organization.

Arulraj A
alternating-row-colors-in-an-ssrs-tablix6 min read

How to Apply Alternating Row Colors in an SSRS Tablix

Many organizations use SSRS to work with large amounts of data. But as reports get bigger, they can become harder to read. One simple way to improve clarity is by applying alternating row colors. This technique helps users quickly scan through rows and spot patterns more easily.

Eunice Damaris Akinyi

All blog posts

Ready to Get Started?

Ready to Modernize Reporting the Modern Way?

From migrating legacy reports to embedding reporting in applications, Bold Reports helps you move forward with confidence.

No credit card required.