Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
This article describes the use case for Query operations of Microsoft Dynamics CRM 365 Connector with the $expand function in the on-premise
• The user needs to have a working account for Microsoft Azure Active Directory and a Microsoft Dynamics CRM 365 license to access the API • License for the Integration server 10.3 or above
We will analyze the various options of querying the business objects, Example: $expand & filters in the Microsoft Dynamics CRM 365 using Query Operation service in the Connector. More information can be found at https://www.odata.org/getting-started/basic-tutorial/#expand
User needs to start the Integrations Server and open Designer along with the latest Microsoft Dynamics CRM 365 package installed, also the Connection should be established
Once the Server gets started, the user needs to create the CCS (cloud connector service) for the query operation available in the Connector. In this example, we will query the Accounts business object
To create the CCS, choose any folder and Right-click to choose New → Cloud Connector Service Option
Choose accountid:
Choose name:
Choose $expand: Related entities to be included inline in the response. More information about the $expand can be found at Using $select, $expand, and $value in ASP.NET Web API 2 OData - ASP.NET 4.x | Microsoft Learn
filter: accountid eq 4ab4a12a-1f3e-e911-a960-000d3a1f716c
Results: