Check out the latest features available in Dynamics 365 for Customer Engagement, including LinkedIn Connect, Voice of the Customer and Universal Resource Scheduling.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
I want to retrieve a record with a where condition , I know this query will return me a single record.
I know how to do it using Query Expression and the service.RetrieveMultiple .
Is there any way I can add a filter condition with service.Retrieve too?
If no , then is using service.RetrieveMultiple the most accurate way for writing such a query.
You cannot specify condition for service.Retrieve as it retrieves record based on the ID (GUID) you provided so it does not need any condition.
If you are retrieving by conditions and filters (meaning you do not know the ID of the record at that point in time), and yes you have to use service.RetrieveMultiple even if you are expecting only one record.
Please note that If your query is going to run from outside of CRM, Web Api is recommended over WCF endpoint
Business Applications communities