Documente Academic
Documente Profesional
Documente Cultură
com Builder
Level: Beginner
2030 minutes
Overview
Using the Force.com builder, you will see how easy it is to create complete applications with simple point-and-click methods. In this Force.com tutorial, you will build an application to track the mileage a user travels to visit customers.
This tutorial consists of six steps; please proceed through them in sequence.
Step 1: Create a custom object Step 2: Create fields for the custom object Step 3: Create a tab Step 4: Put it all together to create an application Step 5: Test the application Step 6: Automatically assign record numbers to new records
b) Enter your Developer Edition username (in the form of an email address) and password. 2. Create the Mileage record custom object. a) Click Setup in the upper right corner to display the Personal Setup screen in the Force.com Builder environment.
b) Click App Setup > Create > Objects to display the Custom Objects page.
c) Click New Custom Object to display the New Custom Objects wizard and enter the following values for each of the fields: Label: Mileage Plural Label: Mileages Object Name: Mileage Description: An object that holds mileage information for a trip Leave all other values as they are (defaults).
http://developer.force.com
c) For Data Type, select Date, click Next, and enter the following values: Field Label: Date Field Name: Date Description: Date of mileage report Check the Required checkbox Default Value: TODAY()
http://developer.force.com
d) Click Next, accept the defaults, and click Next again. e) Click Save & New to create the Date field and to return to the first step of the wizard. 2. Create the Miles field. a) For Data Type, select Number, click Next, and enter the following values: Field Label: Miles Length: 4 Decimal Places: 0 Field Name: Miles Description: Miles driven Check the Required checkbox b) Leave the defaults for the remaining fields and click Next. c) In the next step, accept the defaults and click Next. d) In the next step, click Save & New to create the Miles field and to return to the first step of the wizard. 3. Create the Contact field. a) For Data Type, select Lookup Relationship and click Next. The Lookup Relationship data type lets you link two data objectsin this case, the Mileage object and the Contact object. b) In the Related To dropdown list, select Contact, click Next, and enter the following values: Field Label: Contact Field Name: Contact Description: Person that was seen on this trip c) Leave the defaults for the remaining fields and click Next. d) In the next step, accept the defaults and click Next. e) Repeat two more times. f) Click Save to create the Contact field and to return to the Custom Object page.
http://developer.force.com
5. Accept the remaining defaults and click Next. 6. Click Next in the next two pages to complete the creation of the tab. As soon as you create the tab, you can see the new tab included in the set of tabs.
http://developer.force.com
Summary
Congratulations, you have just built an applicationwithout any coding. By using the Force.com Builder, you simply followed the steps in each wizard to create an object, fields, and a tab, and then pulled it all together into an application that lets users create mileage records to track their business trips.
http://developer.force.com