Skip to main content
Skip table of contents

Für mobile Clients

Namespace

Der Namespace dient dazu, Hinweise aus verschiedenen mobilen Hinweisgruppen miteinander zu vereinen.

CODE
// Namespace
var IBI = IBI || {};
IBI.aws = IBI.aws || {};
IBI.aws.mobileRemarks = IBI.aws.mobileRemarks || {};

Hinweise

Die Hinweise einer mobilen Hinweisgruppe werden über die Hinweisgruppen-ID im IBI.aws.mobileRemarks Objekt zusammengehalten. Dabei kann das IBI.aws.mobileRemarks Objekt Hinweise aus mehreren mobilen Hinweisgruppen beinhalten.

Hinweis-Objekt

Siehe Hinweis-Objekt 

Beispiel

remarks.mobile-hinweisgrupp-2.js

JS
// Namespace
var IBI = IBI || {};
IBI.aws = IBI.aws || {};
IBI.aws.mobileRemarks = IBI.aws.mobileRemarks|| {};

IBI.aws.mobileRemarks['8f2d2d1c-3f47-bf38-4e15-91cc67504040'] = [
  {
    "id": "0769045d-49fe-464a-73b6-e6382a4dace7",
    "reason": {
      "default": "Reason",
      "de": "Grund"
    },
    "message": {
      "default": "Message",
      "de": "Anmerkung"
    },
    "startTime": {
      "value": new Date(2017, 4, 1, 12, 0, 0),
      "isVisible": true
    },
    "endTime": {
      "value": new Date(2017, 4, 1, 13, 30, 0),
      "isVisible": true
    }
  }
];
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.