How Does Apex Work?
All Apex runs entirely on-demand on the Force.com platform, as shown in the following architecture diagram:
When a developer writes and saves Apex code to the platform, the platform application server first compiles the code into an abstract set of instructions that can be understood by the Apex runtime interpreter, and then saves those instructions as metadata.
When an end-user triggers the execution of Apex, perhaps by clicking a button or accessing a Visualforce page, the platform application server retrieves the compiled instructions from the metadata and sends them through the runtime interpreter...
Thursday, March 6, 2014
Wednesday, March 5, 2014
Salesforce Custom Settings
Salesforce Custom Settings
Although Custom Setting is similar with Custom Object, but they are
different and for totally different usage. Custom object used to store
all data within Salesforce for any transactions, it works similar with
standard object, such as: Account, Contact, Opportunity, etc and you can
create custom tab for that object.
While custom setting used to store application configurations, such as:
value based on each application type or user. You cannot put custom
setting data into Salesforce page layout directly as custom object. But,
to access custom setting data, you need to access it from: Formula fields, Validation rules, Workflow rules, Apex class, and SOAP API.
There are 2 type of custom setting: List and Hierarchy. Formula field, Validation rule and Workflow...
How Deploy Salesforce Profiles using Change Set?
How Deploy Salesforce Profiles using Change Set
Is it possible to deploy Profile using Change Set?
My experience in deploying Salesforce Profile using Change Set is very
challenging (even using Force.com IDE). As of current Salesforce release
(Winter '14), this feature is still very primitive, a few areas still not deployed properly and require manual configuration in Target instance:
Standard Object Layouts
Custom Object Layouts
Field-Level Security
Custom App Settings
Tab Settings
Record Type Settings
Standard Object Permissions
Custom Object Permissions
Apex Class Access
Visualforce Page Access
Below items will always deploy properly (overwrite target profile) when you add User Profile in 'Profile Settings For Included Components' :
Administrative Permissions
General...
Find email template associated to which email alerts

Find email template associated to which email alerts
This blog in particular is about how to know which email template is associated to which email alerts.
Imagine if you have thousand of email templates created over years by
users, how do you able to track if an email template is used in which
email alerts of workflow?
Here are the steps on how to create a list view under email alerts:
Click your name and click on Set Up.
Under workflow and approvals click on Email Alerts
On email alerts click on Create New View
From the filters on the view, select Email Template Name field and type in the Email Template Name you would like to...
Tuesday, March 4, 2014
Build Your First Native Android App in Salesforce
Build Your First Native Android App in Salesforce.
...
Intro to Salesforce Mobile SDK: Building Hybrid Apps in Salesforce Webinar
Intro to Salesforce Mobile SDK: Building Hybrid Apps Webinar
...
Hands-on Training: Build your First Mobile SDK App
Build your First Mobile SDK App in Salesforce.
...
Introduction to Developing Android Apps With the Salesforce
Introduction to Developing Android Apps With the Salesforce
...
Developing Offline Mobile Apps With Salesforce Mobile SDK
Developing Offline Mobile Apps With Salesforce Mobile SDK
...
Create a Hybrid Mobile App With the Salesforce Mobile SDK
Create a Hybrid Mobile App With the Salesforce Mobile SDK
...
Creating a Record Type and Page Layout in Salesforce.com
Creating a Record Type and Page Layout in Salesforce.com?
...
Project Management in Salesforce: How to Prioritize Projects
Project Management in Salesforce: How to Prioritize Projects in Salesforce
...
Hands-on Training: Make the Connection - Salesforce for Outlook
Hands-on Training: Make the Connection - Salesforce for Outlook
...
Understanding Multitenancy and the Architecture of the Salesforce
Understanding Multitenancy and the Architecture of the Salesforce
...
Hands-on Training: Get Started with Service Cloud Administration
Get Started with Service Cloud Administration
...
Hands-on Training: Get Started with Sales Reports and Dashboards
Hands-on Training: Get Started with Sales Reports and Dashboards
...
Hands-on Training: Extend Reports w/ Buckets, Cross Filters & and Joined Format
Hands-on Training: Extend Reports w/ Buckets, Cross Filters & and Joined Format
...
Salesforce: Notes and Attachments

Salesforce: Notes and Attachments
Notes and Attachments is not a new thing in Salesforce. I also do not
see any enhancements in last few Salesforce release. But, for some
users, Notes and Attachments still a nice feature and frequently used.
Here a few facts on Notes and Attachments good to remember:
It is not possible to report on the Notes and Attachments related list.
The Notes & Attachments can be exported directly via the API.
It is possible to access your Notes & Attachments data by requesting a full data export of your organization's data.
The only way to get attachment on an Salesforce email to Attachment
is to...
Monday, March 3, 2014
Interview Questions Part 1
Q). What is Public cloud and Private Cloud?
Ans).
Public Cloud: Could services are provided "as a service" over the Internet with little or no control over the underlying technology infrastructure. More than one tenant can use the same resources.
Private Cloud: This also offers activities and functions "as a service" but is deployed over a company intranet or hosted datacenter. This is private product for a company or organization offering advance security.
Salesforce.com: Is a public cloud as it is hosted on salesforce.com data centers and data of more than one tenant resides on same servers....
Sunday, March 2, 2014
Cannot send email from Salesforce Sandbox

Cannot send email from Salesforce Sandbox
If you just create new sandbox or refresh a sandbox Sandbox, you will
not able to send email: manually, from workflow or from apex code. This
is because since Spring '13 release, Salesforce has change email
deliverability to System email only.
You can change the email deliverability to All email from Setup > Email Administration > Deliverability.
If system administrator have not change email deliverability, user will not see Send an Email button in Contact, Lead or Case related list, although it is has added to the object related list page layout.
From Workflow or Auto-Response...
Saturday, March 1, 2014
Hands-on Training: Get Started with Sales Cloud Administration
Watch this video and get started with sales cloud administration
...