Skip to content

Commit f4b7995

Browse files
authored
Minor fixes
1 parent 85f45c5 commit f4b7995

File tree

1 file changed

+6
-7
lines changed
  • powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Utility

1 file changed

+6
-7
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Utility/lookupObjects.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
title: "lookupObjects (Client API reference) in model-driven apps| MicrosoftDocs"
3-
ms.date: 10/31/2018
4-
ms.service: "crm-online"
3+
ms.date: 01/16/2019
4+
ms.service: "powerapps"
55
ms.topic: "reference"
6-
applies_to: "Dynamics 365 (online)"
76
ms.assetid: 89123cde-7c66-4c7d-94e4-e287285019f8
87
author: "KumarVivek"
98
ms.author: "kvivek"
10-
manager: "amyla"
9+
manager: "annbe"
1110
search.audienceType:
1211
- developer
1312
search.app:
@@ -22,7 +21,7 @@ search.app:
2221

2322
## Syntax
2423

25-
`Xrm.Utility.lookupObjects(lookupOptions).then(successCallback, cancelCallback)`
24+
`Xrm.Utility.lookupObjects(lookupOptions).then(successCallback, errorCallback)`
2625

2726
## Parameters
2827

@@ -36,10 +35,10 @@ search.app:
3635
|entityTypes|Array|No|The entity types to display.|
3736
|showBarcodeScanner|Boolean|No|Indicates whether the lookup control should show the barcode scanner in mobile clients.|
3837
|viewIds|Array|No|The views to be available in the view picker. Only system views are supported.|
39-
|successCallback |Function |Yes |A function to call when the lookup control is invoked. An object with the following properties is passed:<br/>- **entityType**: String. Entity type of the record selected in the lookup control.<br/>- **id**: String. ID of the record selected in the lookup control.<br/>- **name**: String. Name of the record selected in the lookup control.|
38+
|successCallback |Function |Yes |A function to call when the lookup control is invoked. An array of objects with the following properties is passed:<br/>- **entityType**: String. Entity type of the record selected in the lookup control.<br/>- **id**: String. ID of the record selected in the lookup control.<br/>- **name**: String. Name of the record selected in the lookup control.|
4039
|errorCallback |Function |Yes |A function to call when you cancel the lookup control or the operation fails. |
4140

4241

4342
### Related topics
4443

45-
[Xrm.Utility](../xrm-utility.md)
44+
[Xrm.Utility](../xrm-utility.md)

0 commit comments

Comments
 (0)