Skip to content

Commit dfff542

Browse files
authored
Update visibility-options-legacy.md
Style tweak.
1 parent b0f0a8d commit dfff542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

powerapps-docs/maker/model-driven-apps/visibility-options-legacy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Show or hide model-driven app form elements with Power Apps | MicrosoftDocs"
33
description: "Learn how to display or hide from elements, such as tabs, sections, or fields"
44
ms.custom: ""
5-
ms.date: 07/23/2020
5+
ms.date: 08/27/2020
66
ms.reviewer: ""
77
ms.service: powerapps
88
ms.suite: ""
@@ -29,7 +29,7 @@ search.app:
2929

3030
> [!IMPORTANT]
3131
> Hiding form elements is not a recommended way to enforce security. There are several ways people can view all the elements and data in the form when elements are hidden.
32-
> Disabling, hiding, or locking a field, control, or form component using the form designer, manually in the form XML, or using a Client API only works to control data access in a Unified Interface or legacy web client app. It doesn’t strictly enforce data access by itself in the apps. Moreover, it doesn’t control data access using other ways to connect to Common Data Service such as using the Web service or a canvas app. It is also important to know that the app will not throw an error or block a save if a required field is null and has been disabled. This ensures that users are never blocked from completing a task. To control access, [Set security roles for a form](control-access-forms.md#set-security-roles-for-a-form) or use [Field-level security](/power-platform/admin/field-level-security).
32+
> Disabling, hiding, or locking a field, control, or form component using the form designer, manually in the form XML, or using a Client API only works to control data access in a Unified Interface or legacy web client app. It doesn’t strictly enforce data access by itself in the apps. Moreover, it doesn’t control data access using other ways to connect to Common Data Service such as using the Web service or a canvas app. It is also important to know that the app will not display an error message or block a save if a required field is null and has been disabled. This ensures that users are never blocked from completing a task. To control access, see [Set security roles for a form](control-access-forms.md#set-security-roles-for-a-form) or use [Field-level security](/power-platform/admin/field-level-security).
3333
3434
Rather than designing forms that depend on scripts to control visibility of options, consider whether a business process flow, a dialog, or switching to a different form may be better suited to meet your requirements. If you do use scripts, make sure that any element that might be hidden is hidden by default. Only show it with scripts when your logic calls for it. This way it will not be displayed in presentations that do not support scripts.
3535

0 commit comments

Comments
 (0)