Skip to content

Commit 79378b2

Browse files
authored
Merge pull request MicrosoftDocs#1731 from vashr/patch-5
Removed processId/processInstanceId and added new suggestion in remarks
2 parents ead53a9 + 75387ca commit 79378b2

File tree

1 file changed

+2
-3
lines changed
  • powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Navigation

1 file changed

+2
-3
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Navigation/openForm.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ search.app:
4747
<li><b>openInNewWindow</b>: (Optional) Boolean. Indicates whether to display form in a new window.</li>
4848
<li><b>windowPosition</b>: (Optional) Number. Specify one of the following values for the position of the form on the screen:<ul><li><code>1:center</code></li><li><code>2:side</code></li></ul>
4949
This does not apply to opening a new browser window.
50-
<li><b>processId</b>: (Optional) String. ID of the business process to be displayed on the form.</li>
51-
<li><b>processInstanceId</b>: (Optional) String. ID of the business process instance to be displayed on the form.</li>
5250
<li><b>relationship</b>: (Optional) Object. Define a relationship object to display the related records on the form. The object has the following attributes.
5351
<table style="width:100%">
5452
  <tr>
@@ -126,7 +124,8 @@ This function is passed an object as a parameter. The object has a <b>savedEntit
126124

127125
## Remarks
128126

129-
You must use this method to open entity or quick create forms instead of the deprecated [Xrm.Utility.openEntityForm](https://msdn.microsoft.com/library/jj602956.aspx#openEntityForm) and [Xrm.Utility.openQuickCreate](https://msdn.microsoft.com/library/jj602956.aspx#openQuickCreate) methods.
127+
You must use this method to open entity or quick create forms instead of the deprecated [Xrm.Utility.openEntityForm](https://msdn.microsoft.com/library/jj602956.aspx#openEntityForm) and [Xrm.Utility.openQuickCreate](https://msdn.microsoft.com/library/jj602956.aspx#openQuickCreate) methods.
128+
Use [setActiveProcess](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data-process/activeprocess/setactiveprocess) to display a particular business process and [setActiveProcessInstance](https://docs.microsoft.com/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data-process/setactiveprocessinstance) to display a particular business process instance on the form.
130129

131130

132131
## Examples

0 commit comments

Comments
 (0)