Banners
ContactPersonsArchiveBanner

ContactPersonsArchiveBanner

Archive/listing of contact persons, optionally with filters.

Includes the common banner props.

Contact person archive preview

Props

id
string
required

CMS id.

hideFilters
boolean
required

If true, filters UI is hidden.

query
string
required

Backend query string used to fetch the listing.

Supported query params

The query prop accepts a standard URL query string. Multiple params are combined via &. Repeating the same key applies a list filter.

Service

Filters by service id.

  • Key: SERVICE
  • Type: string (single)

Examples:

SERVICE=svc_123
SERVICE=service-sales

Location

Filters by location id.

  • Key: LOCATION
  • Type: string (single)

Examples:

LOCATION=loc_123
LOCATION=location-berlin

Combined examples

brand=BMW&SERVICE=svc_123&LOCATION=loc_456
department=sales&SERVICE=service-sales&LOCATION=location-berlin

Sort options

Name

  • Vorname (A–Z) sort=firstName&order=asc

  • Vorname (Z–A) sort=firstName&order=desc

  • Nachname (A–Z) sort=lastName&order=asc

  • Nachname (Z–A) sort=lastName&order=desc

Creation Date

  • Neueste zuerst sort=createdAt&order=desc

  • Älteste zuerst sort=createdAt&order=asc

Banner example

const banner: ContactPersonsArchiveBanner = {
  typename: BannerTypename.ContactPersonsArchiveBanner,
  id: 'b_123',
  title: 'Contacts',
  titleTag: 'h2',
  titleAlign: 'left',
  cssId: null,
  cssClasses: null,
  hideFilters: false,
  query: 'department=sales&SERVICE=svc_123&LOCATION=loc_456'
};