Skip to content

Commit df5075a

Browse files
committed
Update troubleshoot-forms.md
1 parent a1d552c commit df5075a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

powerapps-docs/developer/model-driven-apps/troubleshoot-forms.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This article helps fix some common issues that you might encounter while working
3030
3131
## URL parameters to disable various form components
3232

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:
3434

3535
- DisableFormCommandbar
3636

@@ -62,7 +62,7 @@ https://myorg.crm.dynamics.crm/main.aspx?appid=00000000-0000-0000-0000-000000000
6262
https://myorg.crm.dynamics.crm/main.aspx?appid=00000000-0000-0000-0000-000000000000&pagetype=entityrecord&id=00000000-0000-0000-0000-000000000000**&flags=DisableFormCommandbar=true
6363
```
6464

65-
## View registered form event handlers and libraries
65+
## View registered form event handlers and libraries in the monitor tool.
6666

6767
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).
6868

@@ -76,7 +76,7 @@ You'll need the `eventIndex` and `libraryIndex` parameter values when using the
7676
7777
## Disable form handlers
7878

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:
8080

8181
- **&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).
8282

@@ -86,7 +86,7 @@ To disable form handlers, use the following flags:
8686

8787
## Disabling form libraries
8888

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:
9090

9191
- **&flags=DisableFormLibraries=true**: Disables all the form libraries.
9292

@@ -107,7 +107,7 @@ The main differences between disabling form libraries and form handlers are:
107107

108108
### Disable web resource controls
109109

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:
111111

112112
**&flags=DisableWebResourceControls=true**: Disables all the web resource controls.
113113

@@ -116,7 +116,7 @@ To disable web resource controls on a form, use the following flag:
116116
117117
### Disable controls on a form
118118

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:
120120

121121
**&flags=DisableFormControl=true**: Disables all the controls on a form.
122122

@@ -125,29 +125,29 @@ To disable controls on a form, use the following flag:
125125
126126
## Disable business process flow
127127

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:
129129

130130
**&flags=DisableBusinessProcessFlow=true**: Disables a business process flow on the form.
131131

132132
## Unexpected behaviors when loading a form
133133

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:
135135

136136
- Fields or controls do not have an expected value.
137137

138138
- Controls are not disabled/enabled.
139139

140140
- Controls are not shown/hidden.
141141

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.
143143

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.
145145

146146
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.
147147

148148
## Intermittent form errors
149149

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:
151151

152152
- Occurs on some records, users, regions, browsers, or only during a certain period when the network or service load is high.
153153

0 commit comments

Comments
 (0)