Back

Most Common Interview Q&A Part1(0-25)

1. What is salesforce?
Salesforce is a CRM delivered as a software-as-a-service (SaaS).

2. What is the difference between Force.com and Salesforce.com?
Force.com is the PaaS vertical that forms the foundation for the code, database fetching and UI development. Salesforce.com, being a superset is the SaaS vertical referring to the CRM functionality (Sales, Services & Marketing).

3. What is the difference between isNull and isBlank?

  • IsBlank () is a function that checks if an expression has a value or not. It returns TRUE if there is no value else False. It supports all fields’ type including Text.
  • IsNull () delivers similar functionality with a difference it supports Number fields only.

4. Explain different relationships in SFDC.
Lookup Relationship
Lookup relationship links up two objects and up to 25 such objects can be linked. Parent fields are not mandatory here and they can be multiple layers deep. Addition to it there is no impact on security or deletion.

Master-Detail Relationship

Master-Detail Relationship has to be a Parent-Child relationship only where Master denotes the Parent and Detail as the child. It can link up to 2 objects and deleting a Parent field automatically deletes Child field. A child in one relationship can’t be the parent in any other relationship.

5. How many reports types are there in Salesforce?
There are 4 types of reports in Salesforce that are used to summarize object information

  • Tabular Report – for displaying grand total in Table format
  • Matrix Report – Grouping based on Rows and Columns
  • Summary Report – Grouping done based on Columns only
  • Joined Reports – Joining two or more reports

6. What is Audit Trail?
Audit Trail is a function that helps track all the changes performed by different administrators to the Organization in the past 6 months. It covers details such as

  • Date of changes made
  • Username that made the changes
  • Details of the changes made

7. What Workflow actions can be performed in Salesforce?
Following actions can be performed –Email Alert – Email alerts can be triggered through a template developed by the Workflow rule and thus send out a list of recipients.Field Update – Workflow actions to automatically update the value of a field. This could be a calculated value, blank or populate a specific value.Task – Allows assigning a task to a user specifying Subject, Status, Priority and Due Date.Outbound message – It triggers a specific information or message shooting to external services via SOAP messages.

8. What is the Permission Set?
Permission Set can be used to grant extended access to a user or more without changing their profiles.
Object settings for Tab, Object permissions and Field permissions

  • Access to Apex class
  • System permissions
  • Visualforce access

9. What is a Dashboard? What are the different components?
A Dashboard is the page to view reports. Up to 20 multiple reports can be analyzed in a Dashboard.
Chart – For graphical representation
Gauge – For depicting some value within a range of values
Metric – **For key values
**Visual Page –
For creating custom components and display values
Custom S Control – For displaying content in a Browser such as Excel files, Java Applet, ActiveX Control etc.

10. What are Dependent Fields?
Dependent Fields can be attached with filters. That is, a condition can be set for displaying the value in a field for example > 100 etc. This was just a glimpse of important Salesforce Interview Questions. It is an extensive platform and calls for a complete course to achieve expertise.Stay in touch for more valuable feeds.

11. What is workflow?
Workflow is an automated process that fired an action based on Evaluation criteria and rule criteria. We can perform DML operation on workflow. WE can access a workflow across the object.

12. What is OWD?
Organization-Wide Sharing Defaults(OWD) defines the base line setting for the organization. It defines the level of access to the user can see the other user’s records. OWD can be Private, Public Read Only, Public Read and Write.

13. What is profile and Role in salesforce?
Profile: Profile is object level and field level access and it is mandatory for all users.
Role: Role is Record level access and it is not mandatory for all users.

14. What is apex data loader?
Apex data loader is used to insert, update, upsert, export the data. By using apex data loader we can import the data from outside the salseforce also.

15. Types of Triggers in Salesforce
Trigger: Trigger is a piece of code that executes before or after a record is inserted or updated.
There are two types of triggers:
Before Trigger: before trigger are used to update or validate records values before they are saved to the database.
After Trigger: After trigger are used to access field values that are set by the system and to effect changes in other records, such as logging into an audit table or firing asynchronous events with a queue. The records that fire the after trigger are read only.

16. Difference between SOQL and SOSL
*Salesforce Object Query Language(SOQL) * 1.It is search in single Object.
2.SOQL return records.
3.It can use in triggers and classes.
4.We can perform DML operation on query results.

*Salesforce Object Search Language(SOSL) * 1.It is search in multiple object.
2.It is return Fields.
3.It can use in triggers and classes.
4.We cannot perform DML operation on search result.

17. Mention what are the different types of reports available in Salesforce?
Different types of reports available in Salesforce are

Tabular report: It displays the grand total in the table form

Matrix report: It is a detailed report in which the grouping is done based on both rows and columns

Summary report: It is a detailed form of the report in which the grouping is done based on columns

Joined report: With this two or more reports can be joined in the single reports.

18. What the junction object is and what is the use?
Junction objects are used to build many-to-many relationships between objects. You can take a recruiting application example, where a position for a job can be linked to many candidates and in the same manner a candidate can be linked to the different positions. So, to connect this data model, you need a third party object, this object is referred as junction object. Here “job application” is the junction object.

19. How many controllers can be used in a visual force page?
As Salesforce comes under SaaS, one can use only one controller and as many extension controller.

20. What are the actions available in workflow?

  • Actions available in workflow are:
  • Email Alert
  • Task
  • Field Update
  • Outbound Message

21. What is dashboard?
Dashboard is the pictorial representation of the report, and we can add up to 20 reports in a single dashboard.

22. How many controllers can be used in a visual force page?
As Salesforce comes under SaaS, one can use only one controller and as many extension controller.

23. What is Field-Level Security?
Defines users’ access to view and edit specific fields in the application

24. Why use Field-Level Security?
– Use Field-Level Security (rather than creating multiple page layouts) to enforce data security
– Users view data relevant to their job function Troubleshooting Tools
– Field accessibility views
– Setup | Administration Setup | Security Controls | Field Accessibility

Notes:
• Field Level Security is not available in PE
• Field-level security cannot be used to make a field required. This is done from the Page Layout
• Field access settings can be defined using both field-level security and page layouts. However, the most restrictive field access setting of the two will always apply. For example, if a field is required on the page layout, but read-only in the field-level security settings, the field will be read-only.
• Hiding a field from a user using FLS also hides that field from list views, search results, and reports.

25.What is the maximum size of the PDF generated on visualforce attribute renderAs?
15MB

Back
Site developed by Nikhil Karkra © 2023 | Icons made by Freepik