PREPROD
ReaderAuthor

piper

Report Figure — Package ID

`ReportFigure.packageId` links this figure definition to its parent ReportPackage, determining which report it will be rendered into.

1 min read · 2 depth levelsstratum-piper · vdevMatches production
Everyday

The packageId on a ReportFigure is the foreign key that binds the chart or map definition to a specific compliance report. When Piper renders a ReportVersion for a package, it collects all ReportFigure records with a matching packageId that have included set to true, generates each chart from live data, and assembles them in order. If you want to reuse a figure definition in a different report, you would create a new ReportFigure with the new package's packageId rather than modifying the original.

Technical section
Data model, API, and internals — visible to developers.
View as developer →
Was this helpful?