Skip to content

Commit a1a3f98

Browse files
authored
Update use-fetchxml-construct-query.md
Add remarks regarding XML encoding in the provided example
1 parent 7a056ca commit a1a3f98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

powerapps-docs/developer/data-platform/use-fetchxml-construct-query.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ foreach (var c in result.Entities)
135135

136136
> [!NOTE]
137137
> You can convert a FetchXML query to a query expression with the <xref:Microsoft.Crm.Sdk.Messages.FetchXmlToQueryExpressionRequest> message.
138+
139+
> [!IMPORTANT]
140+
> When working with code such as the above example, always make sure that your string is a valid encoded XML string. this is especially true regarding the possibility of containing special characters in condidition values such as &<> being encoded as \&amp;\&lt;\&gt;.
138141
139142
## FetchXML query results
140143

0 commit comments

Comments
 (0)