Skip to main content

Salesforce : Custom Object Creation

Salesforce : Custom Object Creation


What are Custom Objects ? Its just a table . Table ? Yes it is ! 

Just like any application, even Salesforce has to be backed by a storage to store the information which may be a system related information or business / production related .

You save the data in a set of rows and columns and then call it a table.  The rows may be called as Records and a Column can be a Field. The row is a collection of fields.  Let me say with an example. 

Example : I would like to save the details of students, then I would create a table with column (Field) headings as Name, Class , Roll, Age, Phone # , etc. 

Then in each row, I would enter each of the student's name and other details as per the field names / column names. Now you finally have a set of rows of information. Each of this

Name  Class  Roll Talent Phone
Student1 10th 90 Chess 1233345678
Student2 6th 21 Cricket 21254738433
Student3 9th 91 Fast Arithmetic 23432324234
 rows is called as Record and the column as Field.

Steps to create Custom Object : 

  1. Log into your sandbox or Developer organization.
  2. Click Setup Create | Objects and then click New Custom Object.
  3. Type in a Lable name.
  4. Then enter for plural label.
  5. Click Save.
Now that you have created an Object where you can store the data, the next thing to be done is to create Fields. You need to create the fields to store different pieces of relevant information


















Comments

Popular posts from this blog

How to create a validation rule in Salesforce

Validation rule is a filter or a criteria that validates the data that is pushed into an application and verifies if the data that has been entered is in accordance to the set standards. Example : Let's say, there is a field that is used to enter the Age of a Student. But per the organization rule, no student should be allowed to join the course if the age is not more than 25 years. So here you may write a validation rule saying that the Age field should not be more than 25. In case the age entered is more than 25, then the record is not allowed to be saved. You would see an error when you enter the age more than 25. Let me give you another example.  Say that there's a field to enter the Product code. And per the rule of the organization, the Product code should always start with PR. In case you enter any code other than the one that begins with PR, you would encounter an error. The benefits of Validation rules is that you can improve the quality of the data that is go...