Sample: iOS Activity Tracker for Dynamics CRM

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Note

There is a newer sample for Dynamics 365. See Sample: iOS Activity Tracker for Dynamics 365 and Web API.

This sample code is for Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online. This code can be found at the following location on Github: https://github.com/DynamicsCRM/iOS-Activity-Tracker-for-Dynamics-CRM.

Requirements

This sample requires the Microsoft Azure Active Directory Authentication Library (ADAL) and other packages. These packages are automatically downloaded and installed when you load the project’s solution. For this to work, you must have an active internet connection when loading and building the sample.

In addition to having access to a Dynamics CRM organization to run the sample against, you will also need either a Microsoft Azure subscription for use with CRM Online or an ADFS administration account for use with Dynamics 365 on-premises (IFD).

Demonstrates

Activity Tracker app for iOS

The activity tracker sample application enables you to connect to your Microsoft Dynamics CRM 2013 organization, query for your contacts, and add a quick activity record related to a contact.

Use this sample’s source code as a starting point to build your own apps that can access the Dynamics 365 web services. This sample uses the Microsoft Azure Active Directory Authentication Library (ADAL), the SOAP protocol, and the OData v2 protocol.

For this code to work, you must first register your app with a supported identity provider ( AD FS or Microsoft Azure Active Directory). For more information on registering an app with Active Directory, see Walkthrough: Register a Dynamics 365 app with Active Directory. For more detailed information on the sample and instructions on how to build and run it, see the app’s README.

See Also

Write mobile and modern apps
Dynamics CRM on Github
Dynamics CRM Mobile SDK Library for iOS (Objective-C)
Dynamics CRM Mobile SDK Early-bound Types Generator
OData.org

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright