2024-06-05 12:19:46 +02:00
|
|
|
---
|
|
|
|
sidebar_position: 1
|
|
|
|
---
|
|
|
|
|
|
|
|
# Get description events
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*Function GetEventDescription() Export*
|
|
|
|
|
|
|
|
| Parameter | CLI option | Type | Destination |
|
|
|
|
|-|-|-|-|
|
|
|
|
|
|
|
|
|
2024-06-06 14:33:52 +02:00
|
|
|
Returns: Map Of KeyAndValue - Empty event template
|
2024-06-05 12:19:46 +02:00
|
|
|
|
|
|
|
```bsl title="Code example"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
```sh title="CLI command example"
|
|
|
|
|
|
|
|
oint gcalendar GetEventDescription
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
```json title="Result"
|
|
|
|
|
2024-06-06 14:33:52 +02:00
|
|
|
EventMap = New Map;
|
|
|
|
EventMap.Insert("Description", ""); // Event description
|
|
|
|
EventMap.Insert("Title", "New event"); // Title events
|
|
|
|
EventMap.Insert("Venue", ""); // String description of the venue of the event
|
|
|
|
EventMap.Insert("StartDate", CurrentSessionDate()); // Date of start events
|
|
|
|
EventMap.Insert("EndDate", EventMap["StartDate"] + 3600); // Date of end events
|
|
|
|
EventMap.Insert("ArrayOfAttachmentURLs", New Map); // Key - name, Value - URL to file
|
|
|
|
EventMap.Insert("SendNotifications", True); // Indication of sending notifications to participants
|
2024-06-05 12:19:46 +02:00
|
|
|
|
|
|
|
```
|