12 December 2013

Using the Force.com Command Line Interface


Tools, tips, and tricks are the lifeblood of a salesforce hacker.

At Dreamforce 2013, Dave Carroll announced a fantastic new Command Line Interface (CLI) tool that administrators can use when managing their organization.

Some of you are probably thinking, 'how cool!'. But for others, a CLI is not usually thought of as a 'cool' administrative tool outside of managing a Unix server or as a developer tool for uploading code to GitHub.

However, a CLI is a fantastic tool for going bare metal when it comes to managing your organization. You can do truly amazing things when you combine the power of querying the platform with many of the MacOSX terminal commands like 'grep'.

For instance, I can quickly query all of the permission sets assigned to a specific user:


Using standard terminal commands helps me more easily navigate data I want to review. For instance, if I want to check just the name of the user who is currently logged into to CLI, I can filter any field with 'Name' in it using grep:


However, if I just want to know the actual name of the user, I can add the regular expression '^' caret to mark the beginning of a string, in this case the 'Name' field:


Now I've combined the power of the force.com platform with terminal commands and regular expressions, all in one easy to use tool. This translates as more power than what I have with other tools in a much simpler format than other user interfaces I'm used to using. 

You can download the Force.com CLI from https://force-cli.heroku.com/. There's also a fantastic blog posting from Wade Wegner to help get you started.


4 comments:

  1. For charm, you must cleave to the edges of the great greensward, where there is a horticultural memory of what the Mall once was, and might have been. Clustered along the Mall and its surrounding parkland are small gardens. Some fill interstitial spaces, others are attached to museums or institutional buildings, and others are part of a new generation of memorials that have been redirected by planning rules off the Mall itself..

    The skills that make up emotional intelligence can be learned at any time. However, it important to remember that there is a difference between simply learning about EQ and applying that knowledge to your life. Just because you know you should do something doesn mean you will especially when you become overwhelmed by stress, which can override your best intentions. (tags: Jordan Shoes For Sale Cheap, 2020 Jordan Release Dates, Ray Ban Sunglasses Outlet)

    The basketball program started on May 7 with about 30 kids. Many of them, like Shane, were alumni from the football program. But it grown exponentially since then and the league now fields eight teams that compete against each other on Saturday mornings. (tags: Cheap Real Yeezys, Discount Jordan Shoes Wholesale, Cheap Yeezys)

    First of all, your book is no longer "your baby," but a business and as with any business, you must have a Marketing Plan. Number One in your plan should be creating a website that will help facilitate everything else we'll cover in this article. If you already have a website (business or otherwise), add a banner headline announcing publication on your Home page (tags: Coach Outlet Store Online , Michael Kors Bags Sale, Coach Outlet Store, MK Outlet).

    ReplyDelete
  2. You will agree with me that women are generally synonymous to fashion. And one of the fashion Coach Handbags Clearance that women adore so much when they want to look fashionable and thus look beautiful, is fine looking attractive and quality New Air Jordan Shoes. Thus, in as much as women love putting on quality fine looking Cheap Air Force Ones, research has confirmed that women just don't throw money around like their opposite counterpart, so quality fine looking MK Outlet they prefer, but they also prefer buying them cheap. An increasing number of people these days are finicky about the kind of Air Jordan Sale they wear. While almost everyone wants to wear the latest Michael Kors Factory Outlet and trendiest Cheap Yeezys not many are prepared to shell out exorbitant amounts of money for these. Therefore, if you want to know insider secrets to buy cheap Coach Factory Outlet Online read on to know more. (Article Source From Coach Outlet Clearance Sale)

    ReplyDelete