Skip to content

Commit 29ad9f5

Browse files
authored
Merge branch 'main' into fafuxa-ms-patch-9
2 parents 6b8b62e + 56ff0a6 commit 29ad9f5

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Indicates that all column values for each row are returned. It is the same as not adding any [attribute elements](../attribute.md). We don't recommend using this element for most cases.
1+
Indicates that all non-null column values for each row are returned. It is the same as not adding any [attribute elements](../attribute.md). We don't recommend using this element for most cases.

powerapps-docs/developer/data-platform/fetchxml/retrieve-data.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Use FetchXml to retrieve data
33
description: Learn how to use the Dataverse SDK for .NET or Web API to send a request to retrieve data using FetchXml
4-
ms.date: 02/29/2024
4+
ms.date: 07/16/2024
55
ms.reviewer: jdaly
66
ms.topic: how-to
77
author: pnghub
@@ -61,7 +61,7 @@ static EntityCollection RetrieveMultipleRequestExample(IOrganizationService serv
6161
Pass your FetchXml query as a URL-encoded string value to the entity set collection using the `fetchXml` query parameter.
6262

6363
> [!NOTE]
64-
> Unlike queries that use the OData syntax, FetchXML queries sent using Web API don't return properties with null values.
64+
> Unlike queries that use the OData syntax, FetchXML queries sent using Web API don't return properties with null values. [Learn more about this behavior](#null-column-values-are-not-returned)
6565
6666
For example, if you want to retrieve data from the [account entity set](xref:Microsoft.Dynamics.CRM.account), you will compose a fetchXml query setting the [entity element](reference/entity.md) `name` parameter to the `account`.
6767

@@ -147,6 +147,12 @@ The length of a URL in a `GET` request [is limited to 32 KB (32,768 characters)]
147147

148148
---
149149

150+
## Null column values are not returned
151+
152+
When a table column contains a null value, or if the column wasn't requested, the record returned won't include the value. There isn't a key to access it or a value to return. The absence of the attribute indicates that it's null. This is the behavior using the SDK for .NET. [Learn more about this behavior](../org-service/entity-operations-query-data.md#null-column-values-are-not-returned)
153+
154+
Columns that are not valid for read always return null values. The definition of these columns have the [AttributeMetadata.IsValidForRead](/dotnet/api/microsoft.xrm.sdk.metadata.attributemetadata.isvalidforread) property set to false.
155+
150156
## Next steps
151157

152158
Learn how to select columns.

0 commit comments

Comments
 (0)