Skip to content
🚀 Rapid Application Development with the App Builder

app.setDelete(boolean) ​

Enables or disables record deletion functionality.

Scope: TABLE

Parameters ​

ParameterTypeDescription
setbooleanEnable or disable delete.

Return Value ​

None

✨ Example ​

js
if (app.getUsername() === "anonymous") {
    app.setDelete(false)
}

Notes ​

Please be aware that the server will block any rights that surpass the app's configured limitations, even though permissions can be dynamically granted or revoked.