Initially you have to create your own developer account to experience the Salesoforce magics. Please click here to create your developer account.If you already have your account then proceed with below steps.
Follow the below steps to Build a Custom Object
- Go to your developer account Salesforce page
- Click the Setup icon in the top-right navigation menu and select Setup.
- Click the Object Manager tab next to Home.
- Click the Create dropdown and then select Custom Object.
- In the New Custom Object form fill in:
- In the Custom Object Information section:
- Label: NewObject
- Plural Label: NewObjects
- Object Name: NewObject
- In the Enter the Record Name Label and Format section:
- Record Name: Reading Id (replace the default NewObject Name).
- Data Type: Auto Number
- Display Format: R-{0000}
- Starting Number: 1
- Click Save.
- In the Custom Object Information section:
- On the NewObject Custom Object page, make sure that the API Name is NewObject__c.
- Select the Fields & Relationships section from the left navigation.
- Click New.
- Create a field for the temperature.
- In the Step 1. Choose the field type section:(We have many field types like Number,Text,Date and etc.,)
- Data Type: Number
- Click Next
- In the Step 2. Enter the field details section:
- Field Label: temperature
- Length: 4
- Decimal Places: 2
- Field Name: temperature.
- Click Next, Next, and then Save & New.
- In the Step 1. Choose the field type section:(We have many field types like Number,Text,Date and etc.,)
By Enabling the Check box of “Always require a value in this field in order to save a record” you can make the field as a required one.
By Enabling the Check box of “Set this field as the unique record identifier from an external system.” you can make this field as a unique record identifier from an external system.
By Enabling the Check box of ” Do not allow duplicate values” you can avoid duplicates.
Also you can set up the default value to the fields.
This training blog will be very helpful to learn about object and field creation in Salesforce.