Skip to content

Commit b6bec00

Browse files
committed
Merge branch 'master' into michu-pachecker-4599547-api-docs
2 parents 1880ee9 + 54a6c42 commit b6bec00

File tree

4 files changed

+22
-31
lines changed

4 files changed

+22
-31
lines changed

powerapps-docs/developer/common-data-service/org-service/TOC.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,16 @@
7070
items: # We may need a topic here about CRUD?
7171
- name: Build queries with LINQ (.NET language-integrated query)
7272
href: build-queries-with-linq-net-language-integrated-query.md
73-
- name: LINQ query examples
74-
href: linq-query-examples.md
73+
- name: Use LINQ to construct a query
74+
href: use-linq-construct-query.md
75+
- name: Use late-bound entity class with a LINQ query
76+
href: use-late-bound-entity-class-linq-query.md
7577
- name: Order results using entity attributes with LINQ
7678
href: order-results-entity-attributes-linq.md
7779
- name: Page large result sets with LINQ
7880
href: page-large-result-sets-linq.md
79-
- name: Use late-bound entity class with a LINQ query
80-
href: use-late-bound-entity-class-linq-query.md
81-
- name: Use LINQ to construct a query
82-
href: use-linq-construct-query.md
81+
- name: LINQ query examples
82+
href: linq-query-examples.md
8383
- name: Detect duplicate data
8484
href: detect-duplicate-data.md
8585
- name: Generate classes for early-bound programming

powerapps-docs/developer/common-data-service/org-service/build-queries-with-linq-net-language-integrated-query.md

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,14 @@ search.app:
1919

