Skip to content

Commit 23d59e5

Browse files
committed
Content and art updates
1 parent 8a7e249 commit 23d59e5

6 files changed

+24
-13
lines changed

articles/connectors/connect-common-data-service.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Now add a Common Data Service action that creates a task record for a new "Leads
117117

118118
## Trigger only on updated attributes
119119

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.
121121

122122
1. In the trigger, from the **Add new parameter** list, select **Attribute Filters**.
123123

@@ -127,22 +127,33 @@ For triggers that run when a record is updated, you can use filter attributes so
127127

128128
![Add "Attribute Filters" property](./media/connect-common-data-service/when-record-updated-trigger-select-attribute-filter.png)
129129

130-
## Add record filtering or ordering
130+
## List records based on a filter
131131

132-
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.
133133

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.
135135

136-
2. Under **Order By**, when the dynamic content list appears,
137-
select **Account Name**.
136+
![Add "Filter Query" property](./media/connect-common-data-service/list-records-action-filter-query.png)
138137

139-
![Specify filter and order](./media/connectors-create-api-crmonline/advanced-options.png)
138+
1. In the **Filter Query** property that now appears in the action, enter this ODATA filter query: `statuscode eq 1`
140139

141-
For more information, see these Dynamics 365
142-
Customer Engagement Web API system query options:
140+
![Enter ODATA filter query for filtering records](./media/connect-common-data-service/list-records-action-filter-query-value.png)
143141

144-
* [$filter](https://docs.microsoft.com/dynamics365/customer-engagement/developer/webapi/query-data-web-api#filter-results)
145-
* [$orderby](https://docs.microsoft.com/dynamics365/customer-engagement/developer/webapi/query-data-web-api#order-results)
142+
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.
149+
150+
![Add "Order by" property](./media/connect-common-data-service/list-records-action-order-by.png)
151+
152+
1. In the **Order By** property that now appears in the action, enter this ODATA filter query: `name`
153+
154+
![Enter ODATA filter query for ordering records](./media/connect-common-data-service/list-records-action-order-by-value.png)
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).
146157

147158
### Best practices for advanced options
148159

@@ -207,10 +218,10 @@ To find a record ID, follow these steps:
207218

208219
## Connector reference
209220

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/).
211222

212223
## Next steps
213224

214-
[Diagnose logic app failures](../logic-apps/logic-apps-diagnosing-failures.md)
225+
* Learn about other [connectors for Azure Logic Apps](../connectors/apis-list.md)
215226

216227
* Learn about other [Logic Apps connectors](../connectors/apis-list.md)
28.8 KB
Loading
15 KB
Loading
28.7 KB
Loading
14.7 KB
Loading
28.7 KB
Loading

0 commit comments

Comments
 (0)