User Metrics¶
User metrics allow clubs to record and track physical test results for their members. Trainers create measurement records based on predefined templates; customers can view their own results.
Navigation¶
- Club side: Tesztek menu item —
/Club/UserMetrics - Customer side:
/Customer/UserMetrics(read-only view of own results)
Templates¶
The UserMetricsTemplate table defines the structure of each test. Each template contains a JSON schema that describes the questions (fields) to be filled in during a measurement.
| Demo Template | ID |
|---|---|
| MINI | 1 |
| ABC | 2 |
Template schema
Each template's JSON schema defines dynamic form fields with supported types: text, number, and list. The recording modal renders these fields automatically.
Recording Measurements¶
The UserMetrics table stores individual measurement records with columns: User_ID, UserMetricsTemplate_ID, IsActive.
To record a new measurement:
- Select a template from the Tesztek: (Valassz) dropdown.
- Choose the measurement date using the datepicker (Meres datuma).
- Fill in the dynamically generated form fields.
- Save the record.
Data Table¶
The metrics list displays the following columns:
| Column | Hungarian Label | Description |
|---|---|---|
| Test template | Teszt sablon | Name of the template used |
| Measurement date | Meres datuma | Date the measurement was taken |
| Action | Muvelet | View button (Megjelenít) |
Access Control¶
Access requires SystemFunction ID=8. Permitted roles:
- Trainer
- Club manager