Creating Report Blueprints
A Report Blueprint is the reusable definition of a report: its pages, the HTML Report Elements on them, its look, and its Report Variables. You edit it in the blueprint editor, and every Save Snapshot prints the blueprint as it is saved at that moment. A Workflow run prints it only as the Workflow’s last save approved it; after an edit, an admin saves the Workflow again (see Workflow Report Nodes). Editing a blueprint never changes Reports already in history.
Opening the Blueprint Editor
Section titled “Opening the Blueprint Editor”From Reports:
- Click New blueprint to start a blueprint called “Untitled Report”, or
- Open an existing blueprint from the list
To rename it, click the pencil next to the title. The title names the blueprint in the list, and it names each Report unless you set a Report Title Template.
Your edits on the canvas save on their own shortly after you stop. The header shows Saving… or Unsaved changes while that happens. Element files save when you click Save in the element workspace.
Some edits leave a report that cannot be saved, such as elements that overlap, two continuing elements on one page, or a Report title that names a variable you removed. The canvas says why, and nothing saves until you fix it. When you leave the editor, pending edits save first. If they still cannot be saved, you are asked before they are discarded.
The rail beside the canvas holds the report’s actions:
| 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 Template, and the Report Variable declarations |
| Variables | Working Values for the report’s variables. It appears once the report declares a variable |
| Report Style | The report’s House Style and its own colors, chart palette, font, and base size |
| House Styles | Opens the company’s House Styles to view or edit |
| 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 you can open a blueprint and see its live element previews, but the editor is read-only.
Report Pages
Section titled “Report Pages”A blueprint is an ordered list of Report Pages. Each page is shown at the real size of the blueprint’s paper, and each one starts its own PDF page.
Each page has a toolbar:
- Add element places a blank element on that page.
- Landscape switches that page between portrait and landscape. Portrait is the default.
- Move page up, Move page down, and Remove page reorder or delete the page. A report keeps at least one page.
Below the last page, an empty sheet offers Add page and Add element on a new page. You can also drop an element there to move it onto a new page.
HTML Report Elements
Section titled “HTML Report Elements”Every element on a page is an HTML Report Element: a fixed box whose content comes from 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 then replace.
An element draws everything inside its box, including its own title, borders, and background. The system adds nothing around it. Because one element can lay out several columns, charts, and tables inside its HTML, a page usually works best with a few large elements rather than many small ones.
On the canvas, elements stay interactive. A sortable table sorts, and a chart can show tooltips. The PDF prints the same elements static.
Placing and moving elements
Section titled “Placing and moving elements”- Drag an element’s edges to resize it on the page’s 12-column grid.
- Use Drag to move element on its toolbar to move it within the page or onto another page. It keeps its size and content.
- Use Remove element to delete it from the blueprint.
- Elements on a page cannot overlap.
Changing the page size or orientation keeps every element on the sheet.
The Report Element Workspace
Section titled “The Report Element Workspace”Click Edit element on an element’s toolbar, or press Enter when it is focused, to open the Report Element Workspace. It has:
- A code editor with the element’s definition file
- A Live preview at the element’s exact size on the page
- Continue onto Continuation Pages and Element Page Cap controls for long content
- An Images panel for the Company’s report images
- Discard and Save
Your edits stay in the workspace until you click Save. Closing with unsaved changes asks whether to save or discard them. While the element is open, In-Report Eric treats it as the selected element. If Eric saves the element after you started editing it, Save is refused rather than overwriting his change, and your edits stay in the editor so you can copy them.
The element definition
Section titled “The element definition”Each element is one YAML file:
titlelabels the element on the canvas and for Eric. It is not printed; the element’s HTML prints its own heading if it needs one.definitionuses the same shape as a Query Widget definition withdisplay.type: htmland the element’s HTML indisplay.body.continuationandpageCapturn on Element Continuation and set its cap.imagesnames the report images the element shows.
Content that never changes, such as a paragraph of commentary, goes straight into the HTML body. Data comes from queries.
Data and Queries
Section titled “Data and Queries”An element can read data in two ways, both optional:
- A main query over one source: a Dataset, Query Dataset, or Stash, as in a Query Widget
- Up to eight named queries over the same source, 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. Dashboard Filter Variables and drilldown do not apply in reports.
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, so common visuals look consistent without hand-written code
An element can also load a charting or table library from an approved CDN, pinned to an exact version. If that library cannot load when the PDF prints, generation fails and names the element.
Elements can style themselves from their data. For example, the kit table can color a cell or a row from a color column in your query results.
Images
Section titled “Images”Report images live in a private, company-wide store and can be reused in any blueprint. In the element workspace, click Images to:
- Upload image (PNG, JPEG, WebP, or GIF; a GIF prints its first frame)
- Paste an image address and click Import URL. The image is fetched once into the Company’s report images, so the report never depends on another website when it prints.
- Search by filename or description, then click Use
Use adds the image to the element’s images list under a name, and the workspace shows the HTML that displays it, for example <img data-rs-image="logo" alt="">. An element can name up to 16 images. Images count toward the element’s data limit, 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, its logo is no longer one of the Company’s report images, or the logo cannot be read or is too large to fit beside the element’s other images, the image is hidden instead of breaking the element. An image the element names itself must still be one of the Company’s report images.
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.
Declaring variables
Section titled “Declaring variables”Open Report settings and use Add variable. Each variable has:
- A Name that queries use, made of letters, digits, and underscores
- An optional Label shown instead of the name in the Variables popover and Report history
- A type: Text, Integer, Number, True/false, or Date
- An optional Default. A variable without a Default is required
- For text and number variables, an optional Option list taken from an existing Filter Variable, so people can pick a value instead of typing it. Fill the picked label into can copy 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 the report is generated.
Queries filter by a variable as $name, for example where company_id = $company_id. Elements read the values from context.variables to show them in text. A blueprint cannot be saved while a query uses an undeclared variable, so remove its uses before you remove a variable.
Working Values
Section titled “Working Values”Once a report declares variables, the rail shows a Variables button. 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 here are Working Values. They drive the canvas, the 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 button counts how many still need one. Elements that need a missing value say so instead of rendering.
- The date field lists presets beside a calendar, such as Today, Start of last month, or End of last quarter. 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.
Report Title Template
Section titled “Report Title Template”In Report settings, Report title sets a template that names each Report and its PDF, for example Monthly review: {{ company_name }}. Each {{ name }} placeholder 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.
Elements can print the resolved title from context.reportTitle. Nothing else prints it for you.
Report Style
Section titled “Report Style”Click Report Style to open the panel for this report’s look:
- House Style picks one of the company’s House Styles, or None. The report restyles as soon as you choose.
- Colors set the Text, Background, and Accent colors.
- Chart palette sets the series colors. Reset palette returns to the inherited colors.
- Font chooses Sans, Serif, or Mono.
- Base size (px) sets the body text size. Headings and kit text scale with it.
Any value you leave at its default comes from the House Style, or from the product defaults when there is 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 without editing each one. CSS written inside an element still wins over the House Style and the Report Style. Eric can also add CSS to the Report Style when a change goes beyond these controls.
The report looks the same on the canvas, in the workspace preview, and in every PDF, whatever app theme you or anyone else uses.
Long Content: Element Continuation
Section titled “Long Content: Element Continuation”An element is a fixed box. When its content, such as a table that grows every month, needs more room than its box, turn on Element Continuation:
- Open the element in the 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 the page’s 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 automatically. Other content continues only if its code is written to pick up where it stopped.
Rules to know:
- Only one element per page can continue. The workspace will not turn on continuation for a second element on the same page.
- The canvas does not draw Continuation Pages. Instead, a note under the page says how many more pages the element adds in the PDF, and whether it stops at its cap.
- An element that does not continue must fit in its box. If its content would overflow in the PDF, the canvas shows an In the PDF error on it, and Preview Report and Save Snapshot fail with the element’s name rather than print it clipped.
In-Report Eric
Section titled “In-Report Eric”When you have access to Eric, an Eric bar sits at the bottom of the editor. Click it to open In-Report Eric, a chat that floats over the report and works on this blueprint. Ask him to build pages, change elements, fix data, or restyle the report.
- Click an element on the canvas while In-Report Eric is open to attach it to your next message, or click it again to detach it. Attached elements show as chips above the message box.
- The element open in the workspace is always included as the selected element.
- Report chat history lists earlier chats about this report, New chat starts another, and Open in Eric chat continues the conversation in Main Eric Chat.
- Your pending canvas edits save before each message, so Eric works on the saved report.
- Eric’s changes save to the blueprint right away, and the canvas reloads with them.
- If an element has unsaved edits in the workspace, Eric does not change that element. He asks you to save or discard first and can still change other elements.
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.
Managing Blueprints From the List
Section titled “Managing Blueprints From the List”The Reports list shows each blueprint’s title, its slug under the title, and when it was last updated. Search by title, then open a row to edit it. Report history and House Styles are in the list header.
Staff with Report Write Permission can organize blueprints in nested folders on the list. Everyone who can open the blueprint list can browse folders. Breadcrumbs and folder links move between Home and nested folders, and the app reopens the last folder you had open when you return, if that folder still exists. Create adds a blueprint in the open folder. Move to folder on a row is available once at least one folder exists. Deleting a folder moves its blueprints and subfolders to the parent folder, or to Home at the top level. Moving a blueprint into a folder does not change its Updated time in the list. Report History (/reports/history) is not organized by folders.
A Workflow Create Report step names a blueprint by its slug. Click Copy slug (the clipboard icon) in a blueprint’s row to copy it, or copy it from Report settings in the editor. Renaming a blueprint never changes its slug.
Deleting a blueprint
Section titled “Deleting a blueprint”With Report Write Permission, click Delete Report Blueprint (the trash icon) in a blueprint’s row, then confirm. Deleting cannot be undone.
- The blueprint and its elements are removed, and its slug is free for a new blueprint.
- Its Reports stay in Report history with their Report PDFs.
- A Workflow Create Report step that names its slug fails with “Report Blueprint not found” when it runs, and saving that Workflow shows a warning. A new blueprint that takes the slug serves the step only after an admin saves the Workflow again. See Workflow Report Nodes.
- Anyone who still has the blueprint open can no longer save it, and In-Report Eric there stops taking messages.
Troubleshooting
Section titled “Troubleshooting”“This report changed after you opened it”:
Someone else, or Eric in another window, saved the report after you opened it. Your edits stay on the canvas but are not saved. Click Reload to continue from the saved report; reloading discards your unsaved edits.
“Report Blueprint not found” from an old link:
Links to blueprints made before Reports V3 no longer open, because those blueprints were not carried over. Click Go to Reports, or ask Eric to rebuild the report. See Rebuilding reports from before Reports V3.
An element says it needs a value:
A query in that element uses a required Report Variable that has 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 does not fit its box in print. Make the box larger, reduce the content, or turn on Element Continuation if it is the only continuing element on its page.
Best Practices
Section titled “Best Practices”Start with a few large elements. One element can hold a heading, KPIs, and a chart in its own columns, and a few large boxes are easier to keep readable than many small ones.
Style with tokens. Elements that use the kit’s tokens follow the House Style and Report Style, so later look changes reach them.
Declare variables deliberately. Give a variable a Default when unattended runs should use one. Leave it required only when every run must supply a value.
Check the PDF early. Use Preview Report before you save snapshots others will rely on.