Before you begin
This class uses a Xamarin.Forms application to demonstrate using the Xamarin Salesforce Component. To complete the exercises, you will need a Xamarin development environment setup and a simulator/emulator or a physical device for Android and/or iOS. Read through the Setup Guidelines if you need help with your development environment.
Overview
This course shows how to use the Salesforce Component to authenticate a user, perform CRUD operations, and execute searches.
Objectives
- Implement an external app and authenticate a user
- Perform CRUD operations on a Standard Object
- Create a custom SObject
- Perform a Search
Lecture
ENT302 - Using the Xamarin Salesforce Component.
Exercises
Exercise materials are available from GitHub. The code can be cloned through a desktop Git client or downloaded directly as a ZIP file.
-
Implement an external app and authenticate a userExercise
In this exercise, you will let the user login to their Salesforce account through your app. -
Query a Standard ObjectExercise
Here you will use SalesforceClient to execute a SELECT query against one of the standard Salesforce objects. -
Create a custom SObjectExercise
Now that you have a collection of SObjects in your app, it is time to write a custom wrapper class to make the data easier to work with. -
Perform a searchExercise
A SELECT statement can only search within a single table. Here, you will use FIND to run a search across multiple tables.
Additional resources
Salesforce Component on GitHub
Salesforce.com Platform Fundamentals (PDF)