Skip to content

Commit a196a41

Browse files
authored
Merge pull request MicrosoftDocs#3065 from MicrosoftDocs/matp-why-cds
Matp why cds
2 parents d7a4fb5 + 3912bf9 commit a196a41

File tree

54 files changed

+18526
-92
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+18526
-92
lines changed

powerapps-docs/developer/common-data-service/best-practices/work-with-data/index.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
<<<<<<< HEAD
2+
---
3+
title: "Developers: Best practices and guidance around working with data for the Common Data Service | Microsoft Docs"
4+
description: Best practices and guidance around working with data for developers of the Common Data Service in Power Apps.
5+
services: ''
6+
suite: powerapps
7+
documentationcenter: na
8+
author: jowells
9+
manager: austinj
10+
editor: ''
11+
tags: ''
12+
ms.service: powerapps
13+
ms.devlang: na
14+
ms.topic: article
15+
ms.tgt_pltfrm: na
16+
ms.workload: na
17+
ms.date: 12/12/2018
18+
ms.author: jowells
19+
search.audienceType:
20+
- developer
21+
search.app:
22+
- PowerApps
23+
- D365CE
24+
---
25+
26+
# Best practices and guidance around working with data for the Common Data Service
27+
28+
This list below contains all of the best practices and guidance around integrating data using code with the Common Data Service.
29+
30+
|Best Practice |Description |
31+
|---------|---------|
32+
|[Service Protection API Limits (Common Data Service)](../../api-limits.md) |Understand the limits for API requests. |
33+
34+
### See Also
35+
[Work with data using code in Common Data Service (PowerApps)](../../work-with-data-cds.md)<br />
36+
=======
137
---
238
title: "Developers: Best practices and guidance around working with data for the Common Data Service | Microsoft Docs"
339
description: Best practices and guidance around working with data for developers of the Common Data Service in Power Apps.
@@ -31,4 +67,5 @@ This list below contains all of the best practices and guidance around integrati
3167
|[Service Protection API Limits (Common Data Service)](../../api-limits.md) |Understand the limits for API requests. |
3268

3369
### See Also
34-
[Work with data using code in Common Data Service (Power Apps)](../../work-with-data-cds.md)<br />
70+
[Work with data using code in Common Data Service (Power Apps)](../../work-with-data-cds.md)<br />
71+
>>>>>>> ae864535ae5aab1966c3c5bd8c4250316a788d91

powerapps-docs/developer/common-data-service/org-service/web-service-error-codes.md

Lines changed: 3587 additions & 0 deletions
Large diffs are not rendered by default.

powerapps-docs/developer/common-data-service/reference/entities/organization.md

Lines changed: 8775 additions & 0 deletions
Large diffs are not rendered by default.

