Pages

Friday, January 1, 2016

SimplySfdc in 2015



We just close 2015 and welcoming 2016. I would like to share some interesting statistics for SimplySfdc blog on 2015, a blog dedicated to all Salesforce users around the world. Happy New Year 2016!

In 2015, less blog written (26% less new blog), but the pageview only down more than 5%, while total session down less than 2% only.

Page
2015
2014
change
Total New Page
             80
          108
-25.93%
Total Pageviews
  148,130
  156,448
-5.32%
Total Sessions
  123,964
  126,438
-1.96%
Pages / Session
         1.19
         1.24
-3.43%


Less traffic (5%) come from search engine, this blog become more known with 24% increase of direct hit to the blog. Interesting to know that more visitors know this blog from referral with increase of more than 154%, while social contribute almost stay the same with 2014.

Channel Source
2015
2014
overall
by number of sessions
Organic Search
82.98%
87.73%
-5.41%
-7.26%
Direct
10.58%
8.48%
24.76%
22.34%
Referral
4.33%
1.70%
154.71%
149.23%
Social
2.12%
2.10%
1.02%
-0.94%
* overall mean percentage of the item compare of total in 2015
* by number of sessions mean percentage of the item compare to 2014 sessions


This year, I see less search engine coming from Google (2% down), while Bing and Yahoo still at their place but get significant increase on overall. This top 3 search engine contribute 99.9% of all total search engine and do not change much compare to 2014.

Top Search Engine
2015
2014
overall
by number of sessions
Google
96.47%
98.64%
-2.20%
-9.31%
Bing
2.02%
0.91%
121.98%
106.66%
Yahoo
1.40%
0.36%
288.89%
261.90%
total 3
99.89%
99.91%


In terms of social media, although I am not in Stack Exchange, but somehow this site come as as the top contributor from social media. Facebook jump 444% compare to 2014 as contributor for traffic to the blog from social media. Sum up of top six social media contribute almost 98% of total social media referrer site.

Top Social Media Source
2015
2014
overall
by number of sessions
1. StackExchange
21.04%
21.78%
-3.40%
-3.42%
2. LinkedIn
20.54%
17.14%
19.84%
19.85%
3. Google+
19.36%
26.24%
-26.22%
-26.91%
4. Twitter
15.40%
14.23%
8.22%
8.18%
5. Blogger
13.45%
16.69%
-19.41%
-19.37%
6. Facebook
8.00%
1.47%
444.22%
438.46%
total top 6 social media
97.79%
97.55%


There is not much change for country of visitors, US visitors still dominant for more than 45%, although in overall user from US increase by 0.09%, but if count by number of users, it down by 1.87% compare to 2014. There in no change in the top 3 countries: US, India and UK. While Australia and Canada change position in top 4 and 5 spot, also France and Germany change position at 6 and 7. Top six countries represent almost 80% of the blog visitors.

