Gain User Insight with List Views

If you’re a Salesforce Admin chances are you have created tons of list views for Accounts, Contacts and other objects for your users to use. I recommend you take some time to create list views for YOU to use. You’ll find that they can help you quickly access information–saving you valuable time and frustration. In fact, there are several areas in the Setup area where you can add list views. You can create custom list views for Permission Sets, Profiles, Users, Public Groups and Domains just to name a few.

In this post, I’m continuing my series on User Management Tips from one of my Dreamforce 14 presentations. I’m sharing ideas on how you can use Salesforce List Views on the User object to make you a more efficient admin.

User List Views

In list views, you can filter on almost every User attribute found on the user record such as Storage Used, Status, Roles, Profiles, Managers, even Last Login. Here are some common list views that I recommend you set up:

  • Active Users
  • Inactive Users
  • Admin Users
  • Frozen Users
  • Users in each division or department.
  • Users by license type (ie Marketing Users, Content Users)

User List Views

In addition, to the above list views you may want to create list views that you can look at on a weekly or monthly basis to manage user adoption and data storage. Here are a few I recommend:

  • Large Storage Users
  • No Login This Week
  • Password Expring Soon

In my last post I talked about adding custom fields to your User object. You can use those in your list view as well. Say for example, you created a custom field to track users for an add-on webinar product, you can create a list view of “Webinar Users”. This is very helpful when you need to report on users or send a mass communication out to the users of that product. Other common list views on custom fields include users by cost center or mobile device users.

Filter Out Inactive Users

One of the most common user management complaints that I hear is that you cannot delete a User from Salesforce. Instead you can only make them active or inactive. Not being able to delete a User is actually a good thing as it helps maintain any historical information about that user, including completed tasks and prior record ownership. But most of the time if a user is Inactive an Admin doesn’t want to see them in the list of users. That’s why for all of my User list views I filter out inactive users. All you have to do is set the “Active” field to equal “True”. Now, those inactive users never, ever show up on my views–they’re as good as dead to me.

Active Users

Because I occasionally do need to see inactive users and you probably do as well, I do recommend creating one list view called “Inactive Users” where the “Active” field equals “False”.

List View Visibility

As with all list views, you can opt to have user list views visible only to you, to all users or share with certain groups of users. Most of these list views you’ll want to share only with other Admins.

It Slices and Dices

As you can probably tell, I love list views! I find them much faster than reports for managing my daily admin workload as I can jump from one view to another instantly. I can customize the columns on the fly if need be and quickly drill-down and view and edit the records I need to work on. I also like that I can click on column headers to quickly sort and filter by values. The one big gotcha though is you cannot do inline edit on the user list view. Be sure to vote for this idea as it will be a huge time-saver for editing multiple users at once.  Even without this, user list views should be in your user management arsenal.









Get Organized with Custom User Fields

One of the sessions that I presented at Dreamforce this year was “Don’t Let Managing Users Manage You” where I shared 10 tips to make user management less of a pain.

Because user management is such a time-consuming and high-profile part of most admins jobs I thought I would share my tips here over 10 blog posts where I can go into detail about each one.

Tip #1: Get Organized with Custom User Fields

I like to add custom fields to the user object to help stay organized. Obviously you can tailor these custom fields to your unique needs but here are some ideas of general-purpose custom fields that you may want to use.

  • Admin Notes  – I create a ‘private’ system admin-only field to track notes such as who requested the user be set up or deactivated, why and when.
  • Cost Center – This is useful if you need to create reports to charge back licenses to the correct group.
  • Personal Information – Common fields are personal Email and personal phone. Great for users to connect after hours.
  • Mobile Device – Here I track what type of mobile device they are using such as iPhone, Android or iPad. This is great for finding testers and sending device specific updates. (I’ll cover more about that on a future blog post)
  • Additional App Licenses – If you have add-on apps you may want to track what users have access. This can be redundant information but is very helpful to have every app license in one central place for reporting, terminations, and testing.
  • Signature Block – If you use email templates consider adding a signature block to the users record to prepopulate and format address and company taglines.
  • Photo Url – To include photos on html email templates just place the url of the photo on the users record. An easy way to get a url is to load the photos to a public Document in Salesforce.  Then just include that field in email templates
  • Access Deactivation date – Add a custom date field to track when you deactivated the user or when you should deactivate their license. Sometimes you know in advance when to turn off seats (terms or trial users) just put in a date and use workflow rule to auto-deactivate them.  (look for more tips on user workflow rules in a future post).

