Skip to content

Commit bdf6758

Browse files
authored
Live publish
2 parents 0f9b3ff + 3d46014 commit bdf6758

25 files changed

+323
-20
lines changed

powerapps-docs/developer/common-data-service/authenticate-oauth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Use OAuth with Common Data Service (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "Learn how to authenticate using OAuth with Common Data Service" # 115-145 characters including spaces. This abstract displays in the search result.
4-
ms.custom: ""
4+
ms.custom: has-adal-ref
55
ms.date: 10/31/2018
66
ms.reviewer: "pehecke"
77
ms.service: powerapps

powerapps-docs/developer/common-data-service/file-attributes.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "File attributes (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "Learn about File attributes that store file data within the application, supporting attributes, retrieving data, and uploading file data." # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.custom: ""
5-
ms.date: 06/17/2020
5+
ms.date: 07/09/2020
66
ms.reviewer: "pehecke"
77
ms.service: powerapps
88
ms.topic: "article"
@@ -150,6 +150,18 @@ Headers:
150150
x-ms-transfer-mode: chunked
151151
x-ms-file-name: sample.png
152152
```
153+
154+
**Request** (alternate form)
155+
156+
This form of the request uses a query string parameter and supports non-ASCII language file names. If the file name is specified in both the header and as a query string parameter, the header value has precedence.
157+
158+
```http
159+
PATCH [Organization URI]/api/data/v9.1/accounts(id)/myfileattribute?x-ms-file-name=测试.txt
160+
161+
Headers:
162+
x-ms-transfer-mode: chunked
163+
```
164+
153165
**Response**
154166
```http
155167
200 OK

powerapps-docs/developer/common-data-service/powerapps-cli.md

Lines changed: 86 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,99 @@ To get Power Apps CLI, do the following:
4444
4545
## Common commands
4646
47-
This table lists some common commands used in the CLI:
47+
This table lists some of the common commands used in the CLI:
4848
49-
|Command|Description|Examples|
49+
|Command|Description|
50+
|-------|-----------|
51+
|[pcf](#pcf)|Commands to work with [Power Apps component framework](/powerapps/developer/component-framework/overview).|
52+
|[solution](#solution)|Commands for working with [Common Data Service solution projects](/powerapps/maker/common-data-service/solutions-overview).|
53+
|[auth](#auth)|Commands to [authenticate to Common Data Service](/powerapps/developer/component-framework/import-custom-controls#connecting-to-your-environment).|
54+
|[telemetry](#telemetry)|Manages the telemetry settings.|
55+
|[plugin](#plugin)|Manages to create a [plug-in](/powerapps/developer/common-data-service/plug-ins) project.|
56+
|[org](#org)|Command to work with Common Data Service environment.|
57+
58+
### Pcf
59+
60+
Commands to work with [Power Apps component framework](/powerapps/developer/component-framework/overview). It has the following parameters:
61+
62+
#### Parameters
63+
64+
|Property Name|Description|Example|
65+
|-------------|-----------|-------|
66+
|init|Initializes the code component project. It has the following parameters <br/> - *namespace*: Namespace of the code component. <br/> - *name*: Name of the code component. <br/> - *template*: Field or dataset| `pac pcf init --namespace<SampleNameSpace --name SampleComponent --template field`|
67+
|push|Pushes the code component to the Common Data Service instance with all the latest changes. It has the following parameter: <br/> - *publisher-prefix*: Publisher prefix of the organization.|`pac pcf push --publisher-prefix dev`|
68+
|version|Updates the component manifest file with the specified patch version. It has the following parameters: <br/> - *patchversion*: Patch version of the code component. `patchversion` will only take value of the third part of the version tuple: `Major.Minor.Patch`.<br/> - *path*: Absolute or relative path of the component manifest file.<br/> - *allmanifests*: Updates the patch version for all the component manifest files. <br/> - *updatetarget*: Updates the specified manifest file. It has two values, build and project.<br/> - *strategy*: Updates patch version for the manifest files using specified strategy values. It has the following values: <br/> - *gittags*: Use git tags to decide if a particular component’s patch version needs to be updated.<br/> *filetracking*: Use .csv file to decide if a particular component’s patch version needs to be updated. <br/> - *manifest*: Increments the patch version by 1 for all the components.|`pac pcf version --patchversion 1.0.0.0 --path c:\Users\Downloads\SampleComponent --allmanifests` <br/><br/> `pac pcf version --strategy gittags`|
69+
70+
71+
### Solution
72+
73+
Commands for working with [Common Data Service solution projects](/powerapps/maker/common-data-service/solutions-overview). It has the following parameters:
74+
75+
#### Parameters
76+
77+
|Property Name|Description|Example|
78+
|-------------|-----------|-------|
79+
|init|Initializes the solution project. It has the following parameters:<br/> - *publisher-name*: Publisher name of the organization. <br/> - *publisher-prefix*: Publisher prefix of the organization.|`pac solution init --publisher-name developer --publisher-prefix dev` |
80+
|add-reference|Sets the reference path to the component project folder by passing the `path` parameter.|`pac solution add-reference --path c:\Users\Downloads\SampleComponent`|
81+
|clone|Creates a solution project based up on the existing solution project. It has the following parameters:<br/> -*name*: The name of the solution to be exported.<br/> -*targetversion*: The version that the exported solution supports.<br/> -*include*: Settings that should be included in the solution being exported. <br/> It has the following values: autonumbering, calendar, customization, emailtracking, externalapplications, general, isvconfig, marketing, outlooksynchronization, relationshiproles, sales|`pac solution clone -–name sampleSolution --version 1.0.0.2 --include general`|
82+
|export|Exports a Common Data Service solution project from the current organization. It has the following parameters:<br/> -*path*: Place where the exported solution zip file will be saved.<br/> - *name*: Name oft he solution that needs to be exported.<br/> - *managed*: Defines whether the solution should be exported as a managed solution or not.<br/>-*targetversion*: The version that the exported solution supports.<br/> -*include*: Settings that should be included in the solution being exported.|`pac solution export --path c:\Users\Documents -- name SampleComponentSolution -- managed true -- targetversion 10.0.03 --include general`|
83+
84+
### Auth
85+
86+
Commands to [authenticate to Common Data Service](/powerapps/developer/component-framework/import-custom-controls#connecting-to-your-environment). It has the following parameters:
87+
88+
#### Parameters
89+
90+
|Parameter Name|Description|Example|
91+
|-------------|-----------|-------|
92+
|create| Creates the authentication profile for your organization by passing the `url` parameter. Pass the organization url for the `url` parameter.|`pac auth create --url https://Myorg.crm.dynamics.com`|
93+
|list|Provides the list of authentication profiles.|`pac auth list`|
94+
|select|Provides a way to switch between previously created authentication profiles by passing the `index` parameter.|`pac auth select --index 2`|
95+
|delete|Deletes the authentication profile created by passing the `index` parameter.|`pac auth delete --index 2`|
96+
|clear|Clears all the authentication profile created on the local machine.| `pac auth clear`|
97+
98+
### Telemetry
99+
100+
Manages the telemetry settings. It has the following parameters:
101+
102+
#### Parameters
103+
104+
|Parameter Name|Description|Example|
105+
|------------|------------|---------|
106+
|enable|Enables the telemetry option.|`pac telemetry enable`|
107+
|disable|Disables the telemetry option.| `pac telemetry disable`|
108+
|status|Returns whether the telemetry is enabled or disabled.|`pac telemetry status`|
109+
110+
### Org
111+
112+
Command to work with Common Data Service organizations.
113+
114+
#### Parameters
115+
116+
|Parameter Name|Description|Example|
117+
|-------------|-----------|--------|
118+
|who|Displays information about the current Common Data Service organizations.|`pac org who`|
119+
120+
121+
### Plugin
122+
123+
Manages to create a [plug-in](/powerapps/developer/common-data-service/plug-ins) project.
124+
125+
#### Parameters
126+
127+
|Parameter Name|Description|Example|
128+
|-------------|-----------|--------|
129+
|init|Initializes a directory with a new plugin class library.|`pac plugin init`|
130+
131+
132+
<!--|Command|Description|Examples|
50133
|------|-----------|--------|
51134
|**pcf**|Commands for working with [Power Apps component framework](/powerapps/developer/component-framework/overview). It has the following parameters: <br/> - **init**: Initializes the code component project. It has the following parameters <br/> - *namespace*: Namespace of the code component. <br/> - *name*: Name of the code component. <br/> - *template*: Field or dataset <br/> - **push**: Pushes the code component to the Common Data Service instance with all the latest changes. It has the following parameter: <br/> - *publisher-prefix*: Publisher prefix of the organization.<br/> - **Version**: Updates the component manifest file with the specified patch version. It has the following parameters: <br/> - *patchversion*: Patch version of the code component. `patchversion` will only take value of the third part of the version tuple: `Major.Minor.Patch`.<br/> - *path*: Absolute or relative path of the component manifest file.<br/> - *allmanifests*: Updates the patch version for all the component manifest files. <br/> - *strategy*: Updates patch version for the manifest files using specified strategy values.| `pac pcf init --namespace <specify your namespace here> --name <Name of the code component> --template <component type>` <br/> <br/> `pac pcf push --publisher-prefix <your publisher prefix>` <br/><br/> `pac pcf version --patchversion <number> --path <Absolute or relative path to component manifest file --allmanifests` <br/><br/> `pac pcf version --strategy gittags`|
52135
|**solution**|Commands for working with [Common Data Service solution projects](/powerapps/maker/common-data-service/solutions-overview). It has the following parameters: <br/> - **init**: Initializes the solution project. It has the following parameters:<br/> - *publisher-name*: Publisher name of the organization. <br/> - *publisher-prefix*: Publisher prefix of the organization. <br/> - **add-reference**: Sets the reference path to the component project folder by passing the `path` parameter.<br/> - **clone**: Creates a solution project based up on the existing solution project by passing the following parameters:<br/> -*name*: The name of the solution to be exported.<br/> -*targetversion*: The version that the exported solution supports.<br/> -*include*: Settings that should be included in the solution being exported.<br/> -**Export**: Exports a Common Data Service solution project from the current organization. It has the following parameters:<br/> -*path*: Place where the exported solution zip file will be saved.<br/> - *name*: Name oft he solution that needs to be exported.<br/> - *managed*: Defines whether the solution should be exported as a managed solution or not.<br/>-*targetversion*: The version that the exported solution supports.<br/> -*include*: Settings that should be included in the solution being exported.|`pac solution init --publisher-name <enter your publisher name> --publisher-prefix <enter your publisher prefix>` <br/><br/> `pac solution add-reference --path <path to your Power Apps component framework project>`<br/><br/> `pac solution clone –name<name of the solution to be exported> --version <version of your solution> --include <settings that should be included>`|
53136
|**auth**|Commands to [authenticate to Common Data Service](/powerapps/developer/component-framework/import-custom-controls#connecting-to-your-environment). It has the following parameters: <br/> - **create**: Creates the authentication profile for your organization by passing the `url` parameter. Pass the organization url for the `url` parameter. <br/> - **list**: Provides the list of authentication profiles. <br/> - **select**: Provides a way to switch between previously created authentication profiles by passing the `index` parameter.<br/> - **delete**: Deletes the authentication profile created by passing the `index` parameter.<br/> - **clear**: Clears all the authentication profile created on the local machine.|`pac auth create --url <your Common Data Service org’s url>` <br/> <br/> `pac auth list` <br/><br/> `pac auth select --index <index of the active profile>`<br/><br/> `pac auth clear`|
54137
|**telemetry**|Manages the telemetry settings. It has the following parameters: <br/>- *enable*: Enables the telemetry option.<br/> - *disable*: Disables the telemetry option.<br/> - *status*: Returns whether the telemetry is enabled or disabled.|`pac telemetry enable` <br/><br/> `pac telemetry disable`|
55138
|**org**|Command to work with Common Data Service.|`pac org who`|
56-
|**plugin**|Manages to create a [plug-in](/powerapps/developer/common-data-service/plug-ins) project|`pac plugin init`|
139+
|**plugin**|Manages to create a [plug-in](/powerapps/developer/common-data-service/plug-ins) project|`pac plugin init`|-->
57140
58141
## Uninstall Power Apps CLI
59142

powerapps-docs/developer/model-driven-apps/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,8 @@
826826
href: define-ribbon-display-rules.md
827827
- name: Define ribbon actions
828828
href: define-ribbon-actions.md
829+
- name: Override the default behavior to open records in grids
830+
href: override-default-open-behavior-grids.md
829831
- name: Pass data from a page as a parameter to Ribbon Actions
830832
href: pass-data-page-parameter-ribbon-actions.md
831833
- name: Define custom actions to modify the ribbon

powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-WebApi/createRecord.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ Xrm.WebApi.createRecord("account", data).then(
109109

110110
You can create entities related to each other by defining them as navigation properties values. This is known as *deep insert*. In this example, we will create a sample account record along with the primary contact record and an associated opportunity record.
111111

112+
> [!NOTE]
113+
> Creating related entity records in a single create operation is not supported for offline mode.
114+
112115
```JavaScript
113116
// define data to create primary and related entity records
114117
var data =
@@ -205,4 +208,4 @@ Xrm.WebApi.offline.createRecord("account", data).then(
205208

206209
[Create an entity using the Web API](../../../../common-data-service/webapi/create-entity-web-api.md)
207210

208-
[Xrm.WebApi](../xrm-webapi.md)
211+
[Xrm.WebApi](../xrm-webapi.md)

powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-WebApi/online/execute.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ search.app:
3838
<td>request</td>
3939
<td>Object</td>
4040
<td>Yes</td>
41-
<td><p>Object that will be passed to the Web API endpoint to execute an action, function, or CRUD request. The object exposes a <b>getMetadata</b> method that lets you define the metadata for the action, function or CRUD request you want to execute. The <b>getMetadata</b> method has the following parameters:</p>
41+
<td><p>Object that will be passed to the Web API endpoint to execute an action, function, or CRUD request. The object exposes a <b>getMetadata</b> method <u>via its prototype</u> that lets you define the metadata for the action, function or CRUD request you want to execute. The <b>getMetadata</b> method has the following parameters:</p>
4242
<ul>
4343
<li><b>boundParameter</b>: (Optional) String. The name of the bound parameter for the action or function to execute.
4444
<ul><li>Specify <code>undefined</code> if you are executing a CRUD request.</li>
@@ -112,6 +112,9 @@ Sdk.WinOpportunityRequest = function (opportunityClose, status) {
112112
this.OpportunityClose = opportunityClose;
113113
this.Status = status;
114114
};
115+
116+
// NOTE: The getMetadata property should be attached to the function prototype instead of the
117+
// function object itself.
115118
Sdk.WinOpportunityRequest.prototype.getMetadata = function () {
116119
return {
117120
boundParameter: null,
@@ -165,6 +168,9 @@ var Sdk = window.Sdk || {};
165168
* Request to execute WhoAmI function
166169
*/
167170
Sdk.WhoAmIRequest = function () { };
171+
172+
// NOTE: The getMetadata property should be attached to the function prototype instead of the
173+
// function object itself.
168174
Sdk.WhoAmIRequest.prototype.getMetadata = function () {
169175
return {
170176
boundParameter: null,
@@ -212,6 +218,9 @@ Sdk.CreateRequest = function (entityName, payload) {
212218
this.etn = entityName;
213219
this.payload = payload;
214220
};
221+
222+
// NOTE: The getMetadata property should be attached to the function prototype instead of the
223+
// function object itself.
215224
Sdk.CreateRequest.prototype.getMetadata = function () {
216225
return {
217226
boundParameter: null,
@@ -255,6 +264,9 @@ Sdk.RetrieveRequest = function (entityReference, columns) {
255264
this.entityReference = entityReference;
256265
this.columns = columns;
257266
};
267+
268+
// NOTE: The getMetadata property should be attached to the function prototype instead of the
269+
// function object itself.
258270
Sdk.RetrieveRequest.prototype.getMetadata = function () {
259271
return {
260272
boundParameter: null,
@@ -307,6 +319,9 @@ Sdk.UpdateRequest = function (entityName, entityId, payload) {
307319
this.id = entityId;
308320
this.payload = payload;
309321
};
322+
323+
// NOTE: The getMetadata property should be attached to the function prototype instead of the
324+
// function object itself.
310325
Sdk.UpdateRequest.prototype.getMetadata = function () {
311326
return {
312327
boundParameter: null,
@@ -350,6 +365,9 @@ var Sdk = window.Sdk || {};
350365
Sdk.DeleteRequest = function (entityReference) {
351366
this.entityReference = entityReference;
352367
};
368+
369+
// NOTE: The getMetadata property should be attached to the function prototype instead of the
370+
// function object itself.
353371
Sdk.DeleteRequest.prototype.getMetadata = function () {
354372
return {
355373
boundParameter: null,

powerapps-docs/developer/model-driven-apps/create-accessible-web-resources.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ However, semantic HTML can only go so far. Modern web applications typically inc
8484

8585
The following resources provide a starting point for defining requirements for making your web resources accessible:
8686

87-
- [CRM, Accessibility, and 508](https://blogs.msdn.com/b/devkeydet/archive/2013/01/29/crm-accessibility-and-508.aspx)
88-
8987
- [Introduction to web accessibility](https://docs.microsoft.com/previous-versions/windows/apps/hh452681(v=win.10))
9088

9189
- [Accessibility in Visual Studio and ASP.NET](https://msdn.microsoft.com/library/ms228004) <!--TODO No relevant microsoft docs link-->
60.7 KB
Loading
62.8 KB
Loading
62.4 KB
Loading

0 commit comments

Comments
 (0)