Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
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 TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
i'm trying to use the Xrm.WebApi.offline API in Dynamics 365 to perform the RetriveMultiple operation in offline mode when using the mobile app without internet connection.
When I am running below code in offline, facing error "This Operation failed because your're offline. Reconnect and try again later"
Xrm.WebApi.offline.retrieveMultipleRecords("new_tree", "?$select=new_treename&$filter=new_parenttree eq 724a2315-7dfe-ea11-a815-000d3a35b35b and contains(new_assetname, 'fire')")
But when I am running below code without 'contains' operator then it is working.
Xrm.WebApi.offline.retrieveMultipleRecords("new_tree", "?$select=new_treename&$filter=new_parenttree eq 724a2315-7dfe-ea11-a815-000d3a35b35b")
I have tried with 'Like' also, but it is not working.
Can anyone suggest, what exactly we can do here to query with 'contains' operator,
First please make sure that you've set up the mobile offline synchronization first.
And in the Doc, comparing with null is also not supported. So some operators may not be supported in offline mode.
If the issue still exists, please raise a ticket to Microsoft to check if it is by design or need other configurations.
Thanks for reply.
We have set up mobile offline profile and while doing testing in mobile we always do profile synchronization.
For comparison we have values to compare hence we are sure that we are not comparing will null.
As per suggested URL, It is for Retrieve or filter lookup properties, that we are taking care of it.
But our concern is regarding 'contains' operator, it is working when we go online in mobile but when we go offline then it is giving error. "This Operation failed because your're offline. Reconnect and try again later"
Business Applications communities