This is just scratching the surface for custom user fields.

To add custom fields just go to Setup>>Customize>>User>>Fields>>New.

As with any custom field, you can choose what profiles can View and Edit these new fields. You can also update your page layout so they are displayed in a logical manner. Unfortunately you can not change the layout for the Standard User fields which display at the top of the User page.



I’m Back From Dreamforce. Now What?

Whew! Once again Dreamforce proved to be an amazing four days of learning, networking, and peering into the future of Salesforce.

I don’t know about you, but I only now feel like I’ve got caught up on the work I missed and readjusted to my time zone to finally have time to digest all that I learned at DF14. Here’s my plan of attack post-Dreamforce:

1. Expo Hall Vendors

According to Fitbit, I chocked up 36.89 miles of walking the week of Dreamforce–most of that on the floor of the expo hall. Now I’m getting tons of calls and emails from all the booths I stopped by (which was just a fraction of the total booths). I grabbed a flyer for those vendors I felt had the most compelling solution for my needs. I keep these near my desk so that when a vendor calls I can dig for their flyer to remind myself about them. If they don’t have a flyer–well then good luck Mr. Telesales because I’m expecting you to sell me.

I also went through my flyers post-Dreamforce to see which ones I want to learn more about. I try to notate on them while at the booth my initial thoughts so I can recall them later and determine which ones I want to see a demo of.


2. Dreamforce Breakout Sessions

After Dreamforce I like to re-read the notes I took for the sessions I attended. I also check out the Dreamforce section of to download the presentation.

Due to schedules, it wasn’t possible to attend all the sessions I wanted to. Fortunately, I “Favorited” them so now I can go back to the ones I favorited and download those presentations, read the Chatter comments and, in most cases, catch a recording of them.


3. Dreamforce Announcements

Obviously lots of new products and features,  like The Analytics Cloud, Journey Builder for Apps, Process Builder, and Lightning, were announced at Dreamforce product keynotes. Now that I’m back home I take the time to learn more about these products to see if they are a good fit for me.


4. Dreamforce at User Group Meetings

Despite my best efforts, I almost always tend to miss something really noteworthy or helpful that was shared at Dreamforce. That’s why I love connecting with other users at my local User Group meeting to see what they saw and learned. Be sure to find your local Salesforce User Group today and don’t miss their post-Dreamforce meet-up.


Lastly, I type up all my notes from the vendors, sessions and keynotes into one central document that I can reference in the future and distribute to my co-workers.



Overcoming the Salesforce Tab Limit

Most Salesforce orgs have a limit to the number of custom “Tabs” that they can have. Currently, the limit is 5 for Group, 10 for Professional and 25 for Enterprise. Throw in a few custom objects and websites and it is easy to hit the ceiling on Tabs.

Fortunately there is an easy way to get to an objects Home page without using one of your precious few tabs.

Instead of a tab at the top you can easily add quick links to the left side-bar of your Salesforce screen that takes the user to the desired page.

home page small with circle

The first thing to do is to get the secret Entity ID to your custom objects home page. This is easy to do. Just go to ANY record for your custom object. Look at the URL and take note of the first three characters after “”.

In this example, it is “a03”

getting object entity id

Two items of note, alpha characters are case-sensitive and zero (0) and O are really, really hard to tell apart. To reduce the likelihood of error I like to copy and paste.