powerapps-docs/developer/component-framework/overview.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,76 @@
1+
<<<<<<< HEAD
2+
---
3+
title: "Power Apps component framework overview | Microsoft Docs"
4+
description: "Use the Power Apps component framework to create code components to provide enhanced experiences for people to view and work with data in forms, views, and dashboards."
5+
keywords: "Component Framework, code components, Power Apps controls"
6+
author: nkrb
7+
manager: kvivek
8+
ms.date: 09/05/2019
9+
ms.service: "powerapps"
10+
ms.custom:
11+
- "dyn365-a11y"
12+
- "dyn365-developer"
13+
ms.topic: article
14+
ms.assetid: 7923e36d-3640-49f7-9f2f-c97358a632db
15+
ms.author: nabuthuk
16+
---
17+
18+
# Power Apps component framework overview
19+
20+
Power Apps component framework empowers professional developers and app makers to create code components for model-driven and canvas apps (public preview) to provide enhanced user experience for the users to work with data on forms, views, and dashboards. For example:
21+
22+
- Replace a field that displays a numeric text value with a `dial` or `slider` code component.
23+
- Transform a list into an entirely different visual experience bound to the data set like a `Calendar` or `Map`.
24+
25+
26+
> [!VIDEO https://www.microsoft.com/en-us/videoplayer/embed/RE4slRe]
27+
28+
29+
> [!IMPORTANT]
30+
> - PowerApps component framework is in public preview for canvas apps, and is generally available for model-driven apps. This implies that all the APIs that are supported for model-driven apps might not be supported on canvas apps yet.
31+
> - By default Power Apps component framework is enabled for model-driven apps. To enable this feature for canvas apps, see [Code components for canvas apps](component-framework-for-canvas-apps.md).
32+
> - [!INCLUDE[cc_preview_features_definition](../../includes/cc-preview-features-definition.md)]
33+
> - Power Apps component framework works only on Unified Interface and not on the web client.
34+
> - Power Apps component framework doesn't work for on-premises instances.
35+
36+
## How is it different from web resources
37+
38+
Unlike HTML web resources, code components are rendered as a part of the same context, load at the same time as any other components, providing a seamless experience for the users.
39+
40+
Developers can bundle all the HTML, CSS, and TypeScript files into a single [solution](https://docs.microsoft.com/dynamics365/customer-engagement/customize/solutions-overview) package file and move across environments and also shipped via [AppSource](https://appsource.microsoft.com/marketplace/apps?page=1&product=dynamics-365).
41+
42+
Code components can be reused many times across different entities and forms. Use Power Apps component framework to create code components that can be used across the full breadth of Power Apps capabilities.
43+
44+
## Advantages
45+
46+
- Access to a rich set of framework APIs that expose capabilities like component lifecycle management, contextual data, and metadata.
47+
- Seamless server access via Web API, utility and data formatting methods, device features like camera, ___location and microphone, along with easy-to-invoke UX elements like dialogs, lookups, and full-page rendering.
48+
- Support for modern web practices.
49+
- Optimizes for performance.
50+
- Reusability
51+
- Bundle all files into a single solution file.
52+
53+
## Licensing
54+
55+
Power Apps component framework licensing requirements are inline with existing connectors and components and is based on the type of data and connections used in your app. More information: [Power Apps pricing](https://powerapps.microsoft.com/pricing/). To align with the licensing requirements, we will be classifying code components into two types:
56+
57+
- Code components that connect to external services or data directly and not through connectors. When these components are used in an app, the app becomes premium, and end users are required to have **Power Apps** licenses.
58+
- Code components that don't connect to external services or data. When these components are used in an app that uses standard features, the app remains standard, and end users are required to be licensed at minimum for **Office 365**.
59+
60+
> [!NOTE]
61+
> If you are currently using code components in model-driven apps connected to Common Data Service, end users will require **Power Apps** licenses.
62+
63+
With the general availability of the framework, code component developers will be able to classify components as part of the component manifest to allow makers to see which components are premium.
64+
65+
## Related topics
66+
67+
[What are code components](custom-controls-overview.md)<br/>
68+
[Code components for canvas apps](component-framework-for-canvas-apps.md)<br/>
69+
[Create and build a code component](create-custom-controls-using-pcf.md)<br/>
70+
[Learn Power Apps component framework](https://docs.microsoft.com/learn/paths/use-power-apps-component-framework)<br/>
71+
[Power Apps for developers](https://docs.microsoft.com/powerapps/#pivot=home&panel=developer)
72+
73+
=======
174
---
275
title: "Power Apps component framework overview | Microsoft Docs"
376
description: "Use the Power Apps component framework to create code components to provide enhanced experiences for people to view and work with data in forms, views, and dashboards."
@@ -69,3 +142,4 @@ With the general availability of the framework, code component developers will b
69142
[Learn Power Apps component framework](https://docs.microsoft.com/learn/paths/use-power-apps-component-framework)<br/>
70143
[Power Apps for developers](https://docs.microsoft.com/powerapps/#pivot=home&panel=developer)
71144

145+
>>>>>>> ae864535ae5aab1966c3c5bd8c4250316a788d91

powerapps-docs/developer/model-driven-apps/actions-dashboards.md

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,66 @@
1+
<<<<<<< HEAD
2+
---
3+
title: "Actions on dashboards (model-driven apps) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces"
4+
description: "Learn about performing actions such as create, retrieve, update, or delete, on organization-owned and user-owned dashboards." # 115-145 characters including spaces. This abstract displays in the search result."
5+
keywords: ""
6+
ms.date: 10/31/2018
7+
ms.service: powerapps
8+
ms.topic: article
9+
ms.assetid: 339eb79d-5dec-885b-496f-bfa26e9cae08
10+
author: Nkrb # GitHub ID
11+
ms.author: nabuthuk # MSFT alias of Microsoft employees only
12+
manager: shilpas # MSFT alias of manager or PM counterpart
13+
ms.reviewer:
14+
search.audienceType:
15+
- developer
16+
search.app:
17+
- PowerApps
18+
- D365CE
19+
---
20+
21+
# Actions on dashboards
22+
23+
<!-- https://docs.microsoft.com/dynamics365/customer-engagement/developer/customize-dev/actions-dashboards -->
24+
25+
You can perform actions such as create, retrieve, update, or delete, on organization-owned and user-owned dashboards.
26+
27+
## Actions on an Organization-Owned Dashboard
28+
To perform the following actions on an organization-owned dashboard (`SystemForm`), you must have the System Administrator or the System Customizer role assigned to your account in Common Data Service:
29+
30+
- Create, retrieve, update, and delete. You can create or update an organization-owned dashboard by using the Common Data Service web services or by customizing the entity form. For detailed information about creating a dashboard, see [Create a Dashboard](create-dashboard.md).
31+
32+
- Set an organization-owned dashboard as the default dashboard for an organization by setting the `SystemForm.IsDefault` attribute value to `true` while creating or updating the dashboard.
33+
34+
> [!IMPORTANT]
35+
> Using the methods available in the Common Data Service Web Services, it is possible to set two dashboards as the default. Make sure that no other dashboard is the default dashboard for the organization before updating this setting programmatically.
36+
37+
After you update an organization-owned dashboard, you must publish the metadata changes to make it visible across the organization. You can use the <xref:Microsoft.Crm.Sdk.Messages.PublishAllXmlRequest> message or <xref:Microsoft.Crm.Sdk.Messages.PublishXmlRequest> message to publish the changes made for an organization-owned dashboard. For a sample code that demonstrates this, see [Sample: Create, Retrieve, Update and Delete (CRUD) a Dashboard](/dynamics365/customer-engagement/developer/customize-dev/sample-create-retrieve-update-delete-dashboard)<!-- TODO Need to update the powerapps repo's topic link. As of now not found-->.
38+
39+
For a list of supported messages on the organization-owned dashboard entity, see [SystemForm Entity](../common-data-service/reference/entities/systemform.md).
40+
41+
## Actions on a User-Owned Dashboard
42+
You can perform the following actions on a user-owned dashboard (`UserForm`):
43+
44+
- Create, retrieve, update, and delete. For detailed information about creating a user-owned dashboard, see [Create a Dashboard](create-dashboard.md).
45+
46+
- Change the ownership of a user-owned dashboard by assigning it to another user or team using the <xref:Microsoft.Crm.Sdk.Messages.AssignRequest> message.
47+
48+
- Retrieve the access that the specified security principal (user or team) has to a user-owned dashboard using the <xref:Microsoft.Crm.Sdk.Messages.RetrievePrincipalAccessRequest> message. You can also retrieve all the security principals (users or teams) that have access to a user-owned dashboard, along with their access rights to the user dashboard using the <xref:Microsoft.Crm.Sdk.Messages.RetrieveSharedPrincipalsAndAccessRequest> message.
49+
50+
- Collaborate with other users and teams on specific areas by sharing a user-owned dashboard with them using the <xref:Microsoft.Crm.Sdk.Messages.GrantAccessRequest>, <xref:Microsoft.Crm.Sdk.Messages.ModifyAccessRequest>, and <xref:Microsoft.Crm.Sdk.Messages.RevokeAccessRequest> messages.
51+
52+
For a list of supported messages on the user-owned dashboard entity, see [UserForm Entity](../common-data-service/reference/entities/userform.md).
53+
54+
### See also
55+
56+
[Dashboards for Microsoft Dynamics 365](analyze-data-with-dashboards.md)
57+
[Using FormXML for Dashboards](understand-dashboards-dashboard-components-formxml.md)
58+
[Create a Dashboard](create-dashboard.md)
59+
[Sample Dashboards](sample-dashboards.md)
60+
[Dashboard Entities](/dynamics365/customer-engagement/developer/customize-dev/dashboard-entities) <!-- TODO Need to update the powerapps repo's topic link. As of now not found-->
61+
[Sample: Create, Retrieve, Update and Delete (CRUD) a Dashboard](/dynamics365/customer-engagement/developer/customize-dev/sample-create-retrieve-update-delete-dashboard) <!-- TODO Need to update the powerapps repo's topic link. As of now not found-->
62+
[Sample: Assign a User-Owned Dashboard to Another User](/dynamics365/customer-engagement/developer/customize-dev/sample-assign-user-owned-dashboard-another-user) <!-- TODO Need to update the powerapps repo's topic link. As of now not found-->
63+
=======
164
---
265
title: "Actions on dashboards (model-driven apps) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces"
366
description: "Learn about performing actions such as create, retrieve, update, or delete, on organization-owned and user-owned dashboards." # 115-145 characters including spaces. This abstract displays in the search result."
@@ -59,4 +122,5 @@ You can perform actions such as create, retrieve, update, or delete, on organiza
59122
[Create a Dashboard](create-dashboard.md)
60123
[Sample Dashboards](sample-dashboards.md)
61124
[Sample: Create, Retrieve, Update and Delete (CRUD) a Dashboard](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/CRUDOperationsDashboard)
62-
[Sample: Assign a User-Owned Dashboard to Another User](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AssignUserOwnedDashboardToAnother)
125+
[Sample: Assign a User-Owned Dashboard to Another User](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/AssignUserOwnedDashboardToAnother)
126+
>>>>>>> ae864535ae5aab1966c3c5bd8c4250316a788d91

0 commit comments

Comments
 (0)