Wednesday 22 January 2014

Salesforce Admin 201 Exam Guide & Questions

This materiel are very useful, it’s fully topic based hints.
Sample Question and hints for 1st chapter from admin book are 

---------->>>> To Download a complete document click this link Admin Exam Guide  <<<<-------------

Chapter 1
Organization and Administration

1. You can Add Login Hours and Login IP Ranges below to any profile.
1. Login Hours holds you can access your account with the specified time period.
2. Login IP Ranges allows only access your account with the specified IP Range.

2. Security Control à Network Access à Trusted IP Ranges
If you added Trusted IP Range Users logging in from trusted IP addresses are not asked to activate their computers 

3. Verification code only valid up to 24 hours
4. When the user password changed, the Security Token will be automatically reset.
5. Fiscal Year:
            1. Standard Fiscal Year
            2. Custom Fiscal Year
v  Enabling custom fiscal years is not reversible. After enabling custom fiscal years, you cannot revert to standard fiscal years.
v  Custom fiscal year, you can create a 13-week quarter represented by three periods of 4, 4, and 5 weeks, instead of calendar months.

6. Locale and Time Zone:
v  Individual users can set their own locale which will override the Organization - wide setting

v  You can change your desired language.

v  Default locale: The default locale setting affects the format of date, date/time, and number fields.

v  For example, a given date in the English (United States) locale would appear as 07/27/2012, and in the English (United Kingdom) locale as 27/07/2012.

v  Time in the English (United States) locale is displayed using a twelve hour clock with AM and PM (for example, 3:00 PM), whereas in the English (United Kingdom) locale, they display using a twenty-four hour clock (for example, 15:00).

v  To set Currency Locale in your organization go to Company Profile à change currency locale.


---------->>>> To Download a complete document click this link Admin Exam Guide  <<<<-------------




Friday 3 January 2014

Simple trigger to Update Child records in Salesforce

Problem: 

Whenever account record Description field is updated the corresponded contacts records Description fields should be updated.

Solution:

  1. trigger contactUpdate on Account (after insert,after update)
  2. {
  3.     List<Contact> conList =  [Select Id,Name,AccountId, Description from Contact where AccountId in: trigger.oldmap.keyset()];
  4.    
  5.     for(Contact con : conList)
  6.     {
  7.         Account relatedAccount = trigger.newmap.get(con.AccountID);
  8.         con.Description= relatedAccount.Description;
  9.     }  
  10.     update conList;
  11. }

Activities: Assign Tasks to a Queue Salesforce Lightning

Salesforce announced to assign Tasks to a Queue beginning from Spring'20 release. How does it work? In Setup, enter Queues in th...