You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/model-driven-apps/troubleshoot-forms.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ This article helps fix some common issues that you might encounter while working
30
30
31
31
## URL parameters to disable various form components
32
32
33
-
You require URL parameters to disable various form components that help narrow down issues to a specific component. It is recommended that you use the flags one at a time to narrow down the cause of the issue. The following are a list of URL parameters that can be used:
33
+
When you are troublshooting issues with forms you need to use URL parameters to disable various form components that help narrow down a problem to a specific component. It is recommended that you use the flags one at a time to narrow down the cause of the issue. The following are a list of URL parameters that can be used:
## View registered form event handlers and libraries
65
+
## View registered form event handlers and libraries in the monitor tool.
66
66
67
67
To view registered form event handles and libraries you can view the `FormEvents` operation in the [Monitor tool](https://docs.microsoft.com/powerapps/maker/model-driven-apps/monitor-form-checker).
68
68
@@ -76,7 +76,7 @@ You'll need the `eventIndex` and `libraryIndex` parameter values when using the
76
76
77
77
## Disable form handlers
78
78
79
-
To disable form handlers, use the following flags:
79
+
When you are troublshooting issues caused by form handlers, you need to disable the form handlers using the following URL flags:
80
80
81
81
-**&flags=DisableFormHandlers=\<event name\>**: Disables the form handlers by specifying the event name, for example, `DisableFormHandlers=OnLoad`. If you use the `DisableFormHandlers=true` flag, it disables the following event handlers: [OnLoad](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference/events/form-onload), [OnSave](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference/events/form-onsave), business rule, [OnChange](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference/events/attribute-onchange), and [TabStateChange](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference/events/tabstatechange).
82
82
@@ -86,7 +86,7 @@ To disable form handlers, use the following flags:
86
86
87
87
## Disabling form libraries
88
88
89
-
To disable form libraries, use the following flags:
89
+
When you are troublshooting issues caused by form libraries, you need to disable the form libraries using the following URL flags:
90
90
91
91
-**&flags=DisableFormLibraries=true**: Disables all the form libraries.
92
92
@@ -107,7 +107,7 @@ The main differences between disabling form libraries and form handlers are:
107
107
108
108
### Disable web resource controls
109
109
110
-
To disable web resource controls on a form, use the following flag:
110
+
When you are troublshooting issues caused by web resource controls, you need to disable web resource controls sing the following URL flag:
111
111
112
112
**&flags=DisableWebResourceControls=true**: Disables all the web resource controls.
113
113
@@ -116,7 +116,7 @@ To disable web resource controls on a form, use the following flag:
116
116
117
117
### Disable controls on a form
118
118
119
-
To disable controls on a form, use the following flag:
119
+
When you are troublshooting issues caused by controls on a form, you need to disable the controls using the following URL flag:
120
120
121
121
**&flags=DisableFormControl=true**: Disables all the controls on a form.
122
122
@@ -125,29 +125,29 @@ To disable controls on a form, use the following flag:
125
125
126
126
## Disable business process flow
127
127
128
-
To disable a business process flow on the form, use the following flag:
128
+
If you are troublshooting an issue cuased by a business process flow (BPF) you need to disable it on the form using the following flag:
129
129
130
130
**&flags=DisableBusinessProcessFlow=true**: Disables a business process flow on the form.
131
131
132
132
## Unexpected behaviors when loading a form
133
133
134
-
While working on model-driven apps forms, you notice some unexpected behaviors while opening a form. Some of the common issues include:
134
+
While working on model-driven app forms there are some common issue that may cause unexpected behavior when the form opens including:
135
135
136
136
- Fields or controls do not have an expected value.
137
137
138
138
- Controls are not disabled/enabled.
139
139
140
140
- Controls are not shown/hidden.
141
141
142
-
Any of the above behaviors appears after the form is opened, for example, you see a value or control for a second, and then the value changes or the control disappears.
142
+
Any of the above behaviors appear after the form is opened, for example, you see a value or control for a second, and then the value changes or the control disappears.
143
143
144
-
There are many possible causes for the unexpected behaviors when a form opens. One of the most common is the [OnLoad](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference/events/form-onload) scripts that run synchronously or asynchronously to change the field/control behavior. To determine if your script is causing the issue, you can disable the form handlers using the URL parameters by appending `**&flags=DisableFormHandlers=true**` flag at the end of your app URL.
144
+
There are multiple reasons why the unexpected behaviors occurs when a form opens. One of the most common is the [OnLoad](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference/events/form-onload) scripts that run synchronously or asynchronously to change the field/control behavior. To determine if your script is causing the issue, you can disable the form handlers using the URL parameters by appending `**&flags=DisableFormHandlers=true**` flag at the end of your app URL.
145
145
146
146
If the form loads normally after you disable the form handler, it indicates that there is an issue with the script that is blocking or causing an error when a form is loading.
147
147
148
148
## Intermittent form errors
149
149
150
-
There are many possible causes for intermittent or random form errors. Using the unsupported [Client API](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference) methods are one of the main reasons why you see the intermittent errors and usually have some of the following characteristics:
150
+
There are many reasons why an intermittent or random form error occurs. The most common is using unsupported [Client API](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference) methods that have some of the following characteristics:
151
151
152
152
- Occurs on some records, users, regions, browsers, or only during a certain period when the network or service load is high.
0 commit comments