Nota
O acceso a esta páxina require autorización. Pode tentar iniciar sesión ou modificar os directorios.
O acceso a esta páxina require autorización. Pode tentar modificar os directorios.
Desactiva o tempo límite para o xestor de eventos. En vez diso, o evento espera ata que se cumpra a promesa do xestor de eventos. Máis información sobre os tempos límites de Async OnSave
Sintaxe
executionContext.getEventArgs().disableAsyncTimeout()
Exemplo
async function myHandler(context) {
context.getEventArgs().disableAsyncTimeout();
// The 10000ms time out will not be disabled if the above line does not come before all async awaits
await Xrm.Navigation.openConfirmDialog({ text: "Are you sure you want to save?" });
}
Artigos relacionados
getSaveMode
isDefaultPrevented
preventDefault
preventDefaultOnError