You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Next »
This API class allows you to operate with the record deletion log. The following method of the class restores records.
This method restores a deleted record.
Parameter(s):
Return:
Example:
const deletionLog = new SimpleRecordDeletionLog(); if (deletionLog.restore(current.sys_id)) { ss.addSuccessMessage('The record is restored'); }