Skip to content

Commit c20bd0a

Browse files
committed
Updated content
1 parent 788990c commit c20bd0a

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
href: overview.md
55
- name: Get started
66
items:
7-
- name: 'Quickstart: Create a console app'
7+
- name: 'Quickstart: Execute service request'
88
href: quick-start-org-service-console-app.md
99
- name: Late and Early-bound programming
1010
href: early-bound-programming.md

powerapps-docs/developer/data-platform/org-service/quick-start-org-service-console-app.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Your application will call the <xref:Microsoft.Xrm.Sdk.IOrganizationService>.<xr
2828
> [!NOTE]
2929
> This quick start example does not include exception handling for brevity. This is a minimum code example of what you need to connect to and use the Organization service.
3030
31+
You can download the complete code sample from GitHub [quickstart-execute-request](https://github.com/microsoft/PowerApps-Samples/blob/master/dataverse/orgsvc/C%23-NETCore/GetStarted/quickstart-execute-request/).
32+
3133
## Prerequisites
3234

3335
- Visual Studio (2019 or later)
@@ -38,7 +40,7 @@ Your application will call the <xref:Microsoft.Xrm.Sdk.IOrganizationService>.<xr
3840

3941
## Create Visual Studio project
4042

41-
1. Create a new .NET console app project. For this project we are Visual Studio 2022 and targeting .NET 6, but .NET Framework will also work.
43+
1. Create a new .NET console app project. For this project we are using Visual Studio 2022 and targeting .NET 6, but .NET Framework will also work.
4244

4345
![Start a console app project.](../media/quick-start-org-service-console-app-1.png)
4446

@@ -106,11 +108,15 @@ Your application will call the <xref:Microsoft.Xrm.Sdk.IOrganizationService>.<xr
106108
```
107109

108110
1. Change the values for the environment URL, username, and password as indicated by the TODO code comment.
109-
You can find supported values for *AuthType* listed in [Connection string parameters](../xrm-tooling/use-connection-strings-xrm-tooling-connect.md). You can find your environment URL in the legacy web application under **Settings > Customization > Developer Resources** or in Power Apps **Settings** (gear icon) > **Developer Resources**.
111+
112+
> [!NOTE]
113+
> You can find supported values for *AuthType* listed in [Connection string parameters](../xrm-tooling/use-connection-strings-xrm-tooling-connect#connection-string-parameters.md). You can find your environment URL in the legacy web application under **Settings > Customization > Developer Resources** or in Power Apps **Settings** (gear icon) > **Developer Resources**.
114+
>
115+
> While this code sample places the username/password information in the code for simplicity, other code samples will use the more recommended approach of prompting for that information or storing it in a separate App.config or appsettings.json file.
110116

111117
## Run the program
112118

113-
1. Press F5 to run the program. The output should look like this:
119+
1. Press F5 to run the program. The output should look something like this:
114120

115121
```bash
116122
User ID is 969effb0-98ae-478c-b547-53a2968c2e75
@@ -119,12 +125,12 @@ Your application will call the <xref:Microsoft.Xrm.Sdk.IOrganizationService>.<xr
119125

120126
## Next Steps
121127

122-
The console app demonstrated how to connect to the Organization web service using a connection string, execute a web service message request, and access some data in the response. Next, you may want to look at common web service data operations like create, retrieve, update, and delete.
128+
The console app demonstrates how to connect to the Organization web service using a connection string, execute a web service message request, and access some data in the response. Next, you may want to look at common web service data operations like create, retrieve, update, and delete.
123129

124-
The following articles will explain how to work with business data in Dataverse tables.
125-
[Entity class operations using the Organization service](entity-operations.md)<br />
126-
[Create table rows using the Organization Service](entity-operations-create.md)<br />
127-
[Retrieve a table row using the Organization Service](entity-operations-retrieve.md)<br />
130+
The following articles will explain how to work with business data in Dataverse tables.
131+
[Entity class operations using the Organization service](entity-operations.md)
132+
[Create table rows using the Organization Service](entity-operations-create.md)
133+
[Retrieve a table row using the Organization Service](entity-operations-retrieve.md)
128134
[Update and delete table rows using the Organization Service](entity-operations-update-delete.md)<br />
129135
[Associate and disassociate table rows using the Organization Service](entity-operations-associate-disassociate.md)
130136

0 commit comments

Comments
 (0)