You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/component-framework/community-resources.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,10 +76,11 @@ The following is the list of blogs created by Power Apps community.
76
76
77
77
## Tools
78
78
79
-
The [Code component builder](https://www.xrmtoolbox.com/plugins/Maverick.PCF.Builder/) is a tool that enables you to build code components with ease where you do not need to write the CLI commands but still use the [Microsoft Power Platform CLI](/powerapps/developer/data-platform/powerapps-cli) under the hood. Most of the commands are consolidated, making it easier to build components.
80
-
It has two versions:
81
-
1.https://www.xrmtoolbox.com/plugins/Maverick.PCF.Builder/ is for XrmToolBox.
82
-
2.[Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=danish-naglekar.pcf-builder) both of them are called **PCF Builder**.
79
+
The [code component builder](https://www.xrmtoolbox.com/plugins/Maverick.PCF.Builder/) is a tool that enables you to build code components with ease where you do not need to write the CLI commands but still use the [Microsoft Power Platform CLI](/powerapps/developer/data-platform/powerapps-cli) under the hood. Most of the commands are consolidated, making it easier to build components.
80
+
81
+
There are two versions of the code component builder. Both of them are called **PCF Builder** and are listed below:
82
+
1.[PCF Builder](https://www.xrmtoolbox.com/plugins/Maverick.PCF.Builder/) for XrmToolBox.
83
+
2.[PCF Builder](https://marketplace.visualstudio.com/items?itemName=danish-naglekar.pcf-builder) for Visual Studio Code.
83
84
84
85
[PCF Builder for XrmToolBox](https://www.xrmtoolbox.com/plugins/Maverick.PCF.Builder/) provides a graphical user interface that lets you create code components in visual manner using Microsoft Power Platform CLI.
To access the Discovery Service using SDK assembly APIs, add a reference to the `Microsoft.Xrm.Sdk.dll` assembly in your Visual Studio project, and then add a `using` statement to access the <xref:Microsoft.Xrm.Sdk.Discovery> namespace.
29
-
30
-
The <xref:Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient> implements the <xref:Microsoft.Xrm.Sdk.Discovery.IDiscoveryService> interface.
31
-
32
-
The <xref:Microsoft.Xrm.Sdk.Discovery.IDiscoveryService> interface provides <xref:Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest)> method you will use to pass a instance of the abstract <xref:Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest> class.
33
-
34
-
## Regional Discovery services
35
-
36
-
When you instantiate the <xref:Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient> you will need to provide a URL for a regional data center using one of the following values.
> If you do not know the user's region, you need to loop through the available regions until you get results. A single global Discovery Service is also available. More information: [Discover the URL for your organization](../webapi/discover-url-organization-web-api.md)
42
-
43
-
## Discovery service messages
44
-
45
-
There are three messages that you can use which all inherit from the abstract <xref:Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest> class.
46
-
47
-
The following table lists the messages that are supported with <xref:Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest)> method.
48
-
49
-
|Message|Description|
50
-
|-------------|-----------------|
51
-
|<xref:Microsoft.Xrm.Sdk.Discovery.RetrieveUserIdByExternalIdRequest>|Retrieves the logged-on user's ID in Microsoft Dataverse|
52
-
|<xref:Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationRequest>|Retrieves information about a single organization.|
53
-
|<xref:Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationsRequest>|Retrieves information about all organizations to which the user belongs.|
54
-
55
-
## Example
56
-
57
-
The following code for a console application uses the <xref:Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationsRequest> message to retrieve all the organizations for a user.
> The `OrganizationDataService` is the deprecated Organization Data Service, not the Web API. This service does not include a URL for the Web API.
28
+
- Regional Discovery Services are no longer avaialble.
29
+
- To access Global Discovery functionality with the SDK going fowarded, see [here](/powerapps-docs/developer/data-platform/org-service/samples/access-discovery-service.md)
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/org-service/samples/access-discovery-service.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ If you have set and values in the App.config connection strings, it will use t
29
29
30
30
## What this sample does
31
31
32
-
This sample uses the SDK Assembly `DiscoveryServiceProxy` to query the discovery service with a user's credentials to determine which environments they can connect with.
32
+
This sample uses the SDK Assembly `CrmServiceClient` to query the global discovery service with a user's credentials to determine which environments they can connect with.
33
33
34
34
If one or more environments are returned, the sample will prompt the user to choose one, and then use a `WhoAmIRequest` to return the `SystemUser.UserId` for that environment.
35
35
@@ -43,17 +43,17 @@ This sample requires no special setup except that there are valid user credentia
43
43
44
44
If you know the regional data center that your environments are in, the sample will run faster if you set this value at line 40 of the SampleProgram.cs file.
45
45
46
-
In SampleMethods.cs there is a `DataCenter` enumeration for each of the known data centers. Each enumeration member is decorated with a `Description` notation. All of these members except `Unknown` have the URL for the regional discovery service set as the description.
46
+
In SampleMethods.cs there is a `Clouds` enumeration for each of the known global discovery centers. Each enumeration member is decorated with a `Description` notation. All of these members except `Unknown` have the URL for the global discovery service set as the description.
47
47
48
48
49
49
### Demonstrate
50
50
51
-
1. Using the user credentials and the `dataCenter` value, the program uses the `GetAllOrganizations` static method to retrieve all known environments for the user.
52
-
1. The `GetAllOrganizations`method detects whether the `dataCenter` value is set to `DataCenter.Unknown`. If it is set to this member, this method will loop through all the other members in the `DataCenter` enum and retrieve any environments that are found using the `GetOrganizationsForDataCenter` static method.
51
+
1. Using the user credentials and the `cloud` value, the program uses the `GetAllOrganizations` static method to retrieve all known environments for the user.
52
+
1. The `GetAllOrganizations`method detects whether the `cloud` value is set to `Cloud.Unknown`. If it is set to this member, this method will choose the commerical `Cloud` enum and retrieve any environments that are found using the `GetOrganizationsForCloud` static method.
53
53
54
-
If a specific data center is set, `GetAllOrganizations` will simply call `GetOrganizationsForDataCenter` with those values.
54
+
If a specific data center is set, `GetAllOrganizations` will simply call `GetOrganizationsForCloud` with those values.
55
55
56
-
1. The `GetOrganizationsForDataCenter` method extracts the data center discovery service Url from the member `Description` decoration and uses it together with the user credentials to execute the `RetrieveOrganizationsRequest` discovery service message.
56
+
1. The `GetOrganizationsForCloud` method extracts the cloud's discovery service Url from the member `Description` decoration and uses it together with the user credentials to execute the `DiscoverGlobalOrganizations` CrmServiceClient helper message.
57
57
58
58
A `System.ServiceModel.Security.SecurityAccessDeniedException` is expected when the user has no environments in a specific data center.
Copy file name to clipboardExpand all lines: powerapps-docs/guidance/patterns/inspection-pattern.md
+35-32Lines changed: 35 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,14 @@ author: kathyos
5
5
ms.service: powerapps
6
6
ms.topic: conceptual
7
7
ms.custom: guidance
8
-
ms.date: 07/20/2020
8
+
ms.date: 06/21/2021
9
9
ms.author: kathyos
10
10
ms.reviewer: kathyos
11
11
12
12
---
13
13
14
14
# Pattern: Inspection
15
15
16
-
<!---->
17
-
18
16
There are a variety of reasons why organizations need to perform inspections,
19
17
and Microsoft Power Platform provides a no-code or low-code solution for enabling
20
18
inspection, analysis, and action. In this pattern, an app user fills out a
@@ -53,6 +51,40 @@ In a typical inspection scenario:
53
51
decide to take it out of service. Or the centralized report might show that daily
54
52
maintenance standards need to be improved in a particular ___location.
55
53
54
+
## Template: Inspection solution for Microsoft Teams
55
+
56
+
The Inspection solution for Microsoft Teams is a general inspection app that can be used to inspect anything from a ___location (such as a retail store or manufacturing plant) to assets and equipment (such as vehicles and machines). The solution includes an app for performing inspections as well as an app for configuring and managing inspections.
57
+
58
+

59
+
60
+
Learn more about the solution: [Video](https://aka.ms/TeamsInspectionVideo) | [Documentation](https://aka.ms/TeamsInspectionDocs) | [Teams app installer](https://aka.ms/TeamsInspection)
The Hospital Emergency Response sample solution provides a set of capabilities
65
+
for healthcare organizations to collect data for situational awareness of
66
+
available beds and supplies, COVID-19–related patients, staffing, and pending
67
+
discharges. This solution implements the inspection pattern by collecting an
68
+
inventory of available hospital beds and supplies. It also uses dashboards to
69
+
summarize key data and insights for users to make informed decisions, resulting
70
+
in efficient deployment and usage of resources.
71
+
72
+

73
+
74
+
The main components of the Hospital Emergency Response solution are:
75
+
76
+
-**Mobile app for frontline staff**: Frontline staff, such as nurses and
77
+
medical practitioners, can use the mobile app to quickly view and enter
78
+
information as required.
79
+
80
+
-**Web app for hospital admins**: Hospital admins can use this app to add and
81
+
manage system data required for the solution to work.
82
+
83
+
-**Dashboards for healthcare decision makers**: Decision makers can use dashboards to quickly
84
+
view important data and metrics to help make decisions efficiently.
85
+
86
+
Learn more about the solution: [Video](https://youtu.be/Dg-i3F9G01I) | [Documentation](../../sample-apps/emergency-response/overview.md) | [Blog post](https://powerapps.microsoft.com/blog/emergency-response-solution-a-microsoft-power-platform-solution-for-healthcare-emergency-response/)
87
+
56
88
## How customers are using the inspection pattern
57
89
58
90
### Virgin Atlantic safety and compliance app
@@ -125,34 +157,6 @@ as oral reading goals and comprehension goals.
125
157
126
158

127
159
128
-
### Hospital Emergency Response sample solution
129
-
130
-
The Hospital Emergency Response sample solution provides a set of capabilities
131
-
for healthcare organizations to collect data for situational awareness of
132
-
available beds and supplies, COVID-19–related patients, staffing, and pending
133
-
discharges. This solution implements the inspection pattern by collecting an
134
-
inventory of available hospital beds and supplies. It also uses dashboards to
135
-
summarize key data and insights for users to make informed decisions, resulting
136
-
in efficient deployment and usage of resources.
137
-
138
-

139
-
140
-
The main components of the Hospital Emergency Response solution are:
141
-
142
-
-**Mobile app for frontline staff**: Frontline staff, such as nurses and
143
-
medical practitioners, can use the mobile app to quickly view and enter
144
-
information as required.
145
-
146
-
-**Web app for hospital admins**: Hospital admins can use this app to add and
147
-
manage system data required for the solution to work.
148
-
149
-
-**Dashboards for healthcare decision makers**: Decision makers can use dashboards to quickly
150
-
view important data and metrics to help make decisions efficiently.
151
-
152
-
153
-
154
-
Learn more about the solution: [video](https://youtu.be/Dg-i3F9G01I) | [documentation](../../sample-apps/emergency-response/overview.md) | [blog post](https://powerapps.microsoft.com/blog/emergency-response-solution-a-microsoft-power-platform-solution-for-healthcare-emergency-response/)
155
-
156
160
### Additional stories
157
161
158
162
-[Pinnacle Group – Helpdesk employee leads transition from paper to digital](https://powerapps.microsoft.com/blog/pinnacle-group/)
@@ -164,4 +168,3 @@ Learn more about the solution: [video](https://youtu.be/Dg-i3F9G01I) | [document
0 commit comments