Month: December 2015

Salesforce Interview Questions, answers – part 9

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 Loader Import 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 allowed Duplicates 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.

Customization in the cloud using Force.com

Customization in the cloud using force.com

With Force.com developers can customize declaratively or programmatically. Customization in the cloud can be done in two ways they are.

  1. Declarative Customization.
  2. Programmatic customization.

Declarative Customization.

  • Declarative Customization can be made point and click in the browser.
  • Declarative Customization require an understanding of Force.com concepts, without coding knowledge.
  • Declarative Customization = Simplicity + Speed.

Programmatic Customization.

  • Programmatic Customization’s are made  with code.
  • Programmatic Customization’s require coding skills and allow developers to extend beyond the declarative Salesforce.com Capabilities.
  • Programmatic Customization = Control + Flexibility.

Application building blocks in Salesforce.com.

In Salesforce.com customization can be done through Declarative Customization and Programmatic customization. There are three steps in Application building they are

  1. User Interface.
  2. Business Logic and.
  3. Data Models.

Customization in the cloud

Difference between Declarative and Programmatic Customization in Salesforce.com.

Declarative Customization  Programmatic Customization
  • Easy of development.
  • More Visual.
 Can extend the capabilities of an standard

functionalities.

Does not require Programmatic Skills
It is Fast.
Easy of upgrades.
Easy of Maintenance

Salesforce Answers, Salesforce Interview Question – part 6

Salesforce Answers, Salesforce Interview Question.

Salesforce Questions and Answers.

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

61. How to merge duplicates without going for third Party tools?

Click on the Tab and go to Tools section, we can find the Merge option.

62. How many ways we can do deployment?

There are three ways to do deployment.

  1. By using change Sets.
  2. By using Force.com IDE tool(Eclipse).
  3. By using Force.com Migration toolkit.

63. What is the best practice you are using while coding?

  • Bulkify your code: Bulkifying Apex code refers to the concept of making sure the code properly handles more than one record at a time. When we try to load the link of the records using the Data Loaders, then we make sure that code will satisfy.
  • Avoid SOQL Queries inside For loops: When queries are placed inside a for loop, a query is executed on each interaction and the governor limit is easily reached. Instead move the SOQL query outside of the for loop and retrieve all the necessary data in a single query.
  • Avoid Multiple Triggers on the Same Object: Write the Single Trigger on the each object and write the logic in the classes and call that classes in the triggers.
  • use of the Limits Apex Methods to avoid Hitting Governor Limits.
  • Avoid hardcoding IDs.

64. What is the MVC design pattern in Salesforce.com?

Model View Controller (MVC) design pattern is the one of the most popular design pattern which contains three modules.

  1. Model.
  2. View.
  3. Controller.
  • Model: What Schema and Data does salesforce uses to represent the system completely. In Salesforce, we can say that sObject are the model.
    • Example: Sobjects, Apex Classes.
  • View: How the Schema and data is represented. Visualforce is used to present the data to users.
    • Example: Pages, Components.
  • Controller: How the interface actions. Controllers are used to perform the actions whenever users interact with Visualforce.
    • Example: Standard, Custom(Apex).

65. How many records we can display in the particular report?

Any number of records.

66. What are the data components in the Dashboards?

The following are the Data Components in the Dashboards.

  1. Horizontal Bar Chart.
  2. Vertical bar Chart.
  3. Line Chart.
  4. Pie Chart.
  5. Donut Chart.
  6. Funnel Chart.
  7. Gauge Chart.
  8. Metric.
  9. Table.

Note: The Components of the Dashboard that use the Grand Totals is Metric and Gauge.

67. How to call method in VF page?

We have a attribute called action in the <apex:commnadbutton> tag in the VF page.

<apex:commandButton action=”{!save}” value=”Save” id=”theButton”/>.

68. How much code coverage we can do for a Test Class?

  • 75%.

69. What is the Formula Filed?

A read-only field that derives its value from a formula expression which we define. The formula filed is updates when any of the source field change.

70. Mention the names of Standard Controllers?

  • Accounts.
  • Contacts.
  • Opportunities.
  • Leads…etc.

80. What are the actions in Workflow?

  • Tasks.
  • Email Alert.
  • Field Update.
  • Outbound Message.

81. Can we delete a record using the Workflow?

  • No.

82. What is the validation Rule?

  • Validation rule verify that the data a user enters in a record meets the standards we specify before the user can save the record.
  • Validation rule also included the error message to display to the user when the rule returns a value of the true due to an invalid value.

83. If we don’t have 75%code coverage, can we move it from one sandbox to another sandbox?

Yes, we can move a class from one Sandbox to another sandbox. But if we want to move a class from sandbox to environment we need to have a Test Class with a minimum of code coverage should be 75%.

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

SFDC Interview Questions, SFDC FAQ – Part 7

SFDC Interview Questions and Answers.

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

66. What are the Data Components in the Dashboards?

The following are the Data Components in the dashboards.

  • Horizontal Bar Chart.
  • Line Chart.
  • Pie Chart.
  • Donut Chart.
  • Funnel Chart.
  • Gauge Chart.
  • Metric.
  • Table.

