Skip to main content
Skip table of contents

For mobile clients

Namespace

The namespace is used to combine messages from different message groups.

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

Messages

Message group messages are held together by the message group ID in the IBI.aws.mobileRemarks object. The IBI.aws.mobileRemarks object can contain messages from several message groups.

Message object

See Message object 

Example

remarks.mobile-remarkgroup-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.