Get Event Item
Get the details of an event item in a user's calendar from Microsoft Graph using a GET REST function and showing it in a default using an expander, entity-field, and list component.
Resource links:
Required OAuth scope (least to most privilege):
Calendars.Read Calendars.ReadWrite
Related Sample
This example uses Get Calendar List and Get Event List to provide the calendar id and event id input to the view-calendar-event-details .
When using the code and samples in this topic, remember that they are designed to function as part of a comprehensive solution. To fully benefit from the intended functionality and ensure compatibility, it is recommended that you use the entire solution rather than selecting individual components in isolation. Alternatively, you can use these samples as a guide to understand the underlying concepts and MS Graph API, which can help you integrate similar solutions into your projects more effectively. The entire MS Graph solution is available on GitHub.
We will use forRowsWithValues in the get-calendar-event-details function to update only one record in the calendarEvents table when called from onRefresh on the view-calendar-event-details . If you dont specify forRowsWithValues the entire table is wiped by the REST call and only the result is inserted. See REST Overview for more information on using forRowsWithValues with REST calls.
MS Graph Event Item function in GitHub.
MS Graph Calendar Events in GitHub.