Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@

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

Check failure on line 38 in content/en/docs/refguide/modeling/security/app-security/strict-mode.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Mendix.HeadingTitleCase] Use title case capitalization for 'Restricted Client APIs in Platform supported widgets'. Raw Output: {"message": "[Mendix.HeadingTitleCase] Use title case capitalization for 'Restricted Client APIs in Platform supported widgets'.", "location": {"path": "content/en/docs/refguide/modeling/security/app-security/strict-mode.md", "range": {"start": {"line": 38, "column": 5}}}, "severity": "ERROR"}

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.
Expand Down