Skip to content

Commit 5611cef

Browse files
committed
fix build suggestions
1 parent 4ebacc2 commit 5611cef

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

powerapps-docs/developer/data-platform/org-service/samples/work-with-option-sets.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,26 @@ contributors:
2020
# Work with choices
2121

2222

23-
2423
This sample shows how to work with choices. Typically, you use choices to set columns so that different columns can share the same set of options, which are maintained in one ___location. Unlike local options sets which are defined only for a specific column, you can reuse choices. You will also see them used in request parameters in a manner similar to an enumeration.
2524

2625
When you define a choices column by using [CreateOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.createoptionsetrequest?view=dynamics-general-ce-9), we recommend that you let the system assign a value. You do this by passing a null value when you create the new `OptionMetadata` instance. When you define an option, it will contain an option value prefix specific to the context of the publisher set for the solution that the choices column is created in. This prefix helps reduce the chance of creating duplicate choices for a managed solution, and in any choices column that are defined in organizations where your managed solution is installed. For more information, see [Merge choices values](/power-platform/alm/how-managed-solutions-merged#merge-option-set-options).
2726

2827
Use the following message request classes to work with choices:
2928

30-
- [CreateOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.createoptionsetrequest?view=dynamics-general-ce-9)
31-
- [DeleteOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.deleteoptionsetrequest?view=dynamics-general-ce-9)
32-
- [RetrieveAllOptionSetsRequest](/dotnet/api/microsoft.xrm.sdk.messages.retrievealloptionsetsrequest?view=dynamics-general-ce-9)
33-
- [RetrieveOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.retrieveoptionsetrequest?view=dynamics-general-ce-9)
34-
- [UpdateOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.updateoptionsetrequest?view=dynamics-general-ce-9)
29+
- <xref:Microsoft.Xrm.Sdk.Messages.CreateOptionSetRequest>
30+
- <xref:Microsoft.Xrm.Sdk.Messages.DeleteOptionSetRequest>
31+
- <xref:Microsoft.Xrm.Sdk.Messages.RetrieveAllOptionSetsRequest>
32+
- <xref:Microsoft.Xrm.Sdk.Messages.RetrieveOptionSetRequest>
33+
- <xref:Microsoft.Xrm.Sdk.Messages.UpdateOptionSetRequest>
3534

3635
Use the following message request classes with choices:
3736

38-
- [DeleteOptionValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.deleteoptionvaluerequest?view=dynamics-general-ce-9)
39-
- [InsertOptionValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.insertoptionvaluerequest?view=dynamics-general-ce-9)
40-
- [InsertStatusValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.insertstatusvaluerequest?view=dynamics-general-ce-9)
41-
- [OrderOptionRequest](/dotnet/api/microsoft.xrm.sdk.messages.orderoptionrequest?view=dynamics-general-ce-9)
42-
- [UpdateOptionValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.updateoptionvaluerequest?view=dynamics-general-ce-9)
43-
- [UpdateStateValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.updatestatevaluerequest?view=dynamics-general-ce-9)
37+
- <xref:Microsoft.Xrm.Sdk.Messages.DeleteOptionValueRequest>
38+
- <xref:Microsoft.Xrm.Sdk.Messages.InsertOptionValueRequest>
39+
- <xref:Microsoft.Xrm.Sdk.Messages.InsertStatusValueRequest>
40+
- <xref:Microsoft.Xrm.Sdk.Messages.OrderOptionRequest>
41+
- <xref:Microsoft.Xrm.Sdk.Messages.UpdateOptionValueRequest>
42+
- <xref:Microsoft.Xrm.Sdk.Messages.UpdateStateValueRequest>
4443

4544
You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/WorkWithOptionSets).
4645

