Who is this blog post aimed at?
This blog post is aimed at developers & partners. The sample code demonstrates how to connect an iOS & Apple Watch app to the SAP Digital for Customer Engagement OData API’s for both Accounts & Opportunities and render the Opportunity data in an animated dynamic bar chart.
What topics does this blog post cover?
- Setting up a SAP Digital for Customer Engagement trial account
- Connecting an iOS app to the OData API & displaying Accounts & Opportunities in a list view
- Connecting an Apple Watch to the OData API & displaying a list of Accounts and a dynamic chart showing Opportunities and their sizes
Sample Code Architecture
What is SAP Digital for Customer Engagement?
SAP Digital for Customer Engagement is a simple, yet powerful CRM solution that’s designed to help smaller sales teams get up and running in minutes, but that delivers many of the same powerful capabilities as our enterprise offering. It can help your team close more deals by enabling them to sell smarter, work more efficiently, and collaborate more effectively.
For more info see: Introducing SAP Digital for Customer Engagement
How to get started?
It is super simple to sign up & free for 30 days!
Once you are signed up lets create some sample data!
Lets take a look at the sample code?
The sample code for this tutorial can be found here: https://github.com/SAP/c4c-apple-watch-chart-example
Running the sample project
1. Clone the Github repo
git clone email@example.com:SAP/c4c-apple-watch-chart-example.git
2. Open the Xcode project file called “ODataExample.xcodeproj“
3. Run the iPhone Xcode Scheme
4. Login with your credentials and click save & test them
Enter the e-mail address & password you used to sign up for your 30 day trial account.
Note: You must see “Credentials Valid” in the iPhone app’s Log Viewer in order to confirm everything is connecting correctly.
Once you see “Credentials Valid” in the log viewer click “View Accounts”
5. Running the WatchKit App Scheme
What inspired this SCN Blog Post?
Watch the SAP Cloud for Customer: The Perfect Meeting – YouTube video we showcased the Perfect Meeting Apple Watch app at Sapphire 2015 in Orlando!
That’s it! Stay tuned for an update for WatchOS 2.0!!
Public access to the SAP Digital for Customer Engagement OData API is not supported currently. Customers/developers/partners should reach out to SAP for any such requests. For this sample your own login credentials will be used to access the OData API’s