Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I want to execute the crud operation if it is in offline mode.
var client = Xrm.Utility.getGlobalContext().client.getClient(); // This returns client type: Web, Mobile, Outlook
var state = Xrm.Utility.getGlobalContext().client.getClientState(); // This returns client state: Online, Offline
You have to use Xrm.WebApi.offline - docs.microsoft.com/.../offline
You need to make sure that any data you want to read in the CRUD operation has the data available offline in the mobile profile as well
To make sure you can crud entities offline, just make sure to enable it in entity's customization:
If this answers your question, please check it as verified to help others finding useful information.
Welcome to this amazing community.
Business Applications communities