powerapps-docs/developer/data-platform/webapi/enhanced-quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Enhanced quick start (Microsoft Dataverse)| Microsoft Docs"
3-
description: "Create a new project in Visual Studio to build a console application that uses Microsoft Dataverse Web API"
3+
description: "An enhanced quick start building on the simple quick start using Dataverse Web API"
44
ms.date: 04/06/2022
55
author: divka78
66
ms.author: dikamath

powerapps-docs/developer/data-platform/webapi/web-api-samples-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The following is required to build and run the Dataverse Web API C# samples :
3838
- In order to run samples against Dataverse, you must register your application with Azure Active Directory to obtain a client ID and redirect URL. For more information, see [Walkthrough: Register a Dataverse app with Azure Active Directory](../walkthrough-register-app-azure-active-directory.md).
3939

4040
> [!NOTE]
41-
> These samples require version 2.x of assembly [Microsoft.IdentityModel.Client.ActiveDirectory](/dotnet/api/microsoft.identitymodel.clients.activedirectory?view=azure-dotnet) for OAuth based authentication.
41+
> These samples require version 2.x of assembly [Microsoft.IdentityModel.Client.ActiveDirectory](/dotnet/api/microsoft.identitymodel.clients.activedirectory) for OAuth based authentication.
4242
4343
<a name="bkmk_webApiSamplesListing"></a>
4444

powerapps-docs/developer/data-platform/webapi/web-api-types-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ OData supports a wide range of data types but Dataverse doesn’t use all of the
258258

259259
### Lookup properties
260260

261-
For most single-valued navigation properties you will find a computed, read-only property that uses the following naming convention: `_<name>_value` where the `<name>` matches the name of the single-valued navigation property. The exception to this pattern is when a lookup attribute of the entity can accept multiple types of entity references. A common example is how the `incident` entity `customerid` attribute may be set to a reference that is either a `contact` or `account` entity. In the <xref:Microsoft.Dynamics.CRM.incident?text=incident EntityType/> [Single-valued navigation properties](/dynamics365/customer-engagement/web-api/incident?view=dynamics-ce-odata-9#Single-valued_navigation_properties) you will find `customerid_account` and `customerid_contact` as separate single-valued navigation properties to reflect the customer associated with an opportunity. If you set one of these single-valued navigation properties, the other will be set to null because they are both bound to the `customerid` attribute. In the <xref:Microsoft.Dynamics.CRM.incident?text=incident EntityType/> [Properties](/dynamics365/customer-engagement/web-api/incident?view=dynamics-ce-odata-9#Properties) you’ll find a `_customerid_value` lookup property that contains the same value that is set for whichever of the single-valued navigation properties contain a value.
261+
For most single-valued navigation properties you will find a computed, read-only property that uses the following naming convention: `_<name>_value` where the `<name>` matches the name of the single-valued navigation property. The exception to this pattern is when a lookup attribute of the entity can accept multiple types of entity references. A common example is how the `incident` entity `customerid` attribute may be set to a reference that is either a `contact` or `account` entity. In the <xref:Microsoft.Dynamics.CRM.incident?text=incident EntityType/> [Single-valued navigation properties](/dynamics365/customer-engagement/web-api/incident#Single-valued_navigation_properties) you will find `customerid_account` and `customerid_contact` as separate single-valued navigation properties to reflect the customer associated with an opportunity. If you set one of these single-valued navigation properties, the other will be set to null because they are both bound to the `customerid` attribute. In the <xref:Microsoft.Dynamics.CRM.incident?text=incident EntityType/> [Properties](/dynamics365/customer-engagement/web-api/incident#Properties) you’ll find a `_customerid_value` lookup property that contains the same value that is set for whichever of the single-valued navigation properties contain a value.
262262

263263
Generally, you should avoid using lookup properties and use the corresponding single-valued navigation properties instead. These properties have been included because they may be useful for certain integration scenarios. These properties are read-only and computed because they will simply reflect the changes applied using the corresponding single-valued navigation property.
264264

0 commit comments

Comments
 (0)