Pages

Sunday, September 27, 2015

Dreamforce '15 Experience Through My Lens


Dreamforce 15 has been over, a week with thousands of sessions, hands-on training, keynote, networking, cloud expo, and parties went fast. But what dreamforce mean for me? It's a great experience, great atmosphere, great energy, it's like you are a fan of a rock band, and you fly over 20 hours to watch their show, when it finish, you feel re-charge full of energy and you know you will back next year.

The experience and atmosphere is always great, once you landed in San Francisco International airport. Not only of the nice weather in the bay area, start from the immigration officer who asked if you are coming for Dreamforce? Your Uber taxi driver asked the same question. The city of San Francisco decorate with Salesforce blue color, from advertisement board, rickshaw, and people walking around city with blue lanyard and common backpack.

Instead of typing Dreamforce experience in words, people say that pictures say thousands of words. So, let's begin:




It is HUGE
  • 170,000 attendees
  • 78 countries
  • 1,600 sessions
  • 400 partners expo
  • Over 1,000,000 books donated




Networking

with awesome @crmsalesgem


thanks @hollygoldin for MVP program at #DF15

with the wizard @kwongerific

the Trailhead Developer Advocate @jeffdonthemic


Keynotes

Stevie Wonder open the keynote

the future of customer success keynote by @benioff

Sales Cloud keynote

Sales Cloud lucky winner

Admin keynote

Heart & Soul of Salesforce @ admin keynote


Firechat

UBER CEO - very inspirational gentleman


Satya Nadella - partnership with Microsoft


Products / Features

IoT cloud

SalesforceIQ

Lightning Experience UI


Admin Zone

Dept. of #AwesomeAdmin

#AwesomeAdmin

Staffing Admin Booth


Trailhead & Hack HQ

Learn Salesforce with Trailhead

Complete the Hack for Swag


Cloud Expo


@SamAchuff in action


Dreamfest

Gary Clark Jr, The Killers, Foo Fighters





Dreampark


Enjoying keynote from Dreampark




Dreamstore

My book for 20% off



Dreamboat




Salesforce MVP


Reserved Seat for Keynotes

Dreamboat party


Thank You !






Reference:


Friday, September 25, 2015

Salesforce: Opportunity Stage Aging

Background: sales operation would like to analyze how long a stage stay in an Opportunity.

Solution: use Opportunity History report.

Read this blog to refresh what is Opportunity History report. Let us take a sample using Opportunity History report, although this is not a great sample because Stage has changed to close, back to open again, and finally close again.


Above screenshot is taken from Opportunity related list Stage History, let us analyze changes happened in that Opportunity:
  1. Opportunity created with stage = Prospecting 
  2. Amount change to $600.00
  3. Stage change to Closed Won and Amount to $610.00
  4. Amount change to $48,000.00
  5. Stage change from Closed Won to Qualification
  6. Stage change from Qualification to Needs Analysis
  7. Close Date changed
  8. Stage change to Close Won and Close Date also changed
  9. Close Date changed again
Now, how it looks in the Opportunity History report:


It show exact the same value from the related list to report, except there are more information in the report:
  1. From Stage
  2. To Stage
  3. Stage Change
  4. Stage Duration

We can use those fields as the filter as required. If we look back to initial requirements, we can use Opportunity History with filters below:


This report will only show rows with stage change and not upon opportunity creation. Using Stage Duration, it will auto calculate how many days that opportunity stay at that Stage.




Tuesday, September 8, 2015

Salesforce: Custom Setting Deployment

Almost 2 years ago, we discussed about Custom Setting introduction in this blog. Today, we are going to discuss on how to deploy Custom Setting from an organization or other organization.

As admin, you can use Change Set to deploy Custom Setting, all Custom Fields within particular Custom Setting will be deployed into new org. However, all data in the Custom Setting will be not copied in the target org.


When you have only 2 or 3 data in custom setting, manually re-create the data in target org is not an issue, but when you have 20 or 50 or even more, manually re-create the data is not efficient and prone to error.

Fortunately, Salesforce allow us to query the Custom Setting, export and insert them just as you do with a Standard or Custom Object. Once the Change Set deployed, the Custom Settings and the Custom Fields are created in the target org, then use Data Loader to export the data from source org and insert into target org.

In this example, I have a Custom Setting called Country (the API name will be similar with custom object with suffix __c).


With developer workbench, we can see Custom Setting similar with object with customSetting attribute = true.


Compare to custom object below, where customSetting attribute = false.



Query Custom Setting: SELECT Id,Name,Country_Name__c,Country_Code__c FROM Country__c


The same values show in Custom Setting List View:




Reference: Salesforce Custom Setting



Thursday, September 3, 2015

Salesforce Login Security

Without SSO (Single Sign On), login from Salesforce only required username and password (username need to be in the format of email address, but may different with email address). But Salesforce give additional security when user login that many admins not aware .

IP Ranges
There are 2 type of IP ranges we can define in Salesforce:

1. Login IP Ranges Restriction in Profile 
When IP ranges is added to profile, user assigned with that profile login NOT from defined IP ranges will be denied. User will see standard error message: Your login attempt has failed. The username or password may be incorrect, or your location or login time may be restricted. Please contact the administrator at your company for help.
But admin will notice it in login history with Status = Restricted IP

Note: even if user IP address is in the range of Trusted IP Address (see point 2. below) but not in Login IP ranges (if defined), user still will not able to login and get the same error message.


2. Trusted IP Ranges in Network Access

This setting will be apply to all users. Users logging in from trusted IP addresses are not asked to activate their computers. User just need to enter their password without additional security token to log in to the API or a desktop client such as Connect for Outlook, Connect Offline, Connect for Office, Connect for Lotus Notes, or the Data Loader.

Here is schema copy from Salesforce on the login process to Salesforce.com:



Identity Verification
If you see above diagram, Salesforce will verify the user if never login from an IP address and not in trusted ranges. This additional verification is enhance security on login process. There are 2 methods of verification:

1. SMS
This feature is turned on by default. You can find this in Setup | Security Controls | Session Settings, look for Enable the SMS method of identity confirmation in Identity Confirmation section. To deactivate this, you need to contact Salesforce support.

If admin do not enter mobile number when create the user account, when user login to Salesforce for the 2nd time (the 1st login will ask to change password), they will be asked to enter mobile number. But, user can opt-out from this feature, by click No thanks.


If user click Remind me later, user will be asked to enter mobile number again.


2. Email
For user opt-out from SMS, they will receive the pass code in email for identity verification.


You also can limit all access to Salesforce to only to those IPs in Login IP Ranges. For example, a user logs in successfully from an IP address defined in Login IP Ranges. The user then moves to a different location and has a new IP address that is outside of Login IP Ranges. When the user tries to access Salesforce, including access from a client application, the user is denied. To enable this option, navigate to Setup | Security Controls | Session Settings and select Enforce login IP ranges on every request. This option affects all user profiles that have login IP restrictions.


Reference:


Page-level ad