Quantcast
Channel: SCN : Blog List - SAP Cloud for Customer
Viewing all articles
Browse latest Browse all 325

Apple Watch Charting using SAP Digital for Customer Engagement API

$
0
0

Disclaimer

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


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

C4CAppleWatch.png

Apple Watch.png

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!


Sign up for a 30 day free trial


Once you are signed up lets create some sample data!


Step 1

setup-1.png

Step 2

setup-3.png

Step 3

setup-4.png

Step 4

setup-5.png

 

 

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 git@github.com:SAP/c4c-apple-watch-chart-example.git

 

 

     clone_repo.png

 

 

     2. Open the Xcode project file called "ODataExample.xcodeproj"

 

          xcode_project_file.png

 

     3. Run the iPhone Xcode Scheme

          scheme.png

 

     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"

 

        iPhone.pngaccounts.pngopportunities.png

 

     5. Running the WatchKit App Scheme

 

     scheme2.png

 

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!

 

 

Thank You

 

That's it! Stay tuned for an update for WatchOS 2.0!!


Viewing all articles
Browse latest Browse all 325

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>