Skip to main content
Version: 4.38.0

Document display label

Overview​

When extract writes a displayLabel on a document (for example a formula name and trial code), the Box list, card overlay and sidebar title show that label. The stored file name is unchanged for downloads and thumbnails.

How it works​

Neo can set displayLabel on the document after OCR. The Box document API type carries that field. List and card components resolve the title through a small helper: label when present, otherwise the file name.

Key files​

  • src/protocol/bcyipApi.ts — displayLabel on the document API type
  • src/components/DocumentsPanel/utils/documentTitle.ts — title resolution
  • src/components/DocumentsPanel/Item/ListItem.tsx / CardItem.tsx — list and card titles
  • src/components/Sidebar/Sidebar.tsx — sidebar heading

Technical decisions​

The file name stays the source of truth for storage and download paths. The label is display-only so extract can rename the human title without rewriting the object key.