2020
You can use .NET Language-Integrated Query (LINQ) to write queries in Common Data Service. You can use the <xref:Microsoft.Xrm.Sdk.Client.OrganizationServiceContext> class or a deriving class created by the CrmSvcUtil tool to write [LINQ](https://msdn.microsoft.com/library/bb397897.aspx) queries that access the SOAP endpoint (Organization.svc). The <xref:Microsoft.Xrm.Sdk.Client.OrganizationServiceContext> class contains an underlying LINQ query provider that translates LINQ queries from Visual C# or Visual Basic .NET syntax into the query API used by Common Data Service.
2121

22-
When you use early-bound programming classes you can generate a class derived from the <xref:Microsoft.Xrm.Sdk.Client.OrganizationServiceContext> class if you specify the name of the class using the **servicecontextname** parameter when using the Code Generation Tool (CrmSvcUtil.exe). Use of this class allows for referencing an [IQueryable](https://msdn.microsoft.com/library/system.linq.iqueryable.aspx) entity set using the pattern `<entity schema name>+Set`, for example **AccountSet** to reference the collection of `Account` entity records. All samples in the Common Data Service Web Services, use **ServiceContext** as the name for this class but your code may use a different name. More information: [Create Early Bound Entity Classes with the Code Generation Tool (CrmSvcUtil.exe)](/dynamics365/customer-engagement/developer/org-service/create-early-bound-entity-classes-code-generation-tool.md)
22+
When you use early-bound programming classes you can generate a class derived from the <xref:Microsoft.Xrm.Sdk.Client.OrganizationServiceContext> class if you specify the name of the class using the **servicecontextname** parameter when using the Code Generation Tool (CrmSvcUtil.exe). Use of this class allows for referencing an [IQueryable](https://msdn.microsoft.com/library/system.linq.iqueryable.aspx) entity set using the pattern `<entity schema name>+Set`, for example **AccountSet** to reference the collection of `Account` entity records. All samples in the Common Data Service Web Services, use **ServiceContext** as the name for this class but your code may use a different name. More information: [Generate early-bound classes for the Organization service)](generate-early-bound-classes.md).
2323

24-
## In This Section
24+
### See Also
25+
2526
[Use LINQ to Construct a Query](use-linq-construct-query.md)
2627

2728
[Use Late-Bound Entity Class with a LINQ Query](use-late-bound-entity-class-linq-query.md)
2829

2930
[Use Entity Lookup Attributes with LINQ](order-results-entity-attributes-linq.md)
30-
31-
[Order Results Using Entity Attributes with LINQ](/dynamics365/customer-engagement/developer/org-service/order-results-entity-attributes-linq)
32-
33-
[Paging Large Result Sets with LINQ](/dynamics365/customer-engagement/developer/org-service/page-large-result-sets-linq)
34-
35-
[LINQ Query Examples](/dynamics365/customer-engagement/developer/org-service/linq-query-examples)
36-
37-
[Sample: Create a LINQ Query](/dynamics365/customer-engagement/developer/org-service/sample-create-linq-query)
38-
39-
[Sample: LINQ Query Examples](/dynamics365/customer-engagement/developer/org-service/sample-complex-linq-queries)
40-
41-
[Sample: RetrieveMultiple With Condition Operators Using LINQ](/dynamics365/customer-engagement/developer/org-service/sample-retrieve-multiple-with-condition-operators-using-linq)
42-
43-
[Sample: More LINQ Query Examples](/dynamics365/customer-engagement/developer/org-service/sample-more-linq-query-examples)
44-
45-
[Sample: Use LINQ with Late Binding](/dynamics365/customer-engagement/developer/org-service/sample-create-linq-query-late-binding)
31+
32+
[LINQ query examples](linq-query-examples.md)

powerapps-docs/developer/common-data-service/org-service/use-linq-construct-query.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ select new Contact
149149
}
150150
```
151151
### See also
152-
[Sample: Create a LINQ Query](/dynamics365/customer-engagement/developer/org-service/sample-create-linq-query.md)
153-
[Sample: LINQ Query Examples](/dynamics365/customer-engagement/developer/org-service/sample-complex-linq-queries.md)
154-
[Build Queries with LINQ (.NET Language-Integrated Query)](/dynamics365/customer-engagement/developer/org-service/build-queries-with-linq-net-language-integrated-query.md)
155-
[Use Late-Bound Entity Class with a LINQ Query](/dynamics365/customer-engagement/developer/org-service/use-late-bound-entity-class-linq-query.md)
152+
[Sample: Create a LINQ Query](/dynamics365/customer-engagement/developer/org-service/sample-create-linq-query)
153+
[Sample: LINQ Query Examples](/dynamics365/customer-engagement/developer/org-service/sample-complex-linq-queries)
154+
[Build Queries with LINQ (.NET Language-Integrated Query)](/dynamics365/customer-engagement/developer/org-service/build-queries-with-linq-net-language-integrated-query)
155+
[Use Late-Bound Entity Class with a LINQ Query](/dynamics365/customer-engagement/developer/org-service/use-late-bound-entity-class-linq-query)
156156
[Blog: LINQPad 4 Driver for Dynamics CRM REST/Web API are available on CodePlex](http://blogs.msdn.com/b/crminthefield/archive/2015/06/11/linqpad-4-driver-for-dynamics-crm-rest-webapi-are-available-on-codeplex.aspx)

powerapps-docs/maker/model-driven-apps/control-access-forms.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Control access to model-driven app forms in PowerApps | MicrosoftDocs"
33
description: "Learn how to control acces to main forms"
44
ms.custom: ""
5-
ms.date: 03/07/2019
5+
ms.date: 06/18/2019
66
ms.reviewer: ""
77
ms.service: powerapps
88
ms.suite: ""
@@ -71,11 +71,15 @@ search.app:
7171

7272
<a name="BKMK_UseFormScripting"></a>
7373
## Use form scripting
74+
The Client API form context (formContext) provides a reference to the form or to an item on the form, such as, a quick view control or a row in an editable grid, against which the current code is executed. More information: [Client API form context](/dynamics365/customer-engagement/developer/clientapi/clientapi-form-context)
7475

76+
> [!IMPORTANT]
77+
> With Dynamics 365 for Customer Engagement apps version 9.0, the Xrm.Page object is [deprecated](/dynamics365/get-started/whats-new/customer-engagement/important-changes-coming#some-client-apis-are-deprecated), and you should use the [getFormContext](/dynamics365/customer-engagement/developer/clientapi/reference/executioncontext/getformcontext) method of the passed in execution context object to return reference to the appropriate form or an item on the form.
78+
<!--
7579
Finally, in the web application it is possible, but not recommended, for a developer to use scripts in the form Onload event to use the [Xrm.Page.ui.formSelector.items collection](http://go.microsoft.com/fwlink/p/?LinkID=513300) to query available forms and use the navigate method to direct users to a specific form. Remember that the [navigate method](http://go.microsoft.com/fwlink/p/?LinkID=513301) will cause the form to load again (and the Onload event to occur again). Your logic in the event handler should always check some condition before you use the navigate method to avoid an endless loop or unnecessarily restrict users options to navigate between forms.
7680
77-
This approach will not work for Dynamics 365 for tablets because multiple forms are not available for selection.
81+
This approach will not work for Dynamics 365 for tablets because multiple forms are not available for selection. -->
7882

79-
### Next steps
83+
### See also
8084

8185
[Assign security roles to forms](https://docs.microsoft.com/dynamics365/customer-engagement/admin/assign-security-roles-form)

0 commit comments

Comments
 (0)