Historical Data View
1. Feature Overview
When filling in a form or viewing a record, you can click the "Historical Data/Photos" button next to a field to quickly review past records for that specific field. Comparing current on-site conditions with historical data or photos helps identify anomalies faster and ensures data consistency. This feature is particularly suited for continuous monitoring or status-comparison workflows.
1. Basic Historical Comparison (Photos/Text, Etc.)
Review previous on-site photos or text records to assist current judgment.
Recommended scenarios:
- Safety hazard inspection: View previous rectification photos for the same hazard location.
- Hygiene/environment checks: Compare against a standard reference or the condition from the last inspection.

2. Number Component Visual Analysis (Trend Chart and AI Interpretation)
For number components, the historical data panel includes a "Trend Chart" tab. Toggle between "Detail Data" and "Trend Chart" to visually track how a value has changed over time. Ideal for equipment inspections, meter reading logs, and other scenarios where data fluctuation matters.
- Flexible time filters: Filter by last 7 / 30 / 90 entries.
- Key metric auto-calculation: The chart automatically calculates and displays the max, min, and average values for the selected range.
- AI trend interpretation: A natural language analysis result is automatically generated at the bottom of the page (e.g., "Significant fluctuations overall; values primarily concentrated in the XX range") — making it easy to understand trends without any data analysis expertise.

2. How to Enable
Administrators configure this feature in the workbench:
Go to the Form Design page, select the component you want to track (e.g., image, single-line text, number), and check "Historical Data View" in the right settings panel.

3. Permission Settings (Important)
To protect data security, the system shows different historical content based on the viewer's permissions:
| Permission | Visible Historical Data |
|---|---|
| User without "Dynamic data view" permission | Only their own submitted records |
| User with "Dynamic data view" permission | All submitters' records |
How to configure "Dynamic data view" permission:
In Panel Components on the left side of the dynamic QR code editor, add a Dynamic Data Panel.

Select the panel, click Settings, and configure the permission under Who Can View.

If set to "Everyone," all users who can scan the QR code can view all historical data for that code.
4. FAQ
Q: Why can't I see the "Historical Data" button? A: Confirm that the administrator has enabled this feature in the form design settings. It must be manually turned on.
Q: Is this only for photos? A: No. Text fields, number fields, and other key components can also display historical fill values if the feature is enabled for them.
Q: Is the entry button only available on the form fill page? A: No. The historical data view is also accessible from the form record detail page.