Build / Reports
Report Blueprints
A Report Blueprint is the reusable design of a report: its pages, the elements on them, its look, and its Report Variables. This page covers building and editing one, by hand or with Eric. Every Report you save prints the blueprint as it is at that moment, and editing the blueprint never changes Reports already saved.
Create a blueprint
Section titled “Create a blueprint”- Choose Reports on the rail.
- Click New report. A blueprint called “Untitled Report” opens on the Workspace Canvas, with one Letter-size portrait page.
- Click Edit report title (the pencil beside the title), type a name, and press Enter.
You can also ask Eric for the report you want, for example “Make a weekly sales report from our invoices for last week, with the total and a daily trend.” He creates the blueprint and builds it.
The title names the blueprint in your lists. It also names each Report, unless you set a Report title.
How the editor saves
Section titled “How the editor saves”- Edits on the canvas save on their own shortly after you stop. The status beside the title shows Saving… or Unsaved changes meanwhile.
- Edits to an element save when you click Save in the Report Element Workspace.
- Some layouts can’t be saved: overlapping elements, two continuing elements on one page, an element placed below a continuing one, a limit crossed, or a Report title that names a variable you removed. The editor says why above the canvas, and nothing saves until you fix it.
- When you leave the report, pending edits save first. If they still can’t be saved, Leave without saving? asks before they’re discarded.
The editor rail
Section titled “The editor rail”The rail beside the pages holds the report’s actions. Hover a button to see what it does.
| Control | What it does |
|---|---|
| Page size | Letter, Legal, Tabloid, or A4, for every page of the report |
| Report settings | The blueprint’s slug, the Report title, and the Report Variable declarations |
| Variables | Working Values for the report’s variables. It appears once the report declares one |
| Report Style | The report’s House Style and its own colors, chart palette, font, and base size |
| House Styles | Opens the House Style editor |
| Add page | Adds a page at the end |
| Preview Report | Saves, then downloads a preview PDF without creating a Report |
| Save Snapshot | Saves, then creates a Report and downloads its PDF |
Without Report Write Permission the editor is read-only. You still see every element’s live preview and can set Working Values.
Each page is drawn at the real size of the report’s paper, and each one starts its own PDF page. A page’s toolbar has:
- Add element, which places a blank element on that page
- Landscape, which switches that page between portrait and landscape. Portrait is the default
- Move page up, Move page down, and Remove page. Removing a page removes its elements too, and a report keeps at least one page
Below the last page, a blank sheet offers Add page and Add element on a new page. Drop an element on it to move that element onto a new page.
A page with no elements prints as a blank sheet. The editor says so under the page.
Changing the page size or a page’s orientation keeps every element on the sheet.
HTML Report Elements
Section titled “HTML Report Elements”Every element on a page is an HTML Report Element: a fixed box that draws its content with its own HTML, CSS, and JavaScript. There are no element types to choose from. Add element inserts a blank element with starter content that you or Eric replace.
An element draws everything inside its box, including its own heading, borders, and background. Nothing is added around it. Because one element can lay out several columns, charts, and tables, a page usually reads best with a few large elements rather than many small ones.
On the canvas, elements stay interactive: a sortable table sorts, and a chart shows tooltips. The PDF prints them static.
Arrange elements
Section titled “Arrange elements”- Drag an element’s edges to resize it on the page’s 12-column grid. An element spans at least 2 columns.
- Drag the move handle on its toolbar (Drag to move element) to move it on its page or onto another page. It keeps its size and content.
- Click Remove element to delete it.
- Elements on a page can’t overlap.
With an element focused, Enter opens it, Space selects it, and Delete removes it.
Edit an element
Section titled “Edit an element”The Report Element Workspace opens over the report with the element’s definition file beside a Live preview at the element’s exact printed size.
- Click Edit element on the element’s toolbar, or focus the element and press Enter.
- Edit the definition. The Live preview follows as you type. If the file can’t be read, the preview pauses and says why.
- Click Save, or press ⌘ S / Ctrl S.
- Close the workspace with its close button or Esc.
Discard returns to the last saved file. Closing with unsaved edits asks whether to save or discard them. The workspace also holds the continuation controls and the Images panel.
The element definition
Section titled “The element definition”Each element is one YAML file:
| Key | What it does |
|---|---|
title |
Labels the element on the canvas and for Eric. It isn’t printed; the HTML prints its own heading if it needs one |
definition |
The same shape as a Query Widget definition, with display.type: html and the element’s HTML in display.body |
continuation |
true turns on Element Continuation |
pageCap |
The element’s Element Page Cap, from 1 to 20 |
images |
The report images the element shows, by name |
Content that never changes, such as a paragraph of commentary, goes straight into the HTML. Data comes from queries.
Data and queries
Section titled “Data and queries”An element can read data two ways, both optional:
- A main query over a Dataset, Query Dataset, or Stash, as in a Query Widget
- Up to eight named queries, each returning up to 1,000 rows, so one element can combine several results, such as sales and tickets side by side
The element’s JavaScript receives its query results and draws them. Each element sees only its own data.
Every element has the Resplendent HTML Kit loaded:
--rs-*design tokens for colors, fonts, and sizes, which follow the report’s House Style and Report Stylers-*layout and component classes- Helpers for KPIs, bar lists, tables, charts, and sparklines
An element can also load a charting or table library from an approved CDN, pinned to an exact version. If the library can’t load when the PDF prints, the PDF fails and names the element.
Elements can style themselves from their data. For example, the kit table can color a cell or row from a color column in your results.
Images
Section titled “Images”Report images live in a private, company-wide store, and any blueprint can reuse them.
- In the Report Element Workspace, click Images.
- Click Upload image, or paste an image address and click Import URL. To reuse an image, search by filename or description instead.
- Click Use on the image. It’s added to the element’s
imagesunder a name. - Show it in the HTML with the snippet the workspace gives you, for example
<img data-rs-image="logo" alt="">. - Click Save.
- Images can be PNG, JPEG, WebP, or GIF, up to 10 MB. A GIF prints its first frame.
- An imported URL is fetched once into the store, so the report never depends on another website when it prints.
- An element can name up to 16 images. Images share the element’s 2 MB data budget with its query results, so prefer reasonably sized files.
To show your House Style’s Company Logo, name company-logo under images. If the report’s House Style has no logo, or the logo can’t be used, the image is hidden instead of breaking the element. See House Styles.
Report Variables
Section titled “Report Variables”Report Variables are typed inputs to a report, such as a client company, a team, or the start of a period. One blueprint can then produce a Report for any value, from the editor, a Workflow, or Eric.
Declare a variable
Section titled “Declare a variable”- Click Report settings on the rail.
- Under Report Variables, click Add variable.
- Fill in the fields below. Your changes apply when you leave the field or close the settings.
| Field | What it does |
|---|---|
| Name | What queries use. Letters, digits, and underscores |
| Label | Optional. Shown instead of the name in Variables and Report history |
| Type | Text, Integer, Number, True/false, or Date |
| Default | Optional. A variable without a Default is required |
| Option list | Text, Integer, and Number variables only. Takes its choices from an existing Filter Variable, so people pick a value instead of typing it |
| Fill the picked label into | Copies the picked option’s label into another text variable, for example a company name beside its ID |
A date Default can be a fixed date such as 2026-01-31 or a relative date such as start of last month. Relative dates are worked out in your Company timezone each time a Report is made.
Queries filter by a variable as $name, for example where company_id = $company_id. Elements read the values from context.variables to show them. The report can’t be saved while a query uses an undeclared variable, so remove its uses before you remove or rename a variable.
Working Values
Section titled “Working Values”Once a report declares a variable, the rail shows Variables. It opens a popover with one control per variable: a text field, a number field, a switch, or a date field. The values you set there are Working Values. They drive the canvas, the Report Element Workspace preview, Preview Report, and Save Snapshot.
- A value applies when you press Enter, leave the field, or pick a date or option. Only the elements that use that variable run again.
- Required variables without a value are marked Required, and the Variables button counts them. An element that needs a missing value says so instead of rendering.
- The date field offers presets beside a calendar: Today, Yesterday, and the start or end of this or last week, month, quarter, or year. A preset stays relative and shows the date it resolves to.
- Working Values start from the Defaults and are remembered in this browser, for you and this blueprint. They never change the blueprint.
- Save as default copies a Working Value into the blueprint as that variable’s Default. It needs Report Write Permission.
Anyone who can open the report can set Working Values.
Report title
Section titled “Report title”Report title in Report settings names each Report and its PDF, for example Monthly review: {{ company_name }}. Each {{ name }} fills in that variable’s value, and the field previews the result. The blueprint keeps its own title. Leave the field blank to name Reports after the blueprint.
Nothing prints the title for you. An element can print it from context.reportTitle.
Report Style
Section titled “Report Style”Click Report Style on the rail to set this report’s look:
| Control | What it does |
|---|---|
| House Style | One of the company’s House Styles, or None |
| Colors | Text, Background, and Accent |
| Chart palette | Eight series colors. Reset palette returns to the inherited ones |
| Font | Sans, Serif, or Mono |
| Base size (px) | Body text size, 10 to 24. Headings and kit text scale with it |
Changes apply at once. Any value you leave at its default comes from the House Style, or from the product defaults when there’s none. Values you set here override the House Style for this report only.
Elements that style themselves with the kit’s tokens follow these values, so one change, such as a green text color, reaches every element. CSS written inside an element still wins. Eric can add CSS to the Report Style when a change goes beyond these controls.
The report looks the same on the canvas, in the preview, and in every PDF, whatever app theme anyone uses.
Long content: Element Continuation
Section titled “Long content: Element Continuation”An element is a fixed box. When its content needs more room, such as a table that grows every month, let it continue onto extra PDF pages.
- Open the element in the Report Element Workspace.
- Turn on Continue onto Continuation Pages.
- Optionally, set an Element Page Cap from 1 to 20. Leave it empty for 20.
- Click Save.
In the PDF, the element draws what fits in its box. The rest prints on Continuation Pages inserted right after its page, where the element gets the page’s whole content area and keeps its orientation. Later pages move down. If the element reaches its Element Page Cap, the rest is left out and the PDF is still produced.
Tables made with the kit table continue on their own. Other content continues only if its code picks up where it stopped.
- Only one element per page can continue, and no element on that page can sit below it.
- The canvas doesn’t draw Continuation Pages. A note under the page says how many more pages the element adds, and whether it stops at its cap.
- An element that doesn’t continue must fit its box. If it would overflow in the PDF, the canvas shows an In the PDF: error on it, and Preview Report and Save Snapshot fail with its name rather than print it clipped.
Eric and the open report
Section titled “Eric and the open report”With a blueprint open on the Workspace Canvas, the Workspace Conversation works on that report. Each message you send carries:
- The report and your Working Values, so Eric checks the data you’re looking at
- The element open in the Report Element Workspace
- Any elements you added with Add to Eric
To point Eric at specific elements, click Add to Eric on each element’s toolbar. Each one shows as a chip above the message box. Click Added on the element, or the × on its chip, to take it back out. The chips go with your next message. You can attach up to 49 elements. Eric reads 50 per message, and the element open in the Report Element Workspace takes the last place.
- Your pending canvas edits save before each message, so Eric works on the report you see. If they can’t save, the message isn’t sent and the conversation says why.
- Eric won’t write an element that has unsaved edits in the Report Element Workspace. He asks you to save or discard them first, and can still change other elements.
- When Eric saves the report or a House Style, the editor reloads with his changes. An element open in the workspace without unsaved edits shows his version.
Eric changes reports only when you have Report Write Permission. See Reports with Eric for how he checks his work and when he saves a Report.
Organize and delete blueprints
Section titled “Organize and delete blueprints”Report Folders, copying a slug from the list, and deleting a blueprint are on the Reports list in the Classic Layout. In the Eric Workspace, turn off Beta view to reach it.
- Folders: with Report Write Permission, click New folder to make one, and Move to folder on a row to file a blueprint. Folders can nest. To rename or delete a folder, open it and click the pencil beside its name. Deleting a folder moves its blueprints and subfolders up a level. Everyone who can open Reports can browse folders.
- Slug: a Workflow Create Report step names a blueprint by its slug, shown under each title. Click Copy slug on a row, or copy it from Report settings in the editor. Renaming a blueprint never changes its slug.
- Delete: with Report Write Permission, click Delete Report Blueprint on a row and confirm. This can’t be undone.
When you delete a blueprint:
- Its Reports stay in Report history with their PDFs.
- Its slug is free for a new blueprint.
- A Workflow Create Report step that names the slug fails with “Report Blueprint not found” until another blueprint takes the slug and the Workflow is saved again.
- Anyone who still has it open can no longer save it.
Limits
Section titled “Limits”| Limit | Value |
|---|---|
| Pages per report | 50 |
| Elements per report | 100 |
| Elements per page | 12 |
| Element width | At least 2 of 12 columns |
| Named queries per element | 8, up to 1,000 rows each |
| Images per element | 16 |
| Data and images per element | 2 MB |
| Image file | 10 MB |
| Element Page Cap | 1 to 20 (default 20) |
| Elements printed per PDF, counting each Continuation Page | 100 |
Add page and Add element stop at a limit and say why. Long data belongs in one continuing element, which adds its own pages.
Troubleshooting
Section titled “Troubleshooting”“This report changed after you opened it”
Someone else, or Eric, saved the report while you had unsaved edits. Your edits stay on the canvas but aren’t saved. Click Reload to continue from the saved report; reloading discards your unsaved edits. In the Report Element Workspace, copy what you need first.
“Report Blueprint not found” from an old link
Blueprints made before Reports V3 no longer open. Click Go to Reports, or ask Eric to rebuild the report.
An element says “Needs a value”
A query in that element uses a required Report Variable with no value. Set one in Variables, or give the variable a Default in Report settings.
An element shows an “In the PDF:” error
Its content doesn’t fit its box in print. Make the box larger, show less, or turn on Element Continuation if no other element on its page continues.