Hi all,
I am getting the following output in logging: [Warn] ComponentController Endpoint oldest not found.
09:51:12 [Info] Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker Route matched with {action = "DataTable", controller = "Component"}. Executing action UniversalDashboard.Controllers.ComponentController.DataTable (UniversalDashboard)
09:51:12 [Info] Microsoft.AspNetCore.Authorization.DefaultAuthorizationService Authorization was successful.
09:51:12 [Info] Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker Executing action method UniversalDashboard.Controllers.ComponentController.DataTable (UniversalDashboard) with arguments (oldest, 0, 0, 10, id, False, ) - Validation state: Valid
09:51:12 [Warn] ComponentController Endpoint oldest not found.
09:51:12 [Info] Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker Executed action method UniversalDashboard.Controllers.ComponentController.DataTable (UniversalDashboard), returned result Microsoft.AspNetCore.Mvc.NotFoundResult in 1.957ms.
09:51:12 [Info] Microsoft.AspNetCore.Mvc.StatusCodeResult Executing HttpStatusCodeResult, setting HTTP status code 404
Can anyone see any issues with this code?
New-UDPage -Id 'OldestPage' -Name "Oldest Tickets" -Icon home -Content {
New-UDCard -ID "oldestcard" -TitleAlignment center -Title "Oldest Tickets" -Endpoint {
New-UDGrid -NoFilter -Title " " -ID "oldest" -AutoRefresh -RefreshInterval 230 -PageSize 10 -DefaultSortDescending -DefaultSortColumn 'id' -Endpoint {
$Cache:oldesttickets |
Out-UDGridData
}
}
}
Thanks