Salesforce Interview Questions, Salesforce Interview FAQ, Salesforce Answers, Salesforce Interview Questions with answers, Salesforce all Interview Questions.

Salesforce Interview Questions, answers – part 9

Huge number of candidates are searching for Salesforce Interview Questions and Salesforce Answers, sfdc interview questions, SFDC FAQ. Every candidate can download Salesforce Interview Questions with answers in PDF format in Crmsalesforcetraining.com. Download latest Salesforce interview questions, sfdc interview question asked in different companies here.

84. Can we have duplicate in the External ID?

  • No.

85. What are the different types of trigger events?

An event in a trigger refers to a situation when the trigger gets fired.

  • Before Insert: Before updating a record onto the database, the trigger will be fired.
  • Before Update: Before updating a record which is fetched from database, the trigger will be fired.
  • Before Delete: Before Deleting a record an once it is saved to database, the trigger will be fired.
  • After Insert: After inserting a newly entered record into database, the trigger will be fired.
  • After Delete: After Deleting a record, a user need to perform any action, he can fire the trigger using this after delete event.
  • After Undelete: Once the record gets deleted, it will be sent to recycle bin. So, a trigger can be fired when user is moving back from recycle bin to its respective object and the transaction is done.

86. What are the types of Triggers?

There are two types of Triggers in Salesforce.

  • Bulk Triggers.
  • Recursive Triggers.

Recursive Trigger: A Trigger that creates a new record as part of its processing logic; however, that record may then cause another trigger to fire, which in turn causes another to fire, and so on.

87. What is the difference between render, rerender and renderas?

  • Render: Component in Visualforce page can show or hide by suing render.
  • Rerender: If we want to refresh partial page in Visual force page we have to use Rerender.
  • Render as: By using this we can convert entire visual force into PDF. the syntax is Render as = “pdf”.

88. What is the difference between Trigger and Workflow?

  • Workflow: Inbuilt functionality, used on single object.
  • Trigger: Used for complex business process in which multiple Objects can handle.

Examples:-

  • Using Workflow, Based on the criteria we mentioned on the parent record, we can do filed update on the parent only but not on the chid object.
  • Using Triggers, Based on the criteria we mentioned on the parent record, we can do field update on the child also.

89. How many characters can we enter in the formulae field? What will happen if we exceed the character limit?

  • We can enter upto3900 characters in the formula field. If we exceed the limit, then it will give the compilation error.

90. Can we include on formula field with in another formula field? What about the size?

Yes, we can include on formula field with in another formula field. It will calculate the formula field characters which we included in the formula field.

91. What is the action Function in the VF pages?

  • <apex:actionFunction>: A component that provides support for invoking controller action methods from Javascript code using an Ajax request.
    • An <apex:actionFunction> component must be child of an component.
  •  <apex:actionStatus>: This Component i s used for displaying different values depending on whether it’s in progress or completed.
  • <apex:actionsupport>: A component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover.
  • <apex:actionPoller>: This component specifies a timer that sends an Ajax update request to Force.com according to a time interval that we specify.

92. What is the difference between the ISBLANK() and ISNULL ()?

Both determines if an expression has a value and returns TRUE if it does not. If it contains a value. this function returns FALSE.

  • ISBLANK(expression) : The expression allows both number and text fields
  • ISNULL(expression): Here the expression allows only number fields.

93. What are the Operators we can do using Data Loader?

  • Insert.
  • Update.
  • Upsert.
  • Delete.
  • Export.

94. What is the maximum size of the PDF generated on Visualforce attribute renderAS?

The maximum response size when creating a PDF must be below 15 MB, before being rendered as a PDF.

95. What is the Order of Execution?

The Order of execution gives the what are the events that Salesforce performs in order.

  • Executes all before triggers.
  • System validations are performed.
  • Custom validations are performed.
  • Saves the record but doesn’t commit.
  • Executes the assignment rules.
  • Executes the Workflow rules.
  • Commit to th database.

96. Can we change the data type from lookup relationship to master-detail relationships?

Yes, we can change the Lookup relationship to master-detail relationships.

97. We can create master-Detail relationships if records already exist on object? Then how to achieve this one?

First we have to create the lookup relationship. Next update the existing records with some value in the lookup field. Now change the data type from lookup to master-detail.

98. What is the difference between Force.com and Salesforce.com?

Force.com is the platform used to develop the applications in the salesforce. Salesforce.com is keyword used to search anything.

99. What is the difference between Data Loader and Import Wizard?

Data LoaderImport Wizard
It Support all the Standard Object and Custom Objects.It Supports Accounts/Contacts, Leads, Solutions and Custom Objects.
Supports upto  million records.Supports upto 50,000 records.
Duplicates will be allowedDuplicates will not be allowed.
Have batch size.Don’t have any batch size.

100. What are the OWD?

  • Organisation Wide Default’s is used to restrict access.
  • OWD sharing settings give you a baseline level to access for each object and enable you to extend that level of access using hierarchies.

101. What is sharing rule?

Sharing rules represent the exceptions to your organization-wide default settings. Using sharing rules we can extend the access for the records.

102. At profile level what are the permissions we must give for OWD’s does not work?

View All and Modify All permissions.

103. What is permission sets?

A permission set is a collection of settings and permission that give users access to various tools and functions. The settings and permissions in permission sets are also found in profiles, but permission sets extend user’s functional access without changing their profiles.

Salesforce Interview Questions, Salesforce Interview FAQ, Salesforce Answers, Salesforce Interview Questions with answers, Salesforce all Interview Questions.

Bookmark our website to check salesforce answers, Salesforce Interview Questions asked in 2014,Salesforce Interview Questions asked in 2015, Salesforce answers and FAQ, Salesforce answers, Salesforce interview questions for admin, Salesforce interview questions for developers.