Skip to content
Snippets Groups Projects
Commit 8e2d4c1f authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

Exchanges

parent e8b40c67
No related branches found
No related tags found
No related merge requests found
import("system.result");
import("system.translate");
import("system.calendars");
if( calendars.getBackendType() != calendars.BACKEND_EXCHANGEWS )
{
result.object([
[calendars.STATUS_CONFIRMED, translate.text("Confirmed")],
[calendars.STATUS_TENTATIVE, translate.text("Tentative")],
[calendars.STATUS_CANCELLED, translate.text("Cancelled")]
]);
}
else
{
result.object( [
//[calendars.STATUS_BUSY, translate.text("Gebucht")],
[calendars.STATUS_TENTATIVE, translate.text("Tentative")],
[calendars.STATUS_OOF, translate.text("OutOfOffice")],
[calendars.STATUS_FREE, translate.text("Free")]
] );
}
\ No newline at end of file
import("system.result");
import("system.translate");
import("system.calendars");
result.object([
[calendars.STATUS_CONFIRMED, translate.text("Confirmed")],
[calendars.STATUS_CANCELLED, translate.text("Cancelled")],
[calendars.STATUS_TENTATIVE, translate.text("Tentative")],
[calendars.STATUS_OOF, translate.text("OutOfOffice")],
[calendars.STATUS_FREE, translate.text("Free")]
]);
\ No newline at end of file
......@@ -7,6 +7,7 @@ if (vars.exists("$param.Entry_param"))
{
var entry = JSON.parse(vars.getString("$param.Entry_param"));
var reccurenceid = entry[calendars.RECURRENCEID];
if (reccurenceid == undefined) reccurenceid = null;
if (reccurenceid == undefined)
reccurenceid = null;
calendars.removeEntryByUID(calendars.VEVENT, vars.get("$sys.user"), entry[calendars.ID], reccurenceid)
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<neonNotificationType xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonNotificationType/1.1.0">
<name>Andis</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<icon>NEON:GROUP_APPOINTMENT</icon>
<defaultPriority>MAX</defaultPriority>
</neonNotificationType>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment