Skip to content

Attributes

Who can do this: repository admins.

An attribute is a named, typed field on items — Department, Invoice date, Industry. Attributes are shared by every connection; each document type decides through its mappings which source field fills which attribute.

  • Key — the attribute’s permanent name, as search and the API use it, such as department or salesforce.industry. Its data type — text, text list, number, yes/no, date, date and time — is fixed too.
  • Origin of a mapping — a source field the source lists, or a content property read from the document itself, such as its title or page count.
  • Roles of an attribute:
    • Filterable — searches may filter by its values (is any of).
    • Sortable — folder contents and searches without text may be sorted by it (Sort, see Browsing), and numbers and dates filtered by range, text by starts with. Turning it on prepares an index first; meanwhile it shows index building.
  • Uses of a mapping:
    • Keyword — keyword search finds items by its values.
    • Embedded — meaning-based search takes it into account. A record — an account, an order, a list item — has no document content, so meaning-based search knows it only by its type, its name and its embedded fields. Embed the fields that describe it, such as industry, city, stage, status, amount or date, and energy customer in Ljubljana finds the account; leave identifiers and long free text out. A yes/no field is embedded as its name or Not and its name, so not signed finds an unsigned contract.
    • Preview — shown with every result of the type, in the mappings’ order.
  • Internal attributes are used only to match relations, such as an account ID. Their values are never shown or returned. A field that holds a link into the source can map to an internal attribute only.

For records — accounts, opportunities, table rows, list items — ContentSurface marks the fields that describe an item in a few words as proposed: choice lists such as industry, stage or status, places such as city or country, business dates, amounts, yes/no fields and short text. Hover over the proposed badge to see why and for which uses. At most six fields of a type are proposed for Embedded, and the first three of them for Preview; codes and numbers such as an order number are proposed for Keyword only.

Identifiers, links, references, long text and personal data — email addresses, phone numbers, a person’s city — are never proposed. Documents get no proposals: their content already tells meaning-based search what they are.

Nothing happens until you map a field: a proposal only pre-ticks its uses, and you can change them at any time.

  1. Open the connection, then Document types, and a defined type.
  2. Under Fields, choose Map… next to a field — or Map proposed fields to map every proposed field at once, each to a new attribute of its suggested key (or the existing attribute of that key), with the proposed uses. A field whose key belongs to an attribute of another data type is skipped and named.
  3. Map it to an existing attribute of the same data type, or create a new one with a Key and Label. Fields marked as personal data — email addresses, phone numbers, names — are mapped only knowingly.
  4. Choose its uses: Keyword, Embedded, Preview. A proposed field has its proposed uses ticked already.

Values appear within minutes: adding the mapping rescans the connection’s mount folders. Content properties appear when the documents are next indexed, which you are asked to confirm.

Under Mappings, change a mapping’s uses, move it Up or Down, or Remove it. Changing Keyword or Embedded, or the order, rebuilds the search data of every item of the type; you are asked to confirm.

The Attributes page: each attribute with its data type, roles and the document types mapping it

Attributes lists them all. Open one to Rename it, change its Filterable and Sortable roles, and see the document types mapping it and the relations matching on it. Deleting an attribute removes its values from every item, after confirmation; relations matching on it must be deleted first.

  • The attribute’s sort index is building: ranges, starts with and sorting become available shortly.
  • An internal attribute takes no role: internal values are never shown, so they cannot be filtered or sorted.
  • Values do not appear: they come with the rescan that adding the mapping requests, usually within minutes; a large mount folder takes longer. The mount folder’s Crawl shows the scans still queued.

In the API

The Portal does this through these calls; an integration can make them directly.

OperationCall
Tenant-wide attributes, by key, keyset-paged.GET /v1/admin/attributes
An attribute with its roles and the state of its sort index.GET /v1/admin/attributes/{id}
Renames an attribute or changes its filterable and sortable roles; sortable indexes are built by a job and the attribute reads pending meanwhile.PATCH /v1/admin/attributes/{id}
Deletes an attribute and removes its values from every node. With values stored, answers 409 with the impact; repeat with ?confirm.DELETE /v1/admin/attributes/{id}
Maps a field to an existing or a new attribute. A content mapping on a type with content nodes re-indexes them: confirmed through an impact token.POST /v1/admin/document-types/{id}/mappings
Changes a mapping's roles. A keyword or embedded change rebuilds search text for every node of the type: confirmed through an impact token.PATCH /v1/admin/document-types/{id}/mappings/{attributeId}
Puts the mappings in order; the order lists every mapped attribute.PUT /v1/admin/document-types/{id}/mapping-order
Deletes a mapping and removes its values from the type's nodes.DELETE /v1/admin/document-types/{id}/mappings/{attributeId}
The attributes search can filter and sort on: key, name, data type, roles and sort index state, by key, keyset-paged.GET /v1/attributes