API REFERENCE

exportAuditLogAsJson

Downloads selected audit records as a JSON file.

What does this API do?

Downloads selected audit records as a JSON file.

Exact input and result types

typescript
exportAuditLogAsJson(fileName?: string, filter?: AuditLogFilter): Promise<void>
ArgumentsRequiredType
fileNameOptionalstring
filterOptionalAuditLogFilter

The return type is Promise<void>.

Usage flow

After registering and initializing the Grid element, call grid.exportAuditLogAsJson(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Read related types

Feature explanations and examples