calendar.event.get.nearest
Returns a list of future events for current user.
Parameters
Parameter | Description |
---|---|
type | Calendar type:
|
ownerId | Calendar owner ID. |
days | Number of days selected (60 by default). |
forCurrentUser | Display list of events for current user. |
maxEventsCount | Maximum number of events displayed. |
detailUrl | Calendar URL. |
Example
BX24.callMethod("calendar.event.get.nearest", { type: 'user', ownerId: '2', days: 10, forCurrentUser: true, detailUrl: '/company/personal/user/#user_id#/calendar/' });
© «Bitrix24», 2001-2024