From 60b94b03e4f71604b03d4adb1b03633e9993e6ef Mon Sep 17 00:00:00 2001 From: gjulivan Date: Tue, 8 Sep 2026 12:44:48 +0200 Subject: [PATCH] update strict mode limitation on widget --- .../refguide/modeling/security/app-security/strict-mode.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/en/docs/refguide/modeling/security/app-security/strict-mode.md b/content/en/docs/refguide/modeling/security/app-security/strict-mode.md index 96e90fe5fd9..e0e34e1b1a2 100644 --- a/content/en/docs/refguide/modeling/security/app-security/strict-mode.md +++ b/content/en/docs/refguide/modeling/security/app-security/strict-mode.md @@ -35,6 +35,13 @@ When strict mode is enabled, the following [client APIs](/apidocs-mxsdk/apidocs/ The APIs will be disabled on the Runtime, which means that these APIs cannot be invoked in online apps via JavaScript actions or the browser's console. If any of these APIs are used in a JavaScript action, consider using a nanoflow instead. +### Restricted Client APIs in Platform supported widgets + +In strict mode, some actions in platform-supported widgets are restricted because they rely on blocked client APIs. + +* [File Uploader](/appstore/modules/file-uploader/) - The delete action does not work in strict mode because it uses `data.remove`. To work around this restriction, create a custom button and use a nanoflow to delete the file object. For guidance, see [Enable custom buttons](/appstore/modules/file-uploader/#enable-custom-buttons). +* [Web Actions](/appstore/modules/web-actions/) - The **Take Picture** action does not work in strict mode because it uses `data.commit` to create the object. + ## Save And Cancel Changes Action {#save-and-cancel} In strict mode, your model is analyzed by Studio Pro to ensure that only entities within editable widgets can be saved or rolled back during save or cancel actions.