Now that you have your secret code to your custom object it’s time to create a custom link. Go to Setup>>Customize>>Home>>Home Page Components and click {Edit} next to “Custom Links”

edit home page components

Enter a new Bookmark name to display and then the URL to link to. The URL only needs to contain the 3 digit Entity ID. You should remove the first part of the url that references the specific server (In this example I omitted This will allow your link to work even if you are moved to a new Salesforce server.

I also like to add “/o” to my link so it takes the user to the “Recent Items” view for the object and it displays the object name at the top. It works without the “/0” but that takes the user to their last List View.

So in this example, all I place in the URL to link to field is /a03/o

home page custom links

Now I make sure my “Custom Links” are displaying on the home page layout by going to “Home Page Layout” edits. I check the box next to “Custom Links” to display and indicate the order the narrow components should be in.

Home Page Layout

If you don’t want every user to see the link or you want different links for different groups there are ways to add Custom “Components” to different page layouts. For this example, we’re keeping it simple with just one group of “Custom Links”.

Viola! Now my links to my custom objects display on the left-side navigation for every page I visit just like a tab would display across the top on every page.

Clicking the link will take me directly to that objects home tab, as shown below, where I can now see my recent items and run any list view.

custom object home page


Note: If you don’t see the home page components on all pages then go to Setup>>Customize>>User Interface>>Settings and check “Show Custom Sidebar Components on All Pages”.

Show Custom Sidebar Components on All Pages

You can do this same thing for links to standard objects, Visualforce pages, and other web pages.

One very popular use for custom links is to link to the Activities tab. For your reference that is Entity ID number “/007”. Many users find it nice to have quick links to “My Open Activities” or “Today’s Activities”. That allows them to jump to activity list views without having to go to the Home Page.

What will you link to?


Displaying a Calendar in Salesforce 1

Salesforce1 is a great tool for road-warriors; it lets them see key contact and account information anywhere, update opportunities in real-time and add notes, photos and other updates from meetings. There is one big thing missing though–the ability to see a calendar of activities.

Until Salesforce gets this functionality added, I have created a workaround using Visualforce and Activity List Views to create a new Salesforce1 calendar view accessible from the Navigation menu.

Here’s how to add a calendar view to Salesforce1 in 3 easy steps:

Calendar Views in Salesforce1


Step 1: Start by creating Activity List Views

  1. Start by going to the following url (be sure to replace the X with the number assigned to your org).
  2. Then click on “Create New View” and create a list view per normal.
  3. Filter on “My Activities” that are not closed. Use Due Date to add your time range. <TIP>You can use relative date values, such as “This Week” or “Next 14 Days”  in your filters.
  4. Since this will be loaded on mobile devices, I recommend a max of four columns; due date, subject, (contact) name, and related to.
  5. After you save the list view make note of the list view ID. This is shown in the url on the screen that appears after you click “save”. You’ll need the list id for step 2.

Calendar List View Setup

Note: You can create multiple list views such as “This Week” and “Next Week” or larger time periods like “Next 30 Days”. Views can be combined into one tab or create separate tabs. Be sure to keep download speed in mind when designing list views.


Step 2: Create a Visualforce page to display the activity view

  1. This is real easy to do! Go to “Setup” and search for “Pages”.
  2. Once on Pages, click “New”. Give your page a label, name and description. Calendar Page Setup
  3. Check “available for Salesforce mobile apps”
  4. Delete the sample code and replace with the following code.

<apex:page >

<apex:enhancedList type=”Activity” height=”600″ listid=”00BM0000000OKQp” customizable=”FALSE” rowsPerPage=”10″/>


Note: This list view is set for 600 pixels, the majority of phones have a screen resolution of 320 pixels high; adjust accordingly for your users.


Step 3:  Create a Visualforce tab and add it to Salesforce1

Now that the page is created you’ll need to create a tab to display the results. Here’s step by step how to do that.

Be sure to check “Mobile Ready” and add the tab to your selected list under “Mobile Navigation”.


That’s it! Now log into Salesforce1 to test out the new navigation option. In this example, clicking on “Activity View” in the left side navigation will take the user to the list view for “This Week”.

Calendar Views in Salesforce1

Now your mobile users can see more than just “Today”. They can see any list view that you configure for them. You can even combine list views in one view or create a separate navigation link for different views.

Now  if a sales rep is on the road, they can easily glance to see who they are meeting tomorrow and when. If you create a list view for “Next 30 Days” they can even check their calendar in Salesforce1 and schedule follow up appointments with confidence knowing that they are available.


Dreamforce 13 Highlights

Whew! Just got back from an action-packed week at Dreamforce where I was able to test-drive many apps, learn new tricks and see the roadmap for

Here are the top 5 new items covered at Dreamforce 13.

1. Salesforce 1. Salesforce 1 is the latest mobile app from Salesforce. I’ve been playing with it since it was released and really like it on my Android phone. It’s got Chatter, Cases, Opportunities and a consolidated “Today” calendar with a handy map/phone feature. For my iPad, I’m still partial to the browser solution but with a few enhancements I can see me using the app a lot more.

2. Salesforce A Like many Admins, I lugged my heavy laptop with me over 1500 miles to Dreamforce–just in case there was an emergency admin issue that my iPad could not handle. Next year it stays at home thanks to Salesforce A. SalesforceA is the new mobile app for Admins Only that makes it easy to see Users records to freeze users and reset passwords. It even has the release notes and quick access to the success community.

3. ExactTarget Marketing Cloud Okay, so those familiar with ExactTarget and Pardot really didn’t see anything too new but what was so exciting for marketing geeks like myself was the passion and emphasis that was placed on the Marketing Cloud at Dreamforce. The future of sales and marketing is digital and social. Seeing the case studies of the possibilities was amazing.

4. Mobile The mobile emphasis started with Salesforce 1 and Salesforce A but continued well beyond that. Salesforce was also busy this year developing an improved Dreamforce app that kept your session schedule, notes and chatter feed at the palm of your hand.

The mobile hackathon featured a one million dollar prize–the largest ever for a hackaton. Some great new mobile apps were developed that hopefully will be on the market soon.

Plus many of the vendors in the Cloud Expo demoed mobile solutions. Even the session check-ins featured magic scanners that they just waved in front of your badge.

5. Women Last but not least, Dreamforce was focused on the FemmeForce to encourage more women in IT and leadership roles. Need evidence of the lack of women? Just look at how the line for the men’s room is twice as long as the women’s. Keynote speakers featured Marrisa Mayer from Yahoo! and Sheryl Sandberg from Facebook. I for one was very moved by Sandberg’s talk about her book Lean In and encourage everyone to read it. It is very eye-opening.


DF13 may have just ended but now the real work begins to test and implement all the new ideas and apps that I discovered. What fun!



There’s a Tab for That

If you’re like me you might be working on one Salesforce task when someone calls you to work on something else. Instead of clicking away from what I was working on (and risk forgetting) I just open a new browser tab. It’s one of the beautiful things about working in the cloud. You can have dozens of items in flight at once.

Because Salesforce is web based not only can I use multiple browsers but I can also use multiple tabs to truly help me multi-task. As you can see by this screenshot, by default each tab is labeled  so I can quickly jump between one item to another.

Salesforce Tabs with Title tags

To open up a new tab you can right-click and select {Open Link in New Tab} but when you do that dozens of times a day it can get old fast. Fortunately there is an easier way – just configure your mouse so clicking on the middle button or mouse wheel opens a new tab. If you don’t have a middle button you can also open a new tab by holding the CTRL button and left-clicking. Either way will save you a few clicks each time which will add up to some serious time-savings.

Opening new tabs is a great tip for both admins and end users. For example, end users can use it to look up a new contact while still keeping the first contact window open.

Word of advice though, be sure you save any critical information before leaving a tab. Also keep in mind that the related lists will always reflect the most current state when ever the window is refreshed.