Search results
PDF

CDN

The CDN links are provided individually for all the scripts and style sheets of Bold Reports JavaScript Reporting component.

Bold Reports dependency libraries

The CDN script files are maintained for each version of the Report Platform SDK individually.

The three scripts, namely bold.reports.common.min.js, bold.reports.widgets.min.js, and bold.report-viewer.min.js are mandatory to render the Bold Report Viewer.

Name Details CDN link
bold.reports.common.min.js Common script for reporting widgets. Secured link: https://cdn.boldreports.com/5.4.20/scripts/common/bold.reports.common.min.js
Unsecured link: http://cdn.boldreports.com/5.4.20/scripts/common/bold.reports.common.min.js
bold.reports.widgets.min.js Supports Syncfusion widgets to render in HTML5 format. Secured link: https://cdn.boldreports.com/5.4.20/scripts/common/bold.reports.widgets.min.js
Unsecured link: http://cdn.boldreports.com/5.4.20/scripts/common/bold.reports.widgets.min.js
ej.chart.min.js Renders the chart item. Add this script only if your report contains the chart report item. Secured link: https://cdn.boldreports.com/5.4.20/scripts/data-visualization/ej.chart.min.js
Unsecured link: http://cdn.boldreports.com/5.4.20/scripts/data-visualization/ej.chart.min.js
ej2-base.min.js Renders the gauge item. Add this script only if your report contains the gauge report item. Secured Link: https://cdn.boldreports.com/5.4.20/scripts/ common/ej2-base.min.js
Unsecured Link: https://cdn.boldreports.com/5.4.20/scripts/ common/ej2-base.min.js
ej2-data.min.js Renders the gauge item. Add this script only if your report contains the gauge report item. Secured link: https://cdn.boldreports.com/5.4.20/scripts/ common/ej2-data.min.js
Unsecured Link: https://cdn.boldreports.com/5.4.20/scripts/ common/ej2-data.min.js
ej2-pdf-export.min.js Renders the gauge item. Add this script only if your report contains the gauge report item. Secured link: https://cdn.boldreports.com/5.4.20/scripts/ common/ej2-pdf-export.min.js
Unsecured Link: https://cdn.boldreports.com/5.4.20/scripts/ common/ej2-pdf-export.min.js
ej2-svg-base.min.js Renders the gauge item. Add this script only if your report contains the gauge report item. Secured link: https://cdn.boldreports.com/5.4.20/scripts/ common/ej2-svg-base.min.js
Unsecured Link: https://cdn.boldreports.com/5.4.20/scripts/ common/ej2-svg-base.min.js
ej2-lineargauge.min.js Renders the linear gauge item. Add this script only if your report contains the linear gauge report item. Secured link: https://cdn.boldreports.com/5.4.20/scripts/data-visualization/ej2-lineargauge.min.js
Unsecured link: http://cdn.boldreports.com/5.4.20/scripts/data-visualization/ej2-lineargauge.min.js
ej2-circulargauge.min.js Renders the circular gauge item. Add this script only if your report contains the circular gauge report item. Secured link: https://cdn.boldreports.com/5.4.20/scripts/data-visualization/ej2-circulargauge.min.js
Unsecured link: http://cdn.boldreports.com/5.4.20/scripts/data-visualization/ej2-circulargauge.min.js
ej2-maps.min.js Renders the map item. Add this script only if your report contains the map report item. Secured link: https://cdn.boldreports.com/5.4.20/scripts/data-visualization/ej2-maps.min.js
Unsecured link: http://cdn.boldreports.com/5.4.20/scripts/data-visualization/ej2-maps.min.js
bold.report-viewer.min.js Renders the Syncfusion JavaScript Report Viewer widget. Secured link: https://cdn.boldreports.com/5.4.20/scripts/bold.report-viewer.min.js
Unsecured link: http://cdn.boldreports.com/5.4.20/scripts/bold.report-viewer.min.js

External dependency libraries

The basic syntax is,

https://cdn.boldreports.com/external/fileName

Example: https://cdn.boldreports.com/external/jquery-1.10.2.min.js

Name Details CDN link
jQuery 1.10.2 Common jQuery script to render the Syncfusion JavaScript Reporting widgets Secured link: https://cdn.boldreports.com/external/jquery-1.10.2.min.js
Unsecured link: http://cdn.boldreports.com/external/jquery-1.10.2.min.js

