Appendix
B Template placeholders
In block-builder and custom HTML templates, words in square brackets are replaced with real values when the page is shown. Names are not case-sensitive; unknown placeholders stay as they are.
本章节暂未提供中文版本,您正在阅读英文版本。
| Placeholder | Replaced with |
|---|---|
| [AssetName] | The asset's name |
| [AssetDescription] | The asset's description |
| [VerifiedAt] | Date and time of the verification (UTC) |
| [VerifiedDate] | Date of the verification |
| [VerificationMethod] | The carrier type that was scanned |
| [propertyName] | The product's value for any asset field, e.g. [serialNumber], [caseMaterial] |
| GS1 fields | For GS1 assets: [gtin], [brandName], [tradeItemDescription], [netContent], [batchLotNumber], [expiryDate] and the other GS1 attributes |
| Passport data | Any top-level item of the asset's product passport, by its key |
| [TransactionId] · [TransactionLink] | The integrity record and its explorer link, when assets are stored on a blockchain |
| [ErrorMessage] | On the unverified page only: why the check failed |
| [FailReason] | On the unverified page only: the failure group as a code, already-scanned, blocked, internal-only or auth-failed, for example to switch texts in custom HTML |
The Integration guide in the admin panel (Custom HTML templates) explains how custom HTML pages can also read the full verification data with a script, and how an external website receives it.