CodBi
    Preparing search index...

    This Element-Placeholder retrieves details of a specific contact from the corresponding CodBi-Plugin servlet.

    Placeholder Parameter:

    • 1st: The ID of the contact who's details are to be retrieved. Multiple IDs may be provided by using "/" as a divider (e.g. 12345 / 678901 ).

    • 2nd: A property of the contact, like e.g. "nachname".

    • resolves To either an Array <{ anrede: string; vorname: string; nachname: string; funktion: string; stellenbezeichnung: string; email: string; website: string; zimmer: string; behoerdeId: number; behoerdeBezeichnung: string; gebaeudeId: number; gebaeudeBezeichnung: string; ansprechpartnerId: number; apTelefonLandvorwahl: string; apTelefonOrtsvorwahl: string; apTelefonAnlage: string; apTelefonDurchwahl: string; apEmail: string;>} or an Array < string >, if the 3rd parameter is specified.

    Maintainer: Callari, Salvatore (Salvatore.Callari@Ansbach.de)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    buffer: Map<string, string[]> = ...

    Stores the response received from the BayVIS-Request.

    stdExp: { directoryMember: RegExp } = ...

    Stores often used RegExps.

    Methods

    • Parameters

      • params: unknown[]

        The parameters for that Element-Placeholder (provided by CodBi).

      Returns Promise<
          | string
          | string[]
          | {
              anrede: string;
              ansprechpartnerId: number;
              apEmail: string;
              apTelefonAnlage: string;
              apTelefonDurchwahl: string;
              apTelefonLandvorwahl: string;
              apTelefonOrtsvorwahl: string;
              behoerdeBezeichnung: string;
              behoerdeId: number;
              email: string;
              funktion: string;
              gebaeudeBezeichnung: string;
              gebaeudeId: number;
              nachname: string;
              stellenbezeichnung: string;
              vorname: string;
              website: string;
              zimmer: string;
          }
          | {
              anrede: string;
              ansprechpartnerId: number;
              apEmail: string;
              apTelefonAnlage: string;
              apTelefonDurchwahl: string;
              apTelefonLandvorwahl: string;
              apTelefonOrtsvorwahl: string;
              behoerdeBezeichnung: string;
              behoerdeId: number;
              email: string;
              funktion: string;
              gebaeudeBezeichnung: string;
              gebaeudeId: number;
              nachname: string;
              stellenbezeichnung: string;
              vorname: string;
              website: string;
              zimmer: string;
          }[],
      >

      A CodBiError if either no data could be retrieved from the BayVIS-Endpoint or, given the 3rd parameter was specified, a non existent contact property was specified.