Top Visitor Country
2015
2014
overall
by number of total user
1. United States (#1~2014)
45.26%
45.22%
0.09%
-1.87%
2. India (#2~2014)
20.96%
20.99%
-0.14%
-2.10%
3. United Kingdom (#3~2014)
5.96%
6.60%
-9.64%
-11.41%
4. Australia (#5~2014)
2.91%
2.92%
-0.34%
-2.33%
5. Canada (#4~2014)
2.74%
3.03%
-9.57%
-11.37%
6. France (#7~2014)
1.94%
1.79%
8.38%
6.14%
total top 6 countries
79.77%
80.59%*
* total 2014 consist of US, India, UK, Canada, Australia, and Germany (1.83%), France not count


From cities perspective, no change at top 5 cities compare to 2014, although number of users visit the blog for each cities down between 0 - 15%. For spot no 6, we see Pune jump with more than 80% increase and take over Chennai from 2014. Top 6 cities represent more than 20% of the blog visitors.

Top Visitor City
2015
2014
overall
by number of total user
1. Bangalore (#1~2014)
5.93%
5.80%
2.23%
-0.23%
2. Hyderabad (#2~2014)
3.61%
3.78%
-4.54%
-6.41%
3. San Francisco (#3~2014)
3.51%
3.42%
2.58%
-0.58%
4. London (#4~2014)
3.20%
3.30%
-3.11%
-5.01%
5. New York (#5~2014)
2.56%
2.92%
-12.43%
-14.14%
6. Pune (#13~2014)
1.88%
1.02%
84.33%
80.73%
total top 6 cities
20.69%
21.00%*
* total 2014 consist of Bangalore, Hyderabad, San Francisco, London, New York, and Chennai (1.78%), Pune not count


There is no changes in top 5 web browsers which contribute more than 99% of the visitors. This statistic include access from desktop and mobile, where Chrome and Safari getting stronger among visitors, while Firefox and Internet Explorer slowing down. Opera still stay as the minority contribution.

Top Visitor Web Browser
2015
2014
overall
1. Chrome
74.46%
70.11%
6.20%
2. Firefox
12.60%
16.31%
-22.75%
3. Internet Explorer
6.59%
7.96%
-17.21%
4. Safari
5.31%
4.57%
16.19%
5. Opera
0.46%
0.48%
-4.17%
total top 5 web browser
99.42%
99.43%


In terms of operating system, Mac OS get more than 5% increase, while access from mobile almost increase by 50% for both iOS and Android. but mobile access in total still less than 5% of visitors. iOS users almost reach 68%, while total Android users only more than 32%. This is make sense because most of visitors access this blog when they have difficulty in configuring Salesforce.

Top Visitor Operating System
2015
2014
overall
Windows
77.21%
79.73%
-3.16%
Macintosh
16.33%
15.48%
5.49%
iOS
3.37%
2.26%
49.12%
Android
1.60%
1.07%
49.53%
Linux
1.24%
1.30%
-4.62%
total 5
99.75%
99.84%


There is not much different in the top visitor screen resolution, 1366 x 768 is standard notebook screen resolution nowadays. While 1920 x 1080 which is standard resolution for LCD monitor, get a big jump for more than 16%, in contrary 1280 x 1024 which is older standard resolution for LCD monitor drop around 25%.

Top Visitor Screen Resolution
2015
2014
overall
1366 x 768
27.01%
26.91%
0.37%
1920 x 1080
20.58%
17.72%
16.14%
1440 x 900
9.65%
9.87%
-2.23%
1600 x 900
9.53%
9.62%
-0.94%
1280 x 1024
5.52%
7.33%
-24.69%
total 5
72.29%
71.45%


Top 5 Popular Page
For popular pages, 4 of 5 pages from 2014 still stay in 2015, except 1 page jump from spot 6 to 1.
1. Salesforce SOQL query LAST_WEEK ; LAST_N_DAYS:n ; N_DAYS_AGO:n (#6 in 2014)
2. Salesforce: ISBLANK() or ISNULL() (#3 in 2014)
3. Salesforce: Custom Button to pre-populate Fields (#2 in 2014)
4. Salesforce: How to export Attachments ? (#5 in 2014)
5. Salesforce SOQL Query (#1 in 2014)


Top 5 Referring Page
1. Salesforce: Master-Detail relationship
2. Query Chatter Feed Item & How the structure in Salesforce object
3. Salesforce: Serial and Parallel Approval
4. Record Type in Salesforce.com
5. Salesforce: Custom Button to pre-populate Fields


Top 5 Referred Page
1. Cloud Socius
2. Stack Exchange
3. Cloud Socius
4. Stack Exchange
5. Stack Exchange
 

Reference: SimplySfdc in 2014




Saturday, December 26, 2015

Salesforce: Change Record Owner


In general, to transfer a record from a user to you or to someone else in Salesforce, you need to have following access or permission:
  • you are the record owner and you have Edit permission on the object, or
  • record owned by a user under you in the role hierarchy (Grant Access Using Hierarchies must be enabled for that object) and you have Edit permission on the object, or
  • you have Transfer Record permission and Edit permission on the object, or 
  • you have Modify All permission for the given object, regardless of who owns the record, or
  • you have Modify All Data permission, regardless of who owns the record.
If you see above criteria's, having edit access on a record doesn't mean you will be able to transfer a record you can edit. If you click Sharing button on the record, it will show the explanation of Access Levels:
  • Full Access - User can view, edit, delete, and transfer the record. The user can also extend sharing access to other users.
  • Read/Write - User can view and edit the record, and add associated records, notes, and attachments to it.
While using sharing rules in OWD, we cannot share object access to Full Access.


Transfer Record Permission
For a user with Transfer Record permission, but no Edit permission on record (not on the object):
- will be able to change the owner from Change Owner link from record page
- will be able to change the owner from list view (for Lead and Contact)
- will be able to mass transfer record using "Mass Transfer Records" from the setup menu

With this, it is clear that transfer record owner does not relate with edit record permission, but related with edit object permission.


Summary: user with "Transfer Record" permission allowed to transfer ALL records, as long as the user has Edit permission to the object. Read again here "edit on object" NOT "edit on record", this means, the user will be able to transfer record owner even user do not have Edit access to that record.

Transfer Record permission will include Transfer Case and Transfer Lead permission.


A special case to transfer Campaign, users must also have the "Marketing User" checkbox selected on their user record.

Use Case: allow a user to change owner as long as the user has edit access to the record, edit access may be given from OWD sharing rules or manual sharing.

Solution: based on the above criteria, this use case doesn't fit any criteria. In short, we need to customize with write trigger to query to object UserRecordAccess, example: SELECT RecordId, HasEditAccess FROM UserRecordAccess WHERE UserId='00590000000OoB0AAK' and RecordId='00690000005vUbw' and "Transfer Record" permission must be given to that users.

Other Solution: this may be not an ideal solution, but if you do not have developers to write a trigger, you can use validation rules based on conditions from user object, example: users located in West area only allowed to transfer record owned by users in the same West area, sample validation rule:
TEXT($User.Area__c) <> PRIORVALUE(Owner.Area__c) || 
TEXT($User.Area__c) <> Owner.Area__c 

** this validation rule will stop user to edit record if the record owner is not in the same Area with the user, or the prior record owner is not in the same with user's Area.



Reference:
Blog last modified date: 23 Oct 2016

How to log Case to Salesforce support

Two months ago (around late Oct 2015 - after Winter '16 release), Salesforce change Help and Training portal to a whole new experience. There are 4 main areas improvement in the new portal:
1. Mobile friendly: open web browser from Tablet and smart Phone.
2. My Success Hub: Dashboard, Open and Closed Cases, Training, and Contact Us.
3. Help Finder: Step by Step guided experience with answers at every corner, this is good for user to have self-service.
4. Auto complete Search: based on multiple sources, portal will auto complete and recommend question you may ask.

But, somehow for experience admins or consultants who familiar with the system, to log a case become another challenge. In earlier new version, it buried somewhere under "click here" link - explained by this article Submit, create or update a case with Salesforce Support. This week (before Christmas 2015), we see a newer version released again (2 months after initial portal released), so above article become no longer valid.

So, as of today 26 Dec 2015, here is the step by step on how to log Case to Salesforce support. After click Help & Training link at top right in Salesforce.com

1. Click Contact Support


2. Select a Topic


3. Select a Category


4. Log a Case 
You will see Log a New Case big icon, if you do not see that icon here, it may depend on your level support or Category you choose, you may not see the icon here, continue to step 5 below.



5. Select a Question 
If you do not see the icon at step 4, click a Question (in gray cell), this will bring you to Solution tab. Look for the icon below.



If you not so happy with the new portal, feel free to vote for this idea to have easier way to log a Case, maybe from My Success Hub.


Reference:



Wednesday, December 23, 2015

Salesforce: Sending email using other email address

In previous blog, we discussed about issue with noreply@salesforce.com in Microsoft Outlook when Sender ID compliance is enabled. In this blog, we would like to discuss if Salesforce users need to send email as other email address or a team mailbox from Salesforce.

This is standard Send an Email screenshot:



There are 2 options to send email using other email address:

1. My Email Settings
This is option is more for personal usage or need to do by each users if need to do by a team.
  • Navigate to Your Name | My Settings | Email | My Email Settings
  • Change "What email address would you like to use as your return address?" to the new email address.

Salesforce will send an email for verification to that email address and you need to click the link in that email.



Once verification done, you will notice there are option for you to select a sender email address when compose email from Salesforce, so when recipient reply the email, it will sent to which email address you select.



2. Organization-Wide Email Addresses
This option is for setting additional email address for whole Salesforce users or by Profiles.
  • Navigate to Setup | Email Administration | Organization-Wide Addresses
  • Add Display Name, Email Address, select either visible for all users (All Profiles) or certain Profiles only.


Same with My Email Settings (point 1 above), Salesforce will send email for verification before it will be available to users.

Once verified, notice additional email available in From when you Send Email from Salesforce.




Salesforce: noreply@salesforce.com on behalf of

When you send email from Salesforce, for recipient open the email sent with Microsoft Outlook, the may see the sender as noreply@salesforce.com on behalf of Sender FirstName LastName <emailaddress@domain.com> rather than your name and your email address.


But, when recipient hit reply in Microsoft Outlook, it will point the email to "the right email address" of the sender, not to no-reply@salesforce.com



When recipient open the same email not with Microsoft Outlook, example: using gmail.com, the sender "noreply@salesforce.com on behalf of" is not there. Salesforce is not adding that into the email, that is caused by the email client, which is specific to Microsoft Outlook. Below is screenshot from other email client:



To remove "noreply@salesforce.com on behalf of" follow these steps:
  • Click on Setup | Email Administration | Deliverability 
  • Locate the Email Security Compliance section
  • Unselect the Enable Sender ID compliance box 
  • Click Save button

The emails you send will no longer include the "noreply@salesforce.com on behalf of".




This is how it looks when open from other email client (such as: gmail.com), notice there are no differences before and after we change Sender Id compliance.





Reference:


Page-level ad