What is an Object?
In Salesforce we have Objects you can think of these in terms of containers for your information in the form of tables which are kept in the Salesforce database. The two most common types of objects are Standard and custom objects.
Standard objects are objects that are included with Salesforce. Common business objects like Account, Contact, Lead, and Opportunity are all standard objects.
Custom objects are objects that you create to store information that’s specific to your company or industry.
Every standard and custom object has fields attached to it, fields are like columns in a spreadsheet and they have different data types according to what information they will hold such as checkbox (for fields that require a simple yes or no answer), Date or DateTime, Formulas (for calculations).
A standard object comes with a set of prebuilt standard fields. You can customize standard objects by adding custom fields, and you can add custom fields to your custom objects just take into consideration what kind of data you will be saving when you create a custom field.
Create a Custom Object
- Click the Object Manager tab.
- Click in the top-right corner.
- For Label, enter Property. Notice that the Object Name and Record Name fields auto-fill.
- For Plural Label, enter Properties.
- Check the box for Launch New Custom Tab Wizard after saving this custom object.
- Leave the rest of the values as default and click Save.
- On the New Custom Object Tab page, click the Tab Style field and select a style you like. The style sets the icon to display in the UI for the object.
- Click Next, Next, and Save.
Great job! You just created your first custom object. Now, let’s talk about adding fields to this object.
If you are using custom user profiles in Salesforce, you will need to give your users access to the objects that are in the Formstack Documents managed packaged.
To update the permissions, go to Setup > Users > Profiles and then click the link under Profile next to the profile that you would like to update.
Scroll down to the Custom Object Permissions section in the settings and you'll need to give the profile Read, Create, Edit, and View All access for the following objects:
Create a Custom Field
- From Setup, go to .
- In the sidebar, click Fields & Relationships. Notice that there are already some fields there. There’s a name field and some of the system fields we talked about earlier.
- Click New in the top right.
- For data type, select Currency.
- Click Next.
-
Fill out the following:
- Field Label: Price
- Description: The listed sale price of the home.
- Check the Required box.
- Click Next, Next again, and then Save.
You’ll see your new Price field in the list of Property fields. In the Field Name column, notice that it says Price__c. The “__c” part is an easy way to tell that a particular field is a custom field.
Best Practices for customizing you org:
- Give your objects and fields descriptive, unique names so that it does not become confusing when it comes to mapping.
- Include descriptions for custom objects and fields for your users.
- To avoid incomplete data make essential fields required.