I'm trying to show and edit some data from an ODataV4 source.
<EjsSchedule @ref="scheduleView" TValue="@CityHoliday">
<ScheduleEventSettings TValue="@CityHoliday" Fields="@cityHolidayField">
<EjsDataManager Url="@(appSettings.BaseUrl + "/cityholidays")" Adaptor="@Syncfusion.EJ2.Blazor.Adaptors.ODataV4Adaptor" CrossDomain="true">
</EjsDataManager>
</ScheduleEventSettings>
<ScheduleViews>
<ScheduleView Option="View.Month"></ScheduleView>
</ScheduleViews>
</EjsSchedule>
When I run this I see the data coming back form the OData, but nothing is displayed. When I add appointments I get this error:
{"errors":{"Id":["Error converting value 4 to type 'System.Guid'. Path 'Id', line 1, position 23."]},"title":"One or more validation errors occurred.","status":400,"traceId":"0HLQBB6A9OOJR:00000003"}
How should I be setting a field? How should I set the Id field to be an Guid, not an int? I assume things aren't showing because of the problem with the id.
Thank you,
John