Skip to content

Commit 2330640

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/powerapps-docs-pr into matp-master-aug
2 parents b9f28a6 + 009480d commit 2330640

File tree

5 files changed

+41
-3
lines changed

5 files changed

+41
-3
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ settings.json
1313
/.vs/slnx.sqlite
1414
/.vs/powerapps-docs-pr/v16/.suo
1515
/.vs/VSWorkspaceState.json
16+
powerapps-docs/.vs/powerapps-docs/v15/.suo
17+
powerapps-docs/.vs/ProjectSettings.json
18+
powerapps-docs/.vs/slnx.sqlite
19+
powerapps-docs/.vs/VSWorkspaceState.json

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "powerapps-docs/maker/common-data-service/solution-best-practices.md",
5+
"redirect_url": "https://docs.microsoft.com/en-us/power-platform/alm/solution-concepts-alm",
6+
"redirect_document_id": "false"
7+
},
38
{
49
"source_path": "powerapps-docs/developer/common-data-service/build-tools-tutorial-faq.md",
510
"redirect_url": "https://docs.microsoft.com/power-platform/alm/devops-build-tools#frequently-asked-question-faq",

powerapps-docs/developer/component-framework/implementing-controls-using-typescript.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,11 @@ Developers and app makers can define their styling to represent their code compo
315315
</resources>
316316
```
317317

318+
> [!NOTE]
319+
> Power Apps component framework uses the concept of implementing String(resx) web resources that is used to manage the localized strings shown on any user interface. More information: [String(Resx) web resources](https://docs.microsoft.com/dynamics365/customerengagement/on-premises/developer/resx-web-resources).
320+
> See [Localization API](sample-controls/localization-api-control.md) sample, to learn how to localize code components using `resx` web resources.
321+
322+
318323
## Build your code components
319324

320325
After you finish adding manifest, component logic, and styling, build the code components using the command:

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

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,34 @@ search.app:
3838
|searchText|String|No|Indicates the default search term for the lookup control. This is supported only on [Unified Interface](https://docs.microsoft.com/power-platform/admin/about-unified-interface).|
3939
|showBarcodeScanner|Boolean|No|Indicates whether the lookup control should show the barcode scanner in mobile clients.|
4040
|viewIds|Array|No|The views to be available in the view picker. Only system views are supported.|
41-
|successCallback |Function |Yes |A function to call when the lookup control is invoked. An array of objects with the following properties is passed:<br/><ul><li>**entityType**: String. Entity type of the record selected in the lookup control.</li><li>**id**: String. ID of the record selected in the lookup control.</li><li>**name**: String. Name of the record selected in the lookup control.</li>|
42-
|errorCallback |Function |Yes |A function to call when you cancel the lookup control or the operation fails. |
4341

42+
**successCallback**: Function. A function to call when the lookup control is invoked. An array of objects with the following properties is passed:<br/><ul><li>**entityType**: String. Entity type of the record selected in the lookup control.</li><li>**id**: String. ID of the record selected in the lookup control.</li><li>**name**: String. Name of the record selected in the lookup control.</li></ul>
43+
44+
45+
**errorCallback**: Function. A function to call when you cancel the lookup control or the operation fails.
46+
47+
## Example
48+
49+
```javascript
50+
//define data for lookupOptions
51+
var lookupOptions =
52+
{
53+
defaultEntityType: "account",
54+
entityTypes: ["account"],
55+
allowMultiSelect: false,
56+
defaultViewId:"0D5D377B-5E7C-47B5-BAB1-A5CB8B4AC10",
57+
viewIds:["0D5D377B-5E7C-47B5-BAB1-A5CB8B4AC10","00000000-0000-0000-00AA-000010001003"],
58+
searchText:"Allison",
59+
filters: [{filterXml: "<filter type='or'><condition attribute='name' operator='like' value='A%' /></filter>",entityLogicalName: "account"}]
60+
};
61+
62+
// Get account records based on the lookup Options
63+
Xrm.Utility.lookupObjects(lookupOptions).then(
64+
function(success){
65+
console.log(success);},
66+
function(error){console.log(error);});
67+
}
68+
```
4469

4570
### Related topics
4671

powerapps-docs/developer/model-driven-apps/clientapi/reference/executioncontext/getEventArgs.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Returns an object with methods to manage the **Save** event.
3131

3232
**Description**: See [Save Event Arguments](../save-event-arguments.md).
3333

34-
3534
### Related topics
3635
[Execution context](../execution-context.md)
3736

0 commit comments

Comments
 (0)