Note : The Components of the dashboard that use the Grand Totals is Metric and Guage.

67. How to call method in the VF page?

  • We have a attribute called action in the <apex:commnadbutton> tag in the VF page.

<apex:commandButton action=”{!save}” value=”save” id=”theButton”/>.

68. How much code coverage we can do for a Test Classes?

  • 75%.

69. What is the Formula Field?

  • A read-only field that derives its value from a formula expression which we define. The formula field is updated when any of the source fields change.

70. Mention the names of Standard Controllers?

  • Accounts, Contacts, Opportunities, Leads…etc.(all Standard and custom objects).

71. What are the actions in the Workflow?

  • Task.
  • Email Alert.
  • Field Update.
  • Outbound Messages.

72. Can we delete a record using the Workflow?

  • No.

73. What is the validation rule?

  • Validation Rules verify that the data a user enters in a record meets the standards we specify before the user can save the record.
  • Validation rule also included the error message to display to the user when the rule returns a value of true due to an invalid value.

74. If we don’t have 75% code coverage, can we move it from one sandbox to another sandbox?

  • Yes, we can move a class from one sandbox to another sandbox. But if we want to move a class from sandbox to production environment we need to have a Test Class with a minimum of code coverage should be 75%.

75. Can we have duplicates in the External ID?

  • No

76. Which method in custom settings returns list of records?

  • getAll().

77. What are the context variables in Triggers?

  • Trigger.new, Trigger.old.
  • Trigger.NewMap, Trigger.OldMap.
  • isInsert, isUpdate, isDelete, isBefore, isAfter, isUndelete.

Bookmark our website to check latest SFDC Interview questions, Salesforce FAQ in 2014, Salesforce FAQ in 2015, Salesforce answers and FAQ, Salesforce answers, Salesforce interview questions for admin, Salesforce interview questions for developers

Salesforce Interview Question – Part 8

Salesforce Interview Question – Part 8

Huge number of candidates are searching for Salesforce Interview Question and Salesforce FAQ. Every candidate can download Salesforce FAQ with answers in PDF format. Crmsalesforcetraining.com provides latest sfdc interview question asked in different companies.

78. What is the Bulk Triggers?

  • All the triggers are bulk triggers by default, and can process multiple records at a time. We should always plan on processing more than one record at a time.

79. What is the difference between giving with sharing and without sharing while creating a class?

  • The class with sharing means we are enabling the access to the profiles. The class without sharing means we are disabling the access to the profiles.

80. Can we put list in the Map?

  • Yes, we can put list in the Map. Please find the code below.

Map<Id, List<Opportunity>> MapList=New Map<Id, List<Opportunity>>();

81. What is the Rollup Summary?

  • A read-only field that displays the sum, minimum, or maximum value of a field in a related list or the record count of all records listed in a related list.

82. How can we implement a scheduler in Force.com?

  • In Force.com we have a concept of scheduling the apex. We can write a block of code which can be scheduled at particular point of time in a week.

83. What are the different types of the trigger events?

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

  • Before Insert: Before inserting the record into the database, the trigger will be fired.
  • Before Update: Before deleting a record, trigger will be fired.
  • Before Delete: Before Deleting the record, trigger will be fired.
  • After Insert: After Inserting a newly entered record into database, the trigger will be fired.
  • After Update: After modifying the record once it is saved to database. the trigger will be fired.
  • After Delete: After Deleting a record, if 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 to its respective object and the transaction is done.

Bookmark our website to check salesforce interview question and answers, sfdc interview questions and answers 2014, 2015 in PDF format, Salesforce interview answers, Salesforce interview question for admin, Salesforce interview question for developers.

Salesforce FAQ, SFDC Interview Questions – Part 5

Salesforce FAQ, SFDC Interview Questions – Part 5.

Salesforce interview Question asked in 2014 and 2015 in different companies.

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

51. Can we create a user without assigning the profile?

No, because while creating the user, selection of profiles is mandatory thing.

52. How many ways we can make a filed required?

There are three ways to make a filed required. They are

  1. While creating a filed.
  2. Using Page Layout and using Validation Rules.
  3. FLS(doubt).

53. How many ways we can create visualforce page?

There are two ways to create a visualforce page. They are

  1. By using the URL.
  2. By using the path setup=> Develop=> Pages.

54. What are the assignment Rules?

Assignment Rules are used to automate 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 wizard.
  • Case Assignment Rules determine how cases are assigned to users or put into queues as they are created manually, using Web-to-Case.

55. What are the types of Relationships?

  1. Master- Detail.
  2. Lookup.
  3. Many to Many.
  4. Hierarchical.

56. Can we delete the user from Salesforce?

As per now, Salesforce does not allow to delete any user, how ever we can deactivate the user.

57. How to create the Many to Many relationships between object?

Create one custom object, which should have auto number as unique identification and create two Master- Detail relationships for this object. And this Object is called as Junction object.

58. What is Cross Object Formula?

Cross-Object Formula can reference merge fields from a master(“parent”) object if an object is on the detail side of a master-details relationship. We can reference fields from object that are up to ten relationships. We can able to insert related Object data into a formula.

