Customization Interview Q&A

1.What is Track Field History?

While creating the object, we can enable ‘Track Field History’. If, we enable ‘Track Field History’ user can see ‘Set History Tracking’ button under ‘Custom Fields & Relationships’ section which is available on the object detail page. By clicking on ‘Set History Tracking’ button, we can enable tracking for the fields which ever we want. To see the object history, go to object’s record layout and add Object Name History related list to the layout. Whenever, user changes field value from one value to another value, it will show the history of the field in ‘Object History’related list.

2. What are the Activities in Salesforce?

To create the Activities, while creating the object, we should check for ‘Allow Activities’ check box then user can add open Activities and Activity History related lists on the Object layout. There are two types of activities –

Task: Task is nothing but work assigned to a particular person, it doesn’t have certain time limit.

Event: It has certain time limit in that time only all persons should assemble after the time limit over, event will get complete.

Once event or task status is changed to ‘Completed’, then we can see those records under Activity History Related List.

3.How to rename the tab?

Tab name will be decided based on the Plural Label of the custom object, to rename go to corresponding object detail page and rename the plural label.

4. How to display multiple columns after clicking on the tab?

Click on the tab (Which should be related to any of the custom/standard object) > Expand Quick Access Menu > Edit Columns > Move the needed fields from Available Fields to Selected Fields. > Click on Save > User should be able to see multiple columns. (OR) Click on Setup > Create > Objects > Select the corresponding object link > Under Search Layouts section > Click Edit which should be left to Object Tab > Move the needed fields from Available Fields to Selected Fields. > Click on Save > User should be able to see multiple columns.

5. What is the difference between ISBLANK() AND ISNULL()?

ISNULL() works only for number data type fields, if we don’t populate with value for number fields it will return true. It won’t support TEXT data type fields because text fields never become null.

ISBLANK() supports both number as well as text data types.

6. What is dependent picklist?

In some scenario’s, we should be able to control one of the field (Dependent field) from another field (Controlling field).

For example: if we select Country (Controlling field) as US then City (Dependent Field) should display only US cities.

  • We can use checkbox data type fields also while creating dependent picklist (Note: Checkbox should be always controlling field)
  • We can use multi-select data type fields also while creating dependent picklist (Note: multi-select data type field should be always dependent field)
7. What is the architecture of the salesforce?

MVC Architecture – Model, View, Controller

View – It is the user interface (Apps, Tabs, Page Layouts, VF Pages, Fields and Record Types)

Controller – Business Logic (Save, Edit, New, Cancel and Delete – upon click on these button salesforce execute some logic from controller)

Model – It is the Database, which stores Schema (Meta-Data(Data about Data) –> Apps, Tabs, sObjects, fields, Apex Classes, Visualforce pages, etc…) and Instance (Records)

8. What is the difference between 15 digit and 18 digit id in Salesforce?

Normally, when a Salesforce user pulls the id from a record through the interface on any object they get the 15 digit id by design. So, if you created a report on Leads / Account / Contacts or any custom object and add the id field through the interface it will look something like 0015000001Fn4VL.

However, if you were to access that same Salesforce account id via an API or a tool like this from the Apex Data-loader & workbench 0015000001Fn4VLAAZ.

  • The last three digits in the ID are a checksum. A calculation to assure that the first 15 pieces of the ID is accurate for the object it’s being written into.
  • 15 digit ID is case-sensitive.
  • 15 digit ID is what will be received from within the user interface.
  • 18 digit ID case-insensitive and best used for manipulating data outside Salesforce.
  • 18 digit ID is referenced through in the API and other 3rd party tools.

If you would like to convert the current user interface id to 18 digits this can be done by using a formula very simple formula. I have seen a couple of versions of the formula but this is the one that worked best for me in my career.

All you need to do is add a new formula field, text 18 characters with “CASESAFEID(ID)”

9. What is Record Type?

For an object based on the Record Type, we can show different fields and different picklist values by assigning different page layouts for the record types and profiles. After creating the record type, on the record type detail page user can see all the picklist data type fields, user can edit the picklist and decide which values should display for this particular record type.

10. What is the difference between detail page and edit page?

Whenever user try to create a new record or edit an existing record user can input the values for the fields, this page is nothing but edit page.

After creating a new record or editing an existing record, user can see the information of the record, this page is nothing but detail page.

11. What is out of box functionality?

Functionalities are available within the Salesforce platform (i.e. no need to code).

12.What are the different types of tabs?
  • Custom tabs (create for objects)
  • Web tabs (create to display a website)
  • Visual force tabs (create to display the visual force page)
13. What is validation rule?

While creating or modifying the record based on the certain conditions we can display error messages on top of the page or below to the filed.

14.There are two fields, if the user populate two field values if we combine those values uniqueness should be maintain, how to achieve this without coding?

