→ An application is nothing but a set of service, if we were to write a software application, the first and foremost thing we need to do is to build a project where we can store all the code that we are going to write, with the platform as force.com, here the first thing we are doing is to create new applications.
With Force.com you can build apps faster, you can create applications without the concern of buying hardware or installing software
Just like programming projects, application is little more than a container which stores all of the objects, tools and other functionality that we are going to build as a part of our application. It might consist a simple name, a logo or an ordered set of tools.
The simple applications contain only one tab-the home tab and a default logo
Click on username–>setup–>app setup–>create–>apps (click n) –>new–>app label (LG) –>next–>next–>save.
An object is a real-time entity. An object is very similar to a database table, whether they are standard or custom objects, force.com platform objects not only provide a structure for storing data, but they also power the interface which ultimately allows users to interact with the data, such as tabs, layout of fields on a page and list of related records.
Objects contain the functionality you expect in a table and more, but you should be aware that the difference also points to a difference in functionality. The object comprises a number of fields. Objects can be related to other objects, with relationship fields mapping records in one object to records in another. All attributes of an object are described with metadata, outlined later. Information is stored in records of the object.
Because, any object can correspond to a tab, an ordered collection of tabs makes up an app, objects make up the heart of any app that we create within the platform.
There are two types of objects.
Creating a custom object is quite easy. So, let’s walk through the steps to create our first object.
click on your name → setup → app setup → create → objects → new custom objects (click on) → label (employee) plural label (employee) objects name (employee) → employee name
Data type → text
→ text to number
Allow reports [⁄]
Allow activities [⁄]
Tracks field history [⁄]
Deployment [⁄] → add notes and attachment [⁄] → launch new customer tab wizard [⁄] → save → objects (employee) → tab style → next → next → finance project [⁄] → save.
If we don’t check during launch of a new custom tab wizard from the above step, the object will save without tab appearance so we have to create tab again. On the other hand, if we check, then the object will save and the tab will be created and appeared.
Tabs can help you in making the views in such a way so that it helps the user to see the information at a glance. Every tab serves as the starting point for viewing, editing and entering information for a particular object. When you click a tab at the top of the page, the corresponding homepage for the object appears.
Creating Custom Tab :
Custom tabs display custom object data or other web content embedded in the application.
By default, for every object four fields are created, they are:
2.Last modified by
A field is like a database column, the primary characteristics of a field is its data type.
Custom fields allow you to tailor your database to your unique business needs. Custom fields are best used when the information is static and tracking change over time might not be necessary.
The best way to learn how to create custom fields in Salesforce is by doing—create several different fields and field types to become more comfortable with custom fields in Salesforce.
Every field has three common things:
3.Field data type.
→ For each custom field, the field name will be written as
How can you make a field require?
→ Whenever we create a field, we must definitely check (select) the option at that moment.
[⁄] Field requires
1.In the page layout
2.At the time of creating a field
Mindmajix offers different Salesforce certification training according to your desire with hands-on experience on Salesforce concepts
|Salesforce Administration Training||Salesforce Lightning Training|
|Salesforce Advanced Developer Training||Salesforce Developer Training|
|Salesforce IoT Training||Salesforce App Builder Certification Training|
|Salesforce AppExchange Training||Salesforce Service Cloud Training|
|and many more..|
Get Updates on Tech posts, Interview & Certification questions and training schedules