private void Document_Sort_After(object sender, DocumentSortEventArgs e) { // Check parent which will see if Children need update try { DynamicRouteInternalHelper.RebuildRoutesByNode(e.ParentNodeId); } catch (UrlSlugCollisionException ex) { LogErrorsInSeparateThread(ex, "DynamicRouting", "UrlSlugConflict", $"Occurred on Document Sort Update After for Parent Node ${e.ParentNodeId}."); e.Cancel(); } catch (Exception ex) { LogErrorsInSeparateThread(ex, "DynamicRouting", "Error", $"Occurred on Document Sort Update After for Parent Node ${e.ParentNodeId}."); } }
private void Document_Sort_After(object sender, DocumentSortEventArgs e) { // Check parent which will see if Children need update DynamicRouteHelper.RebuildRoutesByNode(e.ParentNodeId); }