Professional Documents
Culture Documents
Sales Force Quest in S
Sales Force Quest in S
record, how can you compare old value and new value of picklist in trigger?
Contact c1=trigger.newMap[0];
Contact c2=trigger.oldMap[0];
if(c1.id!=c2.id)
c1.picklistfieldname='text';
update c1;
@future: @future annotation to identify the methods that are executed asynchronously.
Ans: before deploy from sandbox to production if you want to validate the changeset in production we
need Test Classes.without test classes we can move the classes from
sandbox to production through changesets.but if you want to move the packages from one Org to
another Org we need test classes for classes.
suppose we have so many classes in one application one test class coverage is 50%,another one
60%,another one 90% totally avg code coverage above 75% in org.
we can do move classes from sandbox to production through changesets.
but if you want to move packages from one Org to another Org this is not possible every test class
coverage must be 75% then we can send the packages otherwise
1. The change set remains active in organization for a period of time allowing for an audit of changes
(beyond the setup audit trail). This functionality is in Sales force setup.
2. Change set can be include almost anything for example classes, pages, reports, objects, page
layouts, record types, email templates etc.
1. Lookup filter, labels, new picklist values, custom setting & labels are not available for
deployments.
5. Not all metadata is supported in the metadata API which means some manual changes may need
to be made in the production org.
Code assist for Apex system classes, user-defined classes, and schema objects.
4. Force.com IDE provides an Apex Test Runner view where you can test your methods to see which
the tests are are passing or failing helpful in Test class.
1.It takes long time for loading and deployments which is initialization step of our project.
3.Detailed logs are not generated in Integrated Development Environment. For example system log
file.
4.We are not able to update user profiles using eclipse IDE. Like configuration changes not done in
this tool.
Ans: Approval Processes are Automated business processes and complex business process.we can create
two types of approval processes they are
for every action we can send email alerts,we can assign tasks,we can do the field updates and we
send outbound messages.
Ans:Customer relationship Management(CRM) is as a process that will help bring together lots of pieces
of information about customers, sales, marketing, effectiveness, responsiveness and market trends.
CRM provides best relationship between client’s and company with this best relationship we can
acquires new client’s quickly.
Life Cycle Process: Every Org contains Products.for that products we use Campaigns.based upon
Campaigns Leads are coming.that leads might be opportunity or account or contact.
Ans: OWD is default access for each object.OWD restrict the access.
12.In Master-detail Relatinship, parent object have private owd then can we give read/write access
to child object?
Ans: Cloud Computing is actively usage of Hardware & Software & Infrastructure as a Service through
cloud. Cloud Computing is internet based computing
where virtual shared servers provide software, infrastructure, platform, devices and other resources
and hosting to customers on a pay-as –you-use basis.
Cloud Computing is to share the resources over the network. End users can access cloud based
applications through a web browser while business software and data stored on server.
14. what is CRM?
Ans: Customer relationship Management(CRM) is as a process that will help bring together lots of pieces
of information about customers, sales, marketing, effectiveness, responsiveness and market trends.
CRM provides best relationship between client’s and company with this best relationship we can
acquires new client’s quickly.
Ans: with sharing : 1. Enforces sharing rules that apply to the current user.
with out sharing : 1.Ensures that all the sharing rules of the current user not enforced.
Ans: action function: with the help of Javascript Function we can call the apex method in the apex class.
Ans: OWD's controls the Default access for each object.and it restrict the access.
2. Public Tags
20. name some custom objects and fields you have used in your project.
Field Names:
21. what is web to lead functionality?
Ans: Using web to lead you can capture contact and profile information from users in online and
automatically generate new leads in salesforce.com
Ans: Governor limits are runtime limits enforced by the Apex runtime engine. Because Apex runs in a
shared, multitenant environment,
the Apex runtime engine strictly enforces a number of limits to ensure that code does not
monopolize shared resources.
Ans: lets you write test methods that change user contexts to either an existing user or a new user. All of
that user's record sharing is then enforced.you can use only
runas in testMethod.the original system context is started again after all runas() test methods
complete.
Ans : Through Profile.we assign this profile to user so that login hours will be applied to user.
Ans: No, but i know how to use flows.using flows we develop the screens and navigating the screens.
27. how do you upload file using vf?
Ans: appexchange is the Application Exchange market place here we can buy the applications and we
can sell the applications.
Ans : using salesforce-to-salesforce we can transfer the records from one organization to another
organization.
1.static polymorphism
2. Dynamic polymorphism
Encapsulation : Encapsulation is a mechanism of binding the data nothing but variable and code that
acts upon the data into a single unit.
Ans: NO.
32. explain the scenario and how did you do that?(asked each step)
Ans:No.
Ans: Salesforce Chatter provides a rich suite of collaboration features to any application built on
Force.com.
With Salesforce Chatter, your users and data can provide a stream of live updates, enhancing how
applications, data and knowledge is used.
Ans: No.
Ans: 1. using recordtype we assign the different pagelayouts to different users based on their profiles.
Ans : No.
Ans : which Object has two master details relationships that is called junction object.
Ans: changesets are Deployment Tool.it deploy the customizations from one environment to another
environment.changesets are inbound changeset,outbound changset
inbound changeset received the customiztions from outbound changeset and deploy to production.
43. what is externalId?
3. we can create 3 uniqueIds per object.if you want create more by raising case to salesforce
then we can create.
Ans: Resolution
To enable conditional highlighting, your report must contain at least one summary field or custom
summary formula.
This feature allows you to customize your reports by showing visual highlights for analysis.
This feature is accessible in the reporting wizard. To use this feature do the following:
1. Select the field that you want to analyze in your report.
5. View report.
This feature works for any quantified field (number, percent, etc.), and is also available in Dashboards.
Limitations/Considerations:
Ans: Highlight field values on summary or matrix reports based on ranges and colors you specify. To
enable conditional highlighting, your report must contain at least one summary field or custom
summary formula.
To set conditional highlighting, click Show | Conditional Highlighting in report builder, then set the
breakpoint values and range colors to use.
Ans: Tabular Report-it displays grand Totals in the report.it is like table report.
Summary Report- it groups the rows of data and display the subtotals.
Matrix Report-it groups the Rows of data and colums of data and display the subtotals.
Ans: using webservice callouts making request to external system from salesforce.com.
Ans: code coverage refers how much of your production code is covered by your test code.
--- Users with “View My Team's Dashboards” can view the dashboard as any user below them in the
role hierarchy.
--- Users with “View All Data” can view the dashboard as any user in their organization.
Narrow,Medium,wide.
// Statements;
}
56. Howmany ways we can import data into salesforce?
Ans: we can import the data into Salesforce using import wizard, Apex Data Loader.
Ans: when you declare the variables which modifier come automatically that is default modifier. The
default modifier is Private.
Ans: if you want to insert more than 50,000 records and to overcome the limitations in salesforce we are
using Batch Apex. Suppose using Database.getQueryLocator we can return 10,000 record ifwe are using
this in batch apex we can return 5 million records.
61. Write a trigger , xyz is a record in that record how to store the address to the xyz record?
62. How to download the file from salesforce?
Ans: web-to-lead captures profile and contact information from users in website.
Using action support we can give the support to another component using this component we
can call an apex method.
Declaring Methods; }
L&T
Ans: Customer Relationship Management is as the process that will help bring together lots of
pieces of information about sales, marketing, customers, responsiveness, effectiveness and market
trends.it provides best relationship between clients and company with this best relationship we can
acquire new clients quickly.Salesforce CRM is working in Cloud and it is very
Ans: profile controls the accessibility of data. Role controls the visibility of data.
Ans: Workflow process is the automated business process. using workflows we can assign tasks, we
can send emails, we can do the filed updates and we can send outbound messages.
Ans: Validation rules used for the validations.validation rule consists of error condition, error
message, error location.
5. Write a validation rule of in the picklist A,B,C,D and other is there whenever we select other
need to show inputtext field?
What is transient?
Use the transient keyword to declare instance variables that can't be saved, and shouldn't be
transmitted as part of the view state for a Visualforce page. For example:
You can also use the transient keyword in Apex classes that are serializable, namely in controllers,
controller extensions, or classes that implement the Batchable or Schedulable interface. In addition, you
can use transient in classes that define the types of fields declared in the serializable classes.
Declaring variables as transient reduces view state size. A common use case for the transient keyword is
a field on a Visualforce page that is needed only for the duration of a page request, but should not be
part of the page's view state and would use too many system resources to be recomputed many times
during a request.
Some Apex objects are automatically considered transient, that is, their value does not get saved as part
of the page's view state. These objects include the following:
How many ways we can schedule Batches?Is it possible to schedule with external tool like data
loader?
2. No more than 200 method calls per Salesforce license per 24 hours
3. The parameters specified must be primitive dataypes, arrays of primitive datatypes, or collections of
primitive datatypes.
4. Methods with the future annotation cannot take sObjects or objects as arguments.
5. Methods with the future annotation cannot be used in Visualforce controllers in either
getMethodName or setMethodName methods, nor in the constructor.
After executing workflow rules agin before triggers and after triggers will execute, How can you
avoid?
Are you using any external tools like bug traker in your company?
A) Enterprise WSDL
* Contains the metadata about all standard and custom fields and objects.
Partner WSDL
A) 1.Enterprise WSDL
2.Partner WSDL
3.Apex WSDL
4.Metadata WSDL
for an email format data entering how can you write validation rules?
A) Analysis, Design, Develop the code in the sandboxes, writing unit tests, and moving to test sandboxes
to test
A) Yes.
* What is group by? When will you use?What is having? When will you use?beside Groupby is it
possible to use having?
Group by is used in soql queries to fetch the records by grouping based on specific fields
A) List:
List is a Unordered collection of values. It contains duplicate values. Each value is retrieved using the
List Index.
Set:
Map: Map is a key value pair datatype.duplcate value but not duplicate key.
A) workflow Trigger
2. workflows fire when DML events like 2. Trigger is also same when DML events occur like
insert, update occur.workflows cannot fire insert, update, delete.in deletion trigger will fire.
or master object in custom master detail relationship. you can query the object as well as you can
do DMLs.
A) <apex:pagemessages/>
A) Object references are call by reference and primitive types are call by value.
A) ApexPages.addMessage()
* Deployment Steps
Ans: To reduce the size of the view state in visual force, when we declare a variable as transient it
will not save in the view state.
Ans: Task, Email, Field update, outbound messages, Select existing actions
3. How many ways can you access the controller methods in visualforce?
Ans: No.
Ans: Overriding – Defines a method or property as overriding another defined as virtual in a class
being extended or implemented.
Overloading - same method name with different arguments, may or may not be same return type
written in the same class itself.
Ans: Yes
8. How can you change the public read only to private through the sharing rules?
Ans: No.
Ans: SOAP API: Use the SOAP based force.com web services API to create, retrieve, update or delete
records in force.com from any external system that supports SOAP based web services such as JAVA,
.NET or PHP client applications.
REST API: REST API Provides you with a powerful web services API that you can use to interact with
force.com and database.com.
10. If I have custom objects like A and B, I have 10 users on A and 10 users on B, A users can
access or see the data each other, but B userscannot access the each other data. How can you
do that through OWD?
Ans: Approval Processes are complex business processes that require information gathering and
planning before implementing it.
13. If I have 1000 records inserting the on account how much time trigger fires?
Ans: 5 ways
i. Task
ii. Email
iii. Field update
iv. Outbound message.
v. Select existing action
15. What is trigger.new?
Ans: No
Ans:Public : Defines a method or variable that can be used by any apex in this application or
namespace.
Private: Defines a class, method, or variable that is only known locally, with in the section of code in
which it is defined. this is the default scope for all methods and variables.
Protected: Defines a method or variable that is visible to any inner classes in the defining apex class.
global: Defines a class, method or variable that can be used by any apex that has access to the class,
not just the apex in the same application.
Ans: with sharing : 1. Enforces sharing rules that apply to the current user.
Without sharing: 1. Ensures that the sharing rules of the current user are not enforced.
Ans: batch apex runs in asynchronus mode, future annotation runs in asynchronuous mode, so it is not
possible to write future annotatioon in batch apex
The last 3 digits of the 18 digit ID are a checksum of the capitalizations of the first 15 characters.
The API will accept the 15 digit ID as input but will always return the 18 digit ID.
A: @isTest
A: @isTest(SeeAllData=true)
A: Team Leader.
A: The Data Loader is an easy to use graphical tool that helps you to get your data into Salesforce
objects.
The Data Loader can also be used to extract data from database objects.
You can even use the Data Loader to perform bulk deletions by exporting the ID fields for the data.
11. What are the events in trigger?(like before insert , after update)
A: isBefore,isAfter,isInsert,isUpdate,isDelete,isUnDelete,isExecuting,New,Old,NewMap.OldMap,Size,
Child records do not have Owner fields it takes parents records owner as child records owner.
Look up relationship :
You can use master-detail relationships to model many-to-many relationships between any two objects.
A many-to-many relationship allows each record of one object to be linked to multiple records from
another object and vice versa. For example, you may have a custom object called “Bug” that relates to
the standard case object such that a bug could be related to multiple cases and a case could also be
related to multiple bugs. When modeling a many-to-many relationship, you use a junction object to
connect the two objects you want to relate to each other.
Junction Object
A custom object with two master-detail relationships. Using a custom junction object, you can model a
“many-to-many” relationship between two objects. For example, you may have a custom object called
“Bug” that relates to the standard case object such that a bug could be related to multiple cases and a
case could also be related to multiple bugs.
Customizing the related lists on the page layouts of the two master objects.
The key difference between the two is that the Profile is the users base set of permissions and all users
are assigned to one. A Permission set is just a way to give a user or a set of users extended permissions
without granting them to the entire group of users with a certain Profile.
Now Suppose you want give some extra permission to one of user. You have two options here.
a) To change Profile permissions : By this way those extra permissions will received by every user who is
having that profile
b) Second way is to create a permission set having those extra permission. You need to assign this
permission set to particular user by navigating to User detail page. In this way, you dont have to worry
about other users, as only specific user is getting those extra permissions.
The difference between Profile and Permission Sets is Profiles are used to restrict from something where
Permission Set allows user to get extra permissions.
4. What are record types and when would you use them
Represents the metadata associated with a record type. Record types allow you to offer different
business processes, picklist values, and page layouts to different users
Think there is one company which can manages both software aswell as hardware, for s/w customers I
want to provide one page and for H/w customers I want to provide another page in which some of the
fields are common for both the pages, so I will go for record type concept. I will create one object in that
I will create some fields, after that I will create two pages layouts, one is for s/w and another is for h/w
and I will integrate these two pages to record type.
5.govenor Limits
In my project periodically I will encounter a problems with governor limits, in most of the times I will
encounter a problem with dml operation, In my experience one thing I can say surely that it is always
recomended to skip dml operations in loops, take one list or set or map as per requirment collect all the
data into these collection objects and then atlast update that list or set or map which you choosen so
that u can bypass from governor limits.
6. In one sceanario there is possiblity to complete the task either in coding or throug salesforce
configuaration then which procedure you approach and why?
In this scenario I will go for salesforce configuration because it is always recomended that if it possible to
achive through salesfroce configuration then go through in this way if not then go for coding, becuase
configuration maintaince is easy when compared to coding.
7. In one scenario think that there are two objects A and B, these two objects is in master detail
relationship here is A is master and B is child and In B object record I given A object reference now I
will change the A object record value is it possible or not?
in master detail relation ship one thing you have to keep in mind that we are giving reference it means
we are providing Id values to child object as a reference but not values with these point we can say that
it is possible and the value of b object record is automatically will update.
1. In a trigger there are 1000 records how can you execute 200 records for each batch?
A) The for loop itself handles 200 records for each batch.
2. While importing data using data loader validation rules should be bypassed and for normal users
validation rules should be enforced how can you do that?
3. what are the limitations for triggers?How many mails we can send by using triggers at a time?
A) we can edit the data but we cant edit apex code or visualforce code etc........
5. while importing data from data loader 5 records are imported after a long period of time another
10 records going to import whether trigger execute or not?
A) Yes.
A) dynamic apex: using dynamic apex we can gather what are the objects are available in salesforce.
And
using dynamic apex without using standard controller we can display the standard fields on visualforce
page.
A: Yes.
A: yes.using CommandLineInterface.
13. Are you using any bug tracking tool in your organization?
A: NO.
14. How can you maintain your requirements in your organization, are you using any tool?
15. How many employees are there in your oraganization for sfdc?
A) 3 controllers.
custom controller: A custom controller is an Apex class that implements all of the logic for a page
without leveraging a standard controller.
controller extension: A controller extension is an Apex class that extends the functionality of a standard
or custom controller.
A) No.
A) Yes.
A) Profiles Roles
----------------------------- ------------------------
Profile controls the accessability of data. Role controls the visibility of data.
A) Recursive Trigger: Recursive Triggers occur when one calls another trigger and that trigger in return
calls this trigger again and so on the loops continues
until we hit Governor Limit. The best way to stop this is using a static boolean variable.
7. In a VF page there is one multipicklist, if we choose one value, corresponding section of fields
should dispaly?
A) ActionRegion: Defines an area in a page that defines which components should be processed when
AJAX request generates.
11. In one VF page there are some fields and in another page there are some other fileds and at final
page it should save, how can you do that?
12. Is it possible to pass parameters from one page to another page? A) Yes.
A) If you Declare a variable or method as static we can call these directly using class name.
14. How can you make some fields not visible on a page apart from page layout, fields should be
visible to some users only irrespective of profiles?
A) Permission Sets.
19. Difference between Permissions and access settings for profiles and permission sets?
Ans: Using recordtypes we can assign different pagelayouts different users based on their profiles. and
Ans: through import wizard we can import upto 50,000 records if we want to insert more than 50,000
records then we use dataloader.through dataloader we can import
upto 1 million records.using import wizard we do only insert,upsert but using dataloader we do
insert,update,upsert,export,export all,delete.
Ans: if we want to insert,update,delete more than 50,000 records then we use batch apex.and to
overcome the governor limits we use batch apex.
Ans: we will be taking a class and declare and initialize static boolean varible.based on this we stop the
recursively updated record.
Ans: webservices define static method that is exposed as a webservice method that can be called by
external client applications.
Customer Portal: Customer Portal to maintain the customer details.it is comes under into Service
Cloud.In customer portal by default cases,solutions standard objects displayed.
Partner Portal: what are the objects,permissions available in owner all most those are availble in
Partner Portal.by default in partner portal Leads are displayed.
Ans: remoteaction is annotation.using this the javascript code can call an apex controller method from
visualforce page via javascript remoting.the method must be static and
Ans: using Report Builder we create the reports and using charts we create the dashboards.
3.what is workflow?
Ans: using packages we can send customizations from one org to another org.
11.How to findout the duplicate records in the time of importing data into salesforce? how to detect
that duplicate records?
Ans: using import wizard we can findout duplicate records at the time of importing.
WhatID refers to object type things. That would typically be an Account ID or an Opportunity ID
Check Data Model of task here
28. Where is the option of the report for the “Custom Object with related object” and what are the
condition to generate related reports?
Ans :
If the parent object is the standard object provided by the salesforce like “Account”, “Contact” then the
report will be in there section with related custom object.
If both objects are the custom then the report will be in “Other Reports” Sections.
Following are the conditions to get the report of related objects:
On both the objects, Reports option must be enable.
The relationship between both of them must be “Master – detail relationship”.
Read this article, to get detailed idea on this topic.
29. How you can provide the User Login (Authentication) in Public sites created by Salesforce.
Answer : We can provide the authentication on public sites using “Customer Portal”.
This part of the interview question mainly focus on the dynamic Apex feature of the salesforce.com .
30 : What is the dynamic Apex?
Ans : Dynamic Apex enables developers to create more flexible applications by providing them with the
ability to “Access sObject and field describe information”, “Write Dynamic SOQL Queries”, “Write
Dynamic SOSL Queries” and “Dynamic DML”.
31 : How to get the list of all available sobject in salesforce database using Apex (Dynamic Apex)?
Ans:
1 Map m = Schema.getGlobalDescribe();
32 : How to create instance of sobject dynamically? Normally the sobject is created like “Account a =
new Account();”. But if you are in situation that you don’t know which sobject is going to be
instantiated ? Means it will be decided at runtime, how you will handle it? Hint : Use Dynamic Apex.
Ans:
1 public SObject getNewSobject(String t)
2{
3
4 // Call global describe to get the map of string to token.
5 Map gd = Schema.getGlobalDescribe();
6
7 // Get the token for the sobject based on the type.
8 Schema.SObjectType st = gd.get(t);
9
10 // Instantiate the sobject from the token.
11 Sobject s = st.newSobject();
12
13 return s;
14 }
A Visualforce can have a single Custom controller or standard controller but many controller extensions.
we can say that the custom extension is the supporter of custom or standard controller.
Consider one example : If there is one controller written and used by the multiple visualforce pages and
one of them needs some extra logic. Then instead of writing that logic to controller class (Which is used
by many visualforce pages) we can create a controller extension and apply to that page only.
39 : How to read the parameter value from the URL in Apex?
Ans:
Consider that the parameter name is “RecordType”.
1 String recordType = Apexpages.currentPage().getParameters().get('RecordType');
use?
1.How many ways to call apex class
Ans:6
From another class , From Trigger ,From Visualforce page ,From Developer console
Form JavaScript button, Links ,From Home page components
Static: Static methods, variables, or initialization code are associated with a class, and are only allowed
in outer classes. When you declare a method or variable as static, it's initialized only once when a class is
loaded. Static variables aren't transmitted as part of the view state for a Visual force page.
Instance: Instance methods, member variables, and initialization code are associated with a particular
object and have no definition modifier. When you declare instance methods, member variables, or
initialization code, an instance of that item is created with every object instantiated from the class.
Final: Final variables can only be assigned a value once, either when you declare a variable or in
initialization code. You must assign a value to it in one of these two places.
Methods and classes are final by default. You cannot use the final keyword in the declaration of a class
or method. This means they cannot be overridden. Use the virtual keyword if you need to override a
method or class.
Variable: Varaible value can be change any time. it cant be fix. Ex: Public Integer fstNumber;
Constants: Constant value can not be change. Constants can be defined using the final keyword, which
means that the variable can be assigned at most once, either in the declaration itself, or with a static
initializer method if the constant is defined in a class.
Ex: static final Integer fstNumber=10;
OR
static final Integer fstNumber;
static{
fstNumber=10;
}
5. What is the difference between Public, Private, Global, Abstract, Protected Access Modifiers.
Private: A variable that is only accessible from within the same APEX class or trigger where it was
created.
The variable is only visible locally. This setting is the default if no access modifier is specified.
You can have a class nested within a class. By default, these nested classes are private, meaning they are
only visible within the outer class.
Public : This means the method or variable can be used by any Apex in this application or Namespace.
Global: A variable that is accessible across Namespaces and Applications- a more common use is for
creating APEX
web services that can be consumed via JavaScript Remoting or external websites.
A custom controller is an Apex class that implements all of the logic for a page without leveraging a
standard controller. Use custom controllers when you want your Visualforce page to run entirely in
system mode, which does not enforce the permissions and field-level security of the current user.
A controller extension is an Apex class that extends the functionality of a standard or custom controller.
Use controller extensions when:
You want to leverage the built-in functionality of a standard controller but override one or more
actions, such as edit, view, save, or delete.
You want to add new actions.
You want to build a Visual force page that respects user permissions. Although a controller
extension class executes in system mode, if a controller extension extends a standard controller,
the logic from the standard controller does not execute in system mode. Instead, it executes in
user mode, in which permissions, field-level security, and sharing rules of the current user apply.
In the diagram above the user initially requests a page, either by entering a URL or clicking a link or
button. This initial page request is called the get request.
1. The constructor methods on the associated custom controller or controller extension classes are called,
instantiating the controller objects.
2. If the page contains any custom components, they are created and the constructor methods on any
associated custom controllers or controller extensions are executed. If attributes are set on the custom
component using expressions, the expressions are evaluated after the constructors are evaluated.
3. The page then executes any assignTo attributes on any custom components on the page. After the
assignTo methods are executed, expressions are evaluated, the action attribute on
the<apex:page> component is evaluated, and all other method calls, such as getting or setting a
property value, are made.
4. If the page contains an <apex:form> component, all of the information necessary to maintain the state
of the database between page requests is saved as an encrypted view state. The view state is updated
whenever the page is updated.
5. The resulting HTML is sent to the browser. If there are any client-side technologies on the page, such
as JavaScript, the browser executes them.
As the user interacts with the page, the page contacts the controller objects as required to execute
action, getter, and setter methods.
Once a new get request is made by the user, the view state and controller objects are deleted.
Note: If the user is redirected to a page that uses the same controller and the same or a proper
subset of controller extensions, a postback request is made. When a postback request is made, the
view state is maintained.
Ans:
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.
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.
Self-Service portal
Customer Portal
Web-to-Case form
Email-to-Case message
On-Demand Email-to-Case message
9.What is System Mode and User Mode?
System Mode -: in which the object and field-level permissions of the current user are ignored.
User Mode :in which the permissions, field-level security, and sharing rules of the current user are
enforced.
View state data is encrypted and cannot be viewed with tools like Firebug. The view state inspector
described below lets you look at the contents of view state.
What is Master Detail relationship and look up relationship in Salesforce?
Ans:
Master Detail relationship is the Parent child relationship. In which Master represents Parent
and detail represents Child. If Parent is deleted then Child also gets deleted. Rollup summary
fields can only be created on Master records which will calculate the SUM, AVG, MIN of the
Child records.
Look up relationship is something like “has-a” (Containership) relationship. Where one record
has reference to other records. When one record is deleted then there is no impact on other
records.
1. Master Detail
2. Many to Many
3. Lookup
4. Hierarchical (It is available only on User Object, we cannot create this relationship)
If i want record level access then what should i use from Salesforce security model?
Ans: Manual Sharing
If i want Object level access then what should i use from Salesforce security model?
Ans: Profile
In OWD (Organization wide sharing), can i change the setting “Grant Access Using
Hierarchies” for Standard Objects ?
Ans: You cannot change it for Standard Objects However for Custom Objects its possible.
In case of Master-Detail relationship, on Update of master record can we update the field
of child record using workflow rule?
Ans: No
In case of Master-Detail relationship, on Update of child record can we update the field of
Parent record using workflow rule?
Ans: Yes, the Master fields are also available for “Criteria evaluation”.
While setting OWD (Organization wide sharing), can we change/modify the setting of child
record in case of Master-Detail relationship?
Ans: No, Child record is controlled by the Parents setting.
LOOK_UP RELATIONSHIP:
IN LOOKUP RELATIONSHIP WE CAN DELETE THE PARENT OBJECT IT WILL BE NOT AFFECTED TO THE
CHILD OBJECT.
IN LOOKUP RELATION WE CAN ESTABLISH A RELATION WITH THE 25 OBJECTS.