You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


afterSaveEvent


The event happens after the saving.

Return:

TypeDescription
Object
on
SimpleEventBus.on('afterSaveEvent', async (obj) => {
  const savedRecordId = obj.payload.recordId;
});

afterSaveAndGetUiActionsEvent


The event happens after the saving and when the UI-actions are returned.

Return:

TypeDescription
Object
{
    view: 'default',
    tableName: 'task',
    recordId: '1000000001',
    displayValue: 'Test Task',
    result: 'OK' ,
}
или
{
    errors: ['Text error'],
    result: 'ERROR' ,
}
on
SimpleEventBus.on('afterSaveAndGetUiActionsEvent', async (obj) => {
  
});

afterLoadBreadcrumbs



on
SimpleEventBus.on('afterLoadBreadcrumbs', async (obj) => {
  
});

afterValidation



on
SimpleEventBus.on('afterValidation', async (obj) => {
  
});

afterLoadWidgets


The event happens when all widgets are loaded.

Return:

TypeDescription
BooleanThis returns false .
on
SimpleEventBus.on('afterLoadWidgets', async (obj) => {
  
});

  • No labels