59. How to hide a tab for an User?

By Profiles we can hide a tab from a user.

Use “Tab Hidden” setting for Tab Hide.

60. What is an External ID?

External ID are used when we interacting with a external systems. It will act as unique identifier. We can define 3 external ID fields per object. These are the data types of fields.

  • Number.
  • Text.
  • Email.

Bookmark our website to check salesforce FAQ with answers, Salesforce FAQ in 2014, Salesforce FAQ in 2015, Salesforce FAQ questions with answers 2014, Salesforce answers, Salesforce interview questions for admin, Salesforce interview questions for developers.

Salesforce Interview Questions with answers – Part 4

Salesforce Interview Questions – Part 4

Salesforce interview Question asked in 2014 and 2015 in different companies.

Huge number of candidates are searching for Salesforce Interview Questions and Salesforce FAQ. Every candidate can download Salesforce Interview Questions with answers in PDF format. Crmsalesforcetraining.com provides

45. What are the types of Sandboxes you’re using?

Full Sandbox and Configuration only Sandbox.

  • Full Sandbox : Full Sandbox is Production environment.
  • Configuration Sandbox: Test Sandbox.

46. What is the difference between the with Sharing and with out Sharing keywords?

Use the with sharing keywords when declaring a class to enforce the sharing rules that apply to the current user.

Use the without sharing keywords when declaring a class to ensure that the sharing rules for the current user are not enforced.

47. What is the difference between Tigger.new and Trigger.old?

Trigger.new : Returns a list of the new versions of the sObject records.

Note that this sObject list is only available in insert and update triggers, and the records can only be modified in before triggers.

Trigger.old : Returns a list of the old versions of the sObject records.

Note that this sObject list is only available in update and delete triggers.

48. What is the Custom Settings?

Custom Setting that provides a reusable set of static data that can be accessed across your organization. There are two types of custom settings.

  1. List Custom Settings.
  2. Hierarchy Custom Settings.

49. What is the difference between the Lookup and Master-detail relationship?

Lookup Relationships Master-Detail Relationships
We can create upto 25 lookup Relationships We can create upto 2 Master-Details Relationships
Lookup can be created if records already exists Master-Details Relationships cannot be created if records already exists.
If we deletes the Parent record, then the child will not be deleted. If we delete the Parent record, then the Childs will be deleted automatically.
Mandatory Optional

50. What is the difference between the Profiles and Roles?

Profiles: A collection of settings and permissions that define how a user accesses records. Profiles Control a user’s permissions to perform different functions in Salesforce.

  • A Profile can have many users, but a user can have only one profiles.

Roles : Controls the level of visibility that users have yo an organization’s data.

Bookmark our website to check salesforce interview questions and answers, sfdc interview questions and answers 2014, 2015 in PDF format, Salesforce interview answers, Salesforce interview questions for admin, Salesforce interview questions for developers.

Salesforce Interview Questions with Answers 2015 – Part 3

Salesforce Interview Questions – Part 3.

Salesforce interview Question asked in 2014 and 2015 in different companies.

Huge number of candidates are searching for Salesforce Interview Questions and Salesforce FAQ. Every candidate can download Salesforce Interview Questions with answers in PDF format.

34. What are the report Types?

Record types are used to display different picklist values and page layouts to different users based on their profiles.

35. How to make the Record type as default?

By using profiles.

Go to the particular profile and by using Record Type Settings we can make the Record types as default.

36. What is the Customer Portal and Partner Portal?

Customer portal: A Salesforce.com Customer Portal similar to a Self – Service Portal in that it provides an online support channel for your customers – allowing them to resolve their inquires without contacting a customer service representive.

37. Tell me one Governor Limit?

Total number of SOQL queries issued 200
Total number of records retrieved by SOQL queries 50000
Total number of records retrieved by SOQL queries 20
Total number of records retrieved by a single SOSL query. 200
Total number of DML statements issued 150

38. What are the annotations in the Apex?

An Apex annotation modifies the way a method or class is used, similar to annotations in Java.

  • @Deprecated.
  • @Future.
  • @Is Test.
  • @ReadOnly.
  • @RemoteAction.

39. What is @IsTest annotation?

Use the isTest annotation to define classes or individual methods that only contain code used for testing you application.

40. How many controller extensions we can use?

Any number of controller extensions.

41. What are the Collections?

  • Lists.
  • Maps.
  • Sets.

42. What are the difference between the Sets and Maps?

  • A Set is an unordered collection of primitives or sObjects that do not contain any duplicate elements.
  • A Map is a collection of key-value pairs where each unique key maps to a single value. Keys can be primitive data type, while values can be a primitives, sObject, collection type or an Apex object.

43. What are the data types we can give for the Key and Values in Maps?

  • Keys – Primitive Data Types.
  • Values – Primitive, sObject, Collection Type or an Apex Object.

44. Have you Implemented record type in your project?

Yes, we have created Record Types and we have done Page Layout Assignment also.

Bookmark our website to check salesforce interview questions and answers, sfdc interview questions and answers 2014, 2015 in PDF format, Salesforce interview answers, Salesforce interview questions for admin, Salesforce interview questions for developers