Reference entities
When hundreds of products point at the same thing (a manufacturer, a material, a norm) that thing deserves to be a record with its own fields, not a string retyped on every product.
Why this matters
Free text: manufacturer: "Bosch Rexroth" on 1,400 products. Also
"Bosch-Rexroth" on 60 and "Bosch Rexroth AG" on 12. You cannot filter
reliably, you cannot show a logo, and correcting the spelling is a bulk edit.
Reference entity: one Manufacturer record with a code, labels, a logo, a website and a description. 1,476 products point at it. Change it once, every product reflects it, and the filter has exactly one entry.
Good candidates
- Manufacturer / brand: the classic case; gets a logo and a landing page.
- Material: with a description and technical properties of its own.
- Norm / standard: DIN, ISO, EN, with a title and a link.
- Certificate: with an issuer, a validity date, and the PDF.
- Series / product line: where a family of articles shares a story.
The test: does this thing have properties of its own? A manufacturer has a logo and a website, so it is a reference entity. A colour that is only a label is fine as a select option.
Create a reference entity
- Go to PIM › References.
- Select New entity.
- Enter a Code (permanent) and the Labels (i18n).
- Optionally set an Image for the entity type.
- Save.
Give it attributes
A reference entity has its own attribute set, defined with the same attribute engine products use. The difference is one field on the attribute.
- Go to PIM › Data model › Attributes and select New attribute.
- Set Entity type to Reference entity and Entity ref to the
entity's code, for example
manufacturer. - Create the attributes the record should carry. For a manufacturer:
logo(asset),website(text),description(localizable textarea),country(single-select).
These attributes are what make the entity worth having. An entity with only a label is barely better than a select option.
Add records
- Open the reference entity and go to Records.
- Select New record.
- Enter a Code and the Name per language, then fill its attributes.
A record is one manufacturer, one material, one norm.
Point products at it
- Create an attribute of type Reference on your products (
reference_entityfor one record,reference_entity_collectionfor several) and set its Reference entity to this entity (see Attributes). - Assign it to the relevant families.
- On each product, pick the record.
In bulk, set it in the import file using the record Code.
What you get downstream
| Where | What changes |
|---|---|
| Filters | One entry per manufacturer, always. The stored value is the record code, so spelling cannot drift. |
| Manufacturer and brand pages | The storefront can render the entity's own description and logo, with its products listed beneath, without scraping product text. |
| Corrections | Rebranding is one record edit. Every product that points at the record shows the new name. |
| Exports | Punchout and BMEcat exports carry a consistent manufacturer name, which matters because procurement systems match on it. |
| Rule-based categories | "Manufacturer X" is a one-line rule on the reference attribute; see Categories. |
Next
- Assets and asset families — managed media.