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: articles/connectors/connect-common-data-service.md
+24-13Lines changed: 24 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ Now add a Common Data Service action that creates a task record for a new "Leads
117
117
118
118
## Trigger only on updated attributes
119
119
120
-
For triggers that run when a record is updated, you can use filter attributes so that your logic app runs only when the specified attributes are updated. This capability helps you prevent unnecessary logic app runs.
120
+
For triggers that run when records are updated, such as the **When a record is updated** action, you can use filter attributes so that your logic app runs only when the specified attributes are updated. This capability helps you prevent unnecessary logic app runs.
121
121
122
122
1. In the trigger, from the **Add new parameter** list, select **Attribute Filters**.
123
123
@@ -127,22 +127,33 @@ For triggers that run when a record is updated, you can use filter attributes so
For actions that list records, you can add a query that returns records based on a filter or in a specific order. For example, you can use a filter query to get only the active accounts and order those records by account name. For this task, follow these steps:
132
+
For actions that return records, such as the **List records** action, you can use an ODATA query that returns records based on the specified filter. For example, you have the action list only the records for active accounts.
133
133
134
-
1.Under **Filter query**, enter this OData filter query: `statuscode eq 1`
134
+
1.In the action, open the **Add new parameter** list, and select the **Filter Query** property.
135
135
136
-
2. Under **Order By**, when the dynamic content list appears,
For more information about `$filter` system query options, see [Common Data Service - Filter results](https://docs.microsoft.com/powerapps/developer/common-data-service/webapi/query-data-web-api#filter-results).
143
+
144
+
## List records based on an order
145
+
146
+
For actions that return records, such as the **List records** action, you can use an ODATA query that returns records in a specified order, which varies based on the records that the action returns. For example, you can have the action list the records based on the account name.
147
+
148
+
1. In the action, open the **Add new parameter** list, and select the **Order By** property.
1. In the **Order By** property that now appears in the action, enter this ODATA filter query: `name`
153
+
154
+

155
+
156
+
For more information about `$orderby` system query options, see [Common Data Service - Order results](https://docs.microsoft.com/powerapps/developer/common-data-service/webapi/query-data-web-api#order-results).
146
157
147
158
### Best practices for advanced options
148
159
@@ -207,10 +218,10 @@ To find a record ID, follow these steps:
207
218
208
219
## Connector reference
209
220
210
-
For technical details, see the the [connector's reference page](/connectors/dynamicscrmonline/).
221
+
For technical information based on the connector's Swagger description, such as triggers, actions, limits, and other details, see the the [connector's reference page](https://docs.microsoft.com/connectors/commondataservice/).
0 commit comments