Friday, 7 March 2014
Wednesday, 5 March 2014
Tuesday, 4 March 2014
History Tracking
- You can select a combination of up to 20 standard and custom fields per object.
- You cannot track the following fields:
- History of formula, roll-up summary, or auto-number
- Created By and Last Modified By
- Expected Revenue field on opportunities
- Master Solution Title or the Master Solution Details fields on solutions; these fields display only for translated solutions in organizations with multilingual solutions enabled.
Convert String to Date format
string
str='7/28/2013'; /*Format must be mm/dd/yyyy
Date
dt=Date.parse(str);
orstring
str='2013/7/28'; /*Format must be yyyy/mm/dd
Date
dt=Date.valueof(str);
string
str='7/28/2013'; /*Format must be mm/dd/yyyy
Date
dt=Date.parse(str);
orstring
str='2013/7/28'; /*Format must be yyyy/mm/dd
Date
dt=Date.valueof(str);
Enabling Bulk API option in Data Loader
The Bulk API is optimized to load or delete a large number of records asynchronously. It is faster than the SOAP-based API due to parallel processing and fewer network round-trips. By default, Data Loader uses the SOAP-based API to process records.
To configure Data Loader to use the Bulk API for inserting, updating, upserting, deleting, and hard deleting records:
- Start Data Loader by choosing Start | Programs | salesforce.com | Data Loader | Data Loader.
- Choose Settings | Settings.
- Select the Use Bulk API option.
- Click OK.
Note: You can also select the Enable serial mode for Bulk API option. Processing in parallel can cause database contention. When this is severe, the load may fail. Using serial mode guarantees that batches are processed one at a time. Note that using this option may significantly increase the processing time for a load.
Mass Email Users
Problem:
Why we get the
following error when sending mail through a class "System.EmailException:
SendEmail failed. First exception on row 0; first error:
NO_MASS_MAIL_PERMISSION, Single email is not enabled for your organization or
profile. Single email must be enabled for you to use this feature.: []"
Solution:
The reasons are :
-Trial accounts
do not allow the use of mass email. You will have to purchase a license to go
live with your org.
-You are
missing a permission in the backend and must log a case with Salesforce support
to enable "Respect SendEmail API" and "SendEmail API".
-The access
level might have been set to "system e-mails".
In setup |
Administration setup | Email Administration | Deliverability, verify if the
access level is set to "All e-mails".
The e-mail
deliverability is a new feature released in spring 13 and as per the release
notes, all newly refreshed sandboxes default to "system email only"
Page number 46 in the
link below :
https://na1.salesforce.com/help/doc/en/salesforce_spring13_release_notes.pdf
Saturday, 1 March 2014
User account Freezing
Freezing :-
It means temporarily suspend a user account, So He/She not able to access your Salesforce org once they left the organization and you need more time to deactivate user account.
Explanation : -
We cant deactivate users account immediately once user left the organization. Some time we have requirement to deactivate user but that user may be selected in workflow email alert, custom hierarchy field or some where else in this case you need to perform some extra steps, may be it take few minutes to few hours but it may possible user can access your Salesforce org even he/she left the organization. So from Winter 14 release salesforce come up with an feature called as “Freeze” users.
Freezing user accounts doesn’t make their user licenses available for use in your organization. You must deactivate user accounts to make their user licenses available.
Steps to freeze :-
To freeze user’s account follow the below instruction :-
It means temporarily suspend a user account, So He/She not able to access your Salesforce org once they left the organization and you need more time to deactivate user account.
Explanation : -
We cant deactivate users account immediately once user left the organization. Some time we have requirement to deactivate user but that user may be selected in workflow email alert, custom hierarchy field or some where else in this case you need to perform some extra steps, may be it take few minutes to few hours but it may possible user can access your Salesforce org even he/she left the organization. So from Winter 14 release salesforce come up with an feature called as “Freeze” users.
Freezing user accounts doesn’t make their user licenses available for use in your organization. You must deactivate user accounts to make their user licenses available.
Steps to freeze :-
To freeze user’s account follow the below instruction :-
- Click on Name | Setup | Administration Setup |Manage Users | Users.
- Click the name of the user whose account you want to freeze.
- Click Freeze button beside login.
Subscribe to:
Posts (Atom)