Overview
White-label reports use a versioned branding object instead of reading live app styles or raw profile settings directly. The export renderer receives aPdfBrandTokens snapshot, renders from that snapshot, and stores the same snapshot with the export record.
This keeps exported reports reproducible after an agency changes its logo, colors, contact details, or after the NearIQ app design changes.
Token Shape
Source Settings
The branding settings saved from the app are normalized before they can be used by report exports. Allowed settings:Export Rules
- Build branding tokens before rendering.
- Enable white-label branding only after server-side plan and permission checks pass.
- Store the exact token object used for each export so the file can be reproduced later.
- Do not render directly from raw settings.
- Do not render directly from app CSS variables.
- If validation fails, use NearIQ’s default branding tokens.
Export Record
Each report export stores the branding snapshot used at render time.
Export records are scoped to the owning user.