Create records in objects
Create records in Salesforce objects straight from your mobile device. If you at a customer and want to create a new account with the customer or capture a new opportunity while having coffee with a prospect, you can design a form and use the Salesforce provider's create method.
You can use the object reference for Salesforce, https://workbench.developerforce.com/login.php, or the Salesforce schema builder to check the objects, required fields, and relationships. The minimum needed to create a record is based on the required fields.
Examples are based on test data in a demo Salesforce environment. Copying the sample code must be adjusted to represent your own Salesforce environment.
This example uses a default type with a a component.form. Certain of the Salesforce's Account object's fields are used to create a basic account record. You can add any additional fields you require.
This example uses a default type with a component.form. Certain of the Salesforce's Opportunity object's fields are used to create a basic record. You can add any additional fields you require.