Using vlookup function in the validation rule we can achieve this.

15.What are Governor Limits?

Since we are working in multitenant environment Salesforce is enforcing the limits for all the functionalities.

  • How many no of fields for an object: 500
  • No of master detail relationships for an object: 2
  • No of lookup relationship for an object: 25
  • No of rollup summery fields: 10
  • How many external ids we can enable for an object: 7 (increased from 3 to 7 in Winter-15)
16. For which data type we can unable external id?

Text, number, auto number, email.

17.What is list view?

List View allows you to see a filtered list of records, such as contacts, accounts, or custom objects. List views are stored within a Custom Object component. The component can represent a custom object or a standard object, such as an account.

After clicking on the tab on the top of the page we can see views, by default we can see the value called ‘all’. If we click on ‘Go’ beside that all we can see all the records of that object.

We can create new views and while creating the view we can give the filter conditions so that based on the filter condition we will be able to see records in tab.

18. What is Inline editing?

On the detail page without clicking on edit button we can edit particular field if it is not read-only.

19. How to disable Inline editing?

To enable or disable Inline editing follow the below navigation – Setup–> Customise–> User Interface–> Enable Inline Editing

20.What is Enhanced list view?

In list views we can modify multiple records at a time using Enhanced list views Note: To modify multiple records, all the records should belong to same record type in the list view otherwise we cannot modify.

21.What is search layout?

Whenever we click on a tab or we click on a lookup icon or search for a record we see only one standard field by default, to enable remaining fields –

  • To show multiple fields for the records which display under a tab, on object detail page > under Search layouts edit tab and add required fields.
  • To show multiple fields for the records which display when we click on lookup of a field, on object detail page > under Search layouts edit Lookup Dialogs and add required fields.
  • To show multiple fields for the records which display when we search for the records, on object detail page > under Search layouts edit Search Results and add required fields.
22.What is mini page layout and how to enable?

For lookup fields on record detail page we see a link, whenever we put cursor on that link we see a popup window which displays few fields. To control the fields visibility, on that look up field parent object page layout we see a mini page layout in that we can control.

23. What is lead process?

To control the picklist values of the status field on the lead object we should create lead process. Without selecting the lead process we can’t create the record type for lead object

24. What is sales process?

To control the picklist values of the stage field on the opportunity object we should create sales process. Without selecting the sales process we can’t create the record type for opportunity object

25. What is Support process?

To control the picklist values of the status field on the case object we should create support process. Without selecting the support process we can’t create the record type for case object

26. What is web-to-lead?

On lead object we can generate the HTML code by selecting lead fields and by mentioning return URL from web-to-lead option. The generated HTML code can be hosted in any of the website. Upon entering the information in those fields and clicking on submit button that information will be saved into lead object of the Salesforce.

27. What is Queue?

In queue we can add group of users and we can assign the objects to the Queue. After creating the queue one of the list view automatically created on the objects which are selected for the queue. We can assign this queue as the owner of the records (objects which are selected for this queue). Later users who are part of that queue can claim the ownership by navigating to list view corresponding to the queue. In that list view users who are part of the queue can select the record and click on accept button so that record ownership will be transferred from queue to accepted person.

28.What is public group?

We can add set of random users in the public group. We can’t assign public group as an owner of the record. In manual sharing, sharing rules and in list views we can use public group.

29. What are the Assignment rules?

Assignment rules are used to automate your organization’s lead generation and support processes.

Lead Assignment Rules – Specify how leads are assigned to users or queues as they are created manually, captured from the web, or imported via the lead import wizards.

Case Assignment Rules – Determine how cases are assigned to users or put into queues as they are created manually, using Web-to-Case, Email-to-Case, On-Demand Email-to-Case, the Self-Service portal, the Customer Portal, Outlook, or Lotus Notes.

Aim: All the cases created by user ‘ABCUser’ should be assigned to ‘XYZUser’.

30.What are Auto-Response Rules?

An auto-response rule is a set of conditions for sending automatic email responses to lead or case submissions based on the attributes of the submitted record. Applicable leads include those captured through a Web-to-Lead form. Applicable cases include those submitted through a:

  • Self-Service portal
  • Customer Portal
  • Web-to-Case form
  • Email-to-Case message
  • On-Demand Email-to-Case message
31.What are the Escalation rules?

Create case escalation rules to escalate cases automatically if they are not resolved within a certain period of time.

Typically, your organization will have one escalation rule that consists of multiple entries which specify exactly how the cases are escalated. For example, your standard case escalation rule could have two entries: Cases with Type set to Gold are escalated within two hours, and cases with Type set to Silver are escalated within eight hours. Goto Setup | Customize | Cases | Escalation Rules.

Site developed by Nikhil Karkra © 2021 | Icons made by Freepik