Public Passport Pages
What consumers see, from the demo gallery to the passport viewer at model, lot and item level and template-driven rendering.
Where all the curation pays off
The master data, templates, access tiers and links described so far all serve one moment, when somebody points a phone at a product and a page opens. This chapter is about that page.
Start at the demo gallery
The quickest way to get a feel for the passport side is /demo, DDM's public showcase. It shows a shelf of demo products, each with its GTIN and three ready-made QR codes, one for each level at which the same product exists. When you scan one with your phone or click it, you follow exactly the path a consumer takes.
One product, three levels
There are three codes because "the product" means different things in different situations, and GS1 Digital Link expresses the difference directly in the address.
| Path | Level |
|---|---|
/01/{gtin} | The model: this kind of product |
/01/{gtin}/10/{lot} | A batch: the units produced in one run |
/01/{gtin}/21/{serial} | A single item: this very unit |
The address grows more specific from left to right, and the passport grows with it. The model page carries everything that holds for the product in general: description, materials and certifications. A lot page is about one production run, which is the level recalls work at. An item page is about one physical object. For signed-in users it also shows the item's EPCIS traceability, the recorded journey of this very unit, when the repository holds events for it.
The page itself
The page renders straight from the master-data record. A header area shows image, brand, name, description, GTIN and the canonical Digital Link with its QR code for sharing. The attribute sections follow: specifications, sustainability, certifications, compliance, provenance and a raw-data view. Localized fields render in the visitor's language whenever the record carries it, so the multilingual record is the only thing you maintain and there are no separate language versions of the page.
The page needs no separate publishing step or CMS, because it is current as soon as the record is saved. For a record whose access level is Public, the page always exists, and what it shows to whom depends on the visitor. Anonymous visitors get the public tier of your access policy, and signing in unlocks further tiers on the same page under the same address. One printed code thus serves the consumer, the business partner and the authority, each with their own view. A passport whose access level is anything other than Public answers anonymous visitors with a plain 404, so to the outside world it does not exist. Signed-in readers still see the page with a notice that visitors cannot, and a View as visitor preview shows exactly what an anonymous scan would get.
Templates
Audiences also differ in the arrangement they need. A passport type can have several page layouts, for example a consumer-oriented overview and a compliance-oriented data sheet. An explicit ?template=… in the URL takes precedence, which is useful for deep-linking a specific view from your own site. Without it, the product's default template set in the editor applies, and failing that, the deployment's default for the passport type. When several layouts exist, a selector at the top of the page lets visitors switch between them.
Where the address comes from
This last section explains what the Linksets and Domains chapters are for. The passport page is served by the DDM deployment, while the address printed in the QR code usually belongs to the resolver: https://id.your-domain.com/01/…. The resolver looks up the anchor's linkset, and its defaultLink sends the visitor to the passport page. With this indirection the printed code stays fixed while everything behind it can change. You can redesign the passport, move it or point the default somewhere else entirely, years after the packaging left the plant.