Thursday, 11 October 2012
What is MVC Architecture of Salesforce?
Ans:-
This will be a very high level introduction to salesforce and its capabilities . In my opinion, the reason for salesforce to become so popular in a short duration of time is the fact that it is a cloud based application. The puts salesforce at a huge advantage over other extremely successful CRM tools like Siebel. The trend seems to be catching up and it is in someways alarming to see the pace at with Salesforce is capturing the CRM market. Being a Multitenant application, Salesforce is able to integrate new features directly into the customers application without asking for the customer to upgrade or install anything. No doubt there are a lots of issues that Salesforce still needs to address. Many of my colleagues have come across many bugs with Salesforce and furthermore it is evident that being a shared application, there a limitations in the flexibility that Salesforce can provide as compared to other legacy applications like Siebel. This is one of the main reasons why many companies are reluctant to make a switch to Salesforce. Security and the cost of the applications are other reasons. There have been instances of phishing attack on salesforce customers and also it is quite well known that swithing to salesforce could be heavy on the pocket for a small or medium size enterprise. All said and done it is an extremely promising technology and I wouldn't think twice about investing my time learning it. Plus I find the interface very user friendly and they are always coming up with new enhancements. My favorite aspect about Salesforce is the fact that it is documented really well ( perhaps because it is so new) and also the ideas and discussion boards are great with really talented developers and moderators. I would bet on salesforce to be the next big change in the CRM world atleast for the next few years.
What is the difference between a isBLANK and an isNULL?
Ans:-
Both same thing. The problem is that salesforce made isNULL but it could not check if a blank text field is null. So it used for work for most data types but not strings. So they invented IsBLANK that is capable of checking if string is empty or not. Remember however that even a space or colon is considered as not empty. Anyway in future it is always recommended that we use isBlank.
Both same thing. The problem is that salesforce made isNULL but it could not check if a blank text field is null. So it used for work for most data types but not strings. So they invented IsBLANK that is capable of checking if string is empty or not. Remember however that even a space or colon is considered as not empty. Anyway in future it is always recommended that we use isBlank.
What is the difference between a cross object formula and a roll up summary?
Ans:-
There are many but the main one ofcourse if that a cross object formula references fields of its parent records to perform various operation and return a result where as a roll up summary calulates the Count, sum,max, min of some fields in the child records. Also , a roll up summary is not actually calculated and stored in the database. It is calculated only at run time. Were as a formula is calculated and stored like any other field. There are a some more but these are the cream of the cake .
Thursday, 6 September 2012
Test Class?
What is Test Class?
Ans:-
To facilitate the development of robust,
error-free code, Apex supports the creation and execution of unit tests.
Unit tests are
class methods that verify whether a particular piece of code is working
properly.
Unit test methods take no arguments, commit no data to the database,
send no emails, and are flagged with the testMethod keyword in the method definition.
Test
methods cannot be used to test Web service callouts. Web service callouts are
asynchronous, while unit tests are synchronous.
Batch Class?
What is Batch Class?
Ans:-
A developer can now employ batch Apex to build complex, long-running
processes on the Force.com platform. For
example, a developer could build an archiving solution that runs on a nightly basis,
looking for records past a certain date and adding them to an archive. Or a
developer could build a data cleansing operation that goes through all As ccounts and
Opportunities on a nightly basis and reassigns them if necessary, based
on custom criteria.
Batch Apex is exposed as an interface that must
be implemented by the developer. Batch jobs can be programmatically invoked at
runtime using Apex.
1.
Start method-
global (Database.QueryLocator | Iterable<sObject>)
start(Database.BatchableContext bc) {}
2. Execute method:
global void
execute(Database.BatchableContext BC, list<P>){}
3. Finish method
global void
finish(Database.BatchableContext BC){}
Workflow in Salesforce?
What is Workflow in salesforce
or Why use?
Ans:-
workflow is an automated process rule.
This rule to perform when a record created and edited to check the specific
criteria.
What is Immediate Workflow Actions ?
Ans:-
1. New
Task Create 10
2. Field
Update 10
3. Email
Alert 10
4. Outbound
Messages 10
What is Time Dependent Work Flow?
Ans;-
Time-dependent actions that queue when a
record matches the criteria, and execute according to time triggers. For
example, salesforce.com can automatically send an email reminder to the account
team if a high-value opportunity is still open ten days before the close date.
Time Dependent Work flow does not follow the every time a record is created or edited workflow Evaluate Rule.
What is Approval Process?
Ans:-
Approvals are complex business processes this
rule to perform when a record approve or Rejected to Hierarchal Role User to
check the special Criteria. To create a new approval process, click Create New Approval
Process then select Use Jump Start Wizard to set up your approval process in a
few short steps. Or, select Use Standard Wizard to configure all approval
options.
Approval Process Step type:-
1.
Initial Submission Action
2.
Final Approval Action
3.
Final Rejections Action
4.
Recall Actions
What is Validation Rules?
Ans:-
Validation
rules help improves data quality by preventing users from saving incorrect
data. You can define one or more validation rules that consist of an error
condition and corresponding error message. Validation rules are executed at
record save time. If an error condition is met, the save is aborted and an
error message displayed.
Example:-
1.
Make fields conditionally required, depending on the value of
another field.
2.
Ensure that numbers are within a specified range, such as discount
is less than 30%.
3.
Enforce that date fields are the correct chronological sequence,
such as start date is before end date
What is Workflow Evaluate Rule ?
Ans:-
1. When a record is created, or when
a record is edited and did not previously meet the rule criteria.
2. Only when a record is created.
3. Every time a record is created or
edited.
Lead Object ?
What is Lead in salesforce or What is Lead Object in salesforce?
Ans:-
When a lead is created in
Sales force CRM, information about the interested person is stored in the lead
object. In addition to moving lead information to the contact object, the app creates
two additional objects: an account object and an opportunity object.
The account object
holds all the information about your customer in essence, it becomes the
central object.
The opportunity object
becomes part of the sales pipeline, which makes it possible to track the deal
as it moves through the pipeline.
Reps can attach
additional contacts and opportunities to accounts or additional contacts to
opportunities.
Example :- ABC Company ( account)
may be associated with several employees at ABC Company (contacts) as well
deals in progress for different products (opportunities).
Subscribe to:
Posts (Atom)