The CDN links for all the CSS files are provided in the following table. Refer to the following syntax:

https://cdn.boldreports.com/[version]/content/[theme-name]/[fileName]

Name Details CDN link
Material (default theme) Includes the CSS properties defined for the JavaScript Reporting component in material. (Default-theme) Secured link: https://cdn.boldreports.com/5.4.20/content/material/bold.reports.all.min.css
Unsecured link: http://cdn.boldreports.com/5.4.20/content/material/bold.reports.all.min.css
Office-365 Includes the CSS properties defined for the JavaScript Reporting component in office-365 theme. Secured Link: https://cdn.boldreports.com/5.4.20/content/office-365/bold.reports.all.min.css
Unsecured Link: http://cdn.boldreports.com/5.4.20/content/office-365/bold.reports.all.min.css
High-contrast-01 Includes the CSS properties defined for the JavaScript Reporting component in high-contrast-01 theme. Secured Link: https://cdn.boldreports.com/5.4.20/content/high-contrast-01/bold.reports.all.min.css
Unsecured Link: http://cdn.boldreports.com/5.4.20/content/high-contrast-01/bold.reports.all.min.css
High-contrast-02 Includes the CSS properties defined for the JavaScript Reporting component in high-contrast-02 theme. Secured Link: https://cdn.boldreports.com/5.4.20/content/high-contrast-02/bold.reports.all.min.css
Unsecured Link: http://cdn.boldreports.com/5.4.20/content/high-contrast-02/bold.reports.all.min.css
Bootstrap-theme Includes the CSS properties defined for the JavaScript Reporting component in bootstrap theme. Secured link: https://cdn.boldreports.com/5.4.20/content/bootstrap-theme/bold.reports.all.min.css
Unsecured link: http://cdn.boldreports.com/5.4.20/content/bootstrap-theme/bold.reports.all.min.css

All the provided CDN links can be accessed either through http or https.

Refer local Scripts and CSS when CDN fails

One of the major risks with CDN links is, sometimes, it may go down due to the network or connection problems. On such scenarios, you can refer the local scripts and CSS files dynamically in application by checking if the scripts and CSS files are loaded through CDN that returns undefined as demonstrated in the following code sample.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>My first HTML page</title>
    // CDN LINK references
     <link href="http://cdn.boldreports.com/5.4.20/content/material/bold.reports.all.min.css"  rel="stylesheet" />
    <script src="http://cdn.boldreports.com/external/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="http://cdn.boldreports.com/5.4.20/scripts/common/bold.reports.common.min.js"></script>
    <script src="http://cdn.boldreports.com/5.4.20/scripts/common/bold.reports.widgets.min.js"></script>
    <script src="http://cdn.boldreports.com/5.4.20/scripts/bold.report-viewer.min.js"></script>
    <script type="text/javascript">

        if (typeof jQuery == "undefined") { // If CDN fails, jQuery returns undefined
            // Referring local scripts - Specify the path where the below files are located in your machine
            document.write(decodeURIComponent('%3Cscript src="Scripts/jquery-1.10.2.min.js" %3E%3C/script%3E'));
        }

        if (typeof ej == "undefined") { // If CDN fails, ej returns undefined.
            // Refer the Syncfusion stylesheets and scripts from the local path here

            // StyleSheet reference from the local system path
            document.write(decodeURIComponent('%3Clink rel="stylesheet" href="Content/bold-reports/material/bold.reports.all.min.css" %3C/%3E'));
            document.write(decodeURIComponent('%3Cscript src="Scripts/bold-reports/common/bold.reports.common.min.js" %3E%3C/script%3E'));
            document.write(decodeURIComponent('%3Cscript src="Scripts/bold-reports/common/bold.reports.widgets.min.js" %3E%3C/script%3E'));
            // Script reference from the local system path
            document.write(decodeURIComponent('%3Cscript src="Scripts/bold-reports/bold.report-viewer.min.js" %3E%3C/script%3E'));
        }
    </script>
</head>
<body>
    <script type="text/javascript">
        $(function () {
            // initialization boldReportViewer
            $("#viewer").boldReportViewer();
        });
    </script>
</body>
</html>