Union type for all navigation event kinds emitted by the forms package. The host application subscribes to these and maps them to its own routing system.
HandleNavigation(event: FormNavigationEvent): void { switch (event.Kind) { case 'record': this.navigationService.NavigateToRecord(event.EntityName, event.PrimaryKey); break; case 'external-link': window.open(event.Url, '_blank'); break; }} Copy
HandleNavigation(event: FormNavigationEvent): void { switch (event.Kind) { case 'record': this.navigationService.NavigateToRecord(event.EntityName, event.PrimaryKey); break; case 'external-link': window.open(event.Url, '_blank'); break; }}
Union type for all navigation event kinds emitted by the forms package. The host application subscribes to these and maps them to its own routing system.