Wrangle Data - PowerPoint PPT Presentation

1 / 51
About This Presentation
Title:

Wrangle Data

Description:

Data Migration: A stitch in time... Scenario: ... Data Migration: A stitch in time... Templates must be ... Data Migration: A Stitch in Time... What Options? ... – PowerPoint PPT presentation

Number of Views:130
Avg rating:3.0/5.0
Slides: 52
Provided by: bodi52
Category:
Tags: data | stitch | wrangle

less

Transcript and Presenter's Notes

Title: Wrangle Data


1
Wrangle Data Pump up the Configuration
Administrator Track
  • David Schach, X-Squared On Demand
  • Ezra Kenigsberg, salesforce.com

2
Safe Harbor Statement
Safe harbor statement under the Private
Securities Litigation Reform Act of 1995 This
presentation may contain forward-looking
statements including but not limited to
statements concerning the potential market for
our existing service offerings and future
offerings. All of our forward looking statements
involve risks, uncertainties and assumptions. If
any such risks or uncertainties materialize or if
any of the assumptions proves incorrect, our
results could differ materially from the results
expressed or implied by the forward-looking
statements we make. The risks and uncertainties
referred to above include - but are not limited
to - risks associated with possible fluctuations
in our operating results and cash flows, rate of
growth and anticipated revenue run rate, errors,
interruptions or delays in our service or our Web
hosting, our new business model, our history of
operating losses, the possibility that we will
not remain profitable, breach of our security
measures, the emerging market in which we
operate, our relatively limited operating
history, our ability to hire, retain and motivate
our employees and manage our growth, competition,
our ability to continue to release and gain
customer acceptance of new and improved versions
of our service, customer and partner acceptance
of the AppExchange, successful customer
deployment and utilization of our services,
unanticipated changes in our effective tax rate,
fluctuations in the number of shares outstanding,
the price of such shares, foreign currency
exchange rates and interest rates. Further
information on these and other factors that could
affect our financial results is included in the
reports on Forms 10-K, 10-Q and 8-K and in other
filings we make with the Securities and Exchange
Commission from time to time. These documents are
available on the SEC Filings section of the
Investor Information section of our website at
www.salesforce.com/investor. Salesforce.com, inc.
assumes no obligation and does not intend to
update these forward-looking statements, except
as required by law.
  • xrl.us/SafeHarbor

3
Purpose
  • To give you data configuration techniques that
    can help make you a better administrator

4
This session Other sessions
  • Practical demosthings you can do TODAY
  • Tactical ideas and technical detail
  • Bigger-picture org data strategy
  • Third-party tools

5
Outside this sessionPlease use these resources
  • salesforce.com/community
  • Salesforce.coms Data Services group
  • Product demos downstairs
  • Developer Network developer.force.com
  • Previous Sessions
  • xrl.us/DataDataData 2006
  • xrl.us/ExcelConnectorDemo 2006
  • xrl.us/SystemOverload 2006
  • xrl.us/AppliedDataQuality07 2007
  • xrl.us/DataDataEverywhere 2007

6
Overview
  • Introduction 5 min
  • Wrangle Data Pump up the Configuration 40 min
  • QA 15 min
  • Prior to making any major changes to your data
  • BACK UP!
  • Dont make major changes to your Production
    config
  • DEVELOPER ORG OR SANDBOX!

7
David Schach President
8
Where should I build my new functionality?
  • Development Environment Best Practices
  • Sandbox
  • Exact copy of configuration
  • Deploy to Production via Eclipse, Migration Tool,
    etc.
  • Limited by number of Sandboxes allocated to your
    org
  • Developer Edition
  • Fresh org - Less restrictive development
    environment
  • Deploy to Production via Eclipse, Migration Tool,
    etc.
  • Unlimited number available

9
Where should I build my new functionality?
  • Why Developer Orgs Rock
  • Licenses
  • Portals
  • Partner
  • Customer
  • Mobile
  • Platform
  • Solve the mystery of what, exactly, a Platform
    User can see
  • xrl.us/DevOrg

10
Where should I build my new functionality?
  • Why Developer Orgs Rock
  • Managed Packages for Internal Use
  • Store each Application in a Private Managed
    Package
  • One Package for each Application
  • Quick change propagation
  • Safe from meddling end-users
  • Safe from other meddling SysAds
  • Managed Packages for Profit
  • Use License Management Application Force.com
    Checkout

11
Developer Org Pitfall Invisible Fields
  • Problem I cant see all the things I should see.
  • Object Field list
  • Visible
  • View Detail and Edit screens
  • Not visible
  • Edit Page Layout
  • Visible
  • Use Excel Connector or Data Loader to Describe an
    Object (details to come)
  • Not visible

12
How do I find invisible fields?
  • Check User Profile
  • System Administrator View All Data, Edit Read
    Only Fields
  • But just because I can see whats IN the fields
  • User Profile is a hint to the solution

13
Fresh Org Some Fields are Hidden by Default
  • Account
  • Account Site
  • Ownership
  • Et al.
  • Contact
  • Do Not Call
  • Email Opt Out
  • Fax Opt Out
  • Check each object

14
How can I configure faster? (Tip 1)
  • Q How did you get to that page so fast? How
    did you configure so many reports so fast?
  • A Leverage your bookmarks!

15
How can I configure faster? (Tip 1 contd)
  • Leverage your bookmarks!
  • Now add setup links
  • Keyboard shortcuts
  • AltB to drop menu (AltA in Internet Explorer).
    . .
  • . . . followed by the letter/s of the menu
    choice/s

16
How can I configure faster? (Tip 2)
  • Q How did you get to that page so fast? How
    did you configure so many reports so fast?
  • A Leverage browser tabs!

CtrlClick to open new tab!
CtrlClick to open new tab
17
How can I configure faster? (Tip 2 contd)
  • Leverage browser tabs!
  • Perform the same single action on each tab, then
  • Click CtrlTab to move to the next tab
  • Lather, rinse, repeat!
  • Good for Page Layouts and fields, too. . .
  • Although we know we can use the IDE

then
2
1
then
18
Metadata Migration Deceptively Simple
  • How do I move new functionality between two orgs?
  • Simple Example Develop two objects, related to
    each other via Master-Detail
  • Master Contains
  • Number
  • Currency
  • Formula field (12)
  • Roll-Up Summary

19
Metadata Migration Dos and Donts
  • Do not
  • Use Managed Package and Developer Edition
  • Recreate manually in destination org
  • Best Practice Goals
  • Accurate copy is exactly like the original
  • Precise every time I do this, I get the same
    result
  • Efficient no wasted time
  • Effective desired outcome

20
Metadata Migration
  • We are all good Salesforce CRM Admins
  • We like
  • Force.com IDE (especially the new version)
  • Automation
  • We do not blindly copy and paste entire objects
    from one org to another. Why?
  • Ill tell you...

21
Metadata Migration Two Objects
Need something to Formulate.
Parent
Need something to Roll-Up.
Child
22
Metadata Migration One Object Copy/Paste
FAIL
  • We cannot guarantee the order in which items are
    deployed, and copying/pasting each field can be a
    pain.

23
Metadata Migration Two Related Objects
FAIL
24
Metadata Migration Two Related Objects
FAIL
YAY!
25
Metadata Migration Use Deployment Tools
  • xrl.us/DeployFaster

26
Whats up with 15-char and 18-char IDs?
  • Good resource xrl.us/15CharacterIDs
  • Q Whats up with 15-char and 18-char IDs?
  • A UI vs API!
  • The User Interface returns 15-character IDs
  • The Application Programming Interface returns
    18-character IDs

User Interface returns 15-char IDs
27
Whats up with 15-char and 18-char IDs? (contd)
  • 15-char IDs are case-sensitive, which Excel
    doesnt distinguish

Excel thinks theyre the same!
These IDs came from a Report
28
Whats up with 15-char and 18-char IDs? (contd)
  • 18-char IDs are case-insensitive, which Excel can
    distinguish

Extra characters make the difference
These IDs came from Data Loader
29
Whats up with 15-char and 18-char IDs? (contd)
  • Use Excel Connectors FixID() function
  • Bottom line whenever you work with IDs in Excel,
    always make sure to use 18-character IDs.

30
Data Migration A stitch in time
  • Scenario Adding a new business unit in
    Salesforce CRM. Must bring data from legacy
    system to Salesforce CRM.
  • Practice
  • Use data templates
  • Good Practice
  • Create data template for each Object
  • Best Practice
  • Create data template for each PAGE LAYOUT

31
Data Migration A stitch in time
  • Templates must be
  • Easily understandable to the User (when
    distributed)
  • Easily usable by the Admin (when returned)
  • It all comes down to CSV which means Excel.
  • Rule Templates may have extraneous information,
    as long as it is easily removed prior to
    migration.
  • Extra columns and rows may save time down the
    road

32
Data Migration A stitch in time
  • Creating Data Templates
  • Excel Connector makes User and Admin-Friendly
    Templates
  • xrl.us/ExcelConnectorDemo
  • Process
  • Sign into the Connector (set the API to 14.0)
  • Change endpoint to test.salesforce.com if using a
    sandbox
  • API Token unless Trusted IP
  • Table Query Wizard
  • Change Options

33
Data Migration A Stitch in Time
  • What Options?
  • The key is to show both the Name and the Label
  • Lather, Rinse, Repeat
  • This time, you will use the
  • other option

34
We baked a turkey before the show
ID and Standard Fields in Alphabetical order BY
FIELD NAME
Custom Fields, also in Alphabetical order
Standard and Custom Read-Only Fields in
Alphabetical order BY FIELD NAME
35
What else can I do?
  • Add picklist values
  • Show comments
  • Copy/Paste
  • Remove comments
  • Select cells
  • Delete comments
  • Repeat for each Object/Page Layout/Record Type
  • One tab for each

36
Big news! Excel 2007 rocks!
  • Excel 2003
  • Excel 2007
  • 1,048,576 rows by 16,384 columns
  • 32,767 characters per cell
  • 65,536 rows by 256 columns
  • 32,767 characters. Only 1,024 display in a cell
    all 32,767 display in the formula bar.

37
Creating help links for standard fields
  • Help links are great! But only for for custom
    fields

38
Creating help links for standard fields(contd)
  • A standard-field workaround
  • Make a text field,
  • Set its default value to the help text,
  • Make it read-only using Field-Level Security

39
Creating help links for standard fields(contd)
  • Alternately
  • Make a formula field,
  • Leverage a CASE function to provide
    Stage-appropriate help text

40
Receiving Data Linking To An Owner
  • Scenario Users provide data with multiple Owner
    values
  • Real Example
  • John Smith
  • Smith, John
  • JS0467
  • jsmith
  • jsmith_at_company.com
  • At least it was consistent within each csv sheet

41
Receiving Data Linking To An Owner
  • Solution External IDs
  • Data Loader uses External IDs for UPSERT
  • Can use UPSERT for INSERT, UPDATE
  • xrl.us/DataLoaderInfo

42
Creating Products the easy way
  • Creating a new Product is powerfulbut complex!

1
2
3
4
5
7
6
(standard Price Book)
43
Creating Products the easy way(contd)
  • Make a Custom Link from the Clone URL of a
    templated Product

1
2
3
44
Creating Products the easy way(contd)
  • And now we can create a new Productcomplete with
    prices and Pricebook associations!in two clicks

45
How do I make Users and Data accountable?
  • Checklists Best Practice for field setup
  • A vignette

46
How do I make Users and data accountable?
  • Goals
  • Ensure that User makes a decision to indicate
    No
  • Eliminate possibility that the User forgot to
    evaluate that item
  • Metadata Tricks
  • Required field
  • No default value
  • Best Practice
  • Teach Users to navigate using Tab, Arrow Keys

47
How do I make Users and data accountable?
  • Pertinent Negative

48
Reworking tab choices
  • Some reasons to hide a standard tab
  • Users get confused by the fact that the View
    picklist does not correspond to the Recent Items
    shown immediately below the picklist, and you get
    tired of explaining it
  • You want users to be directed by default to a
    specific View or
  • You want to suppress the Reports and Tools
    sections that appear on tabs like Accounts and
    Contacts.

49
Reworking tab choices(contd)
  • Sounds good! What do I do?
  • Web Tab xrl.us/SimpleSControl
  • ltscript type"text/javascript"gt
  • parent.frames.location.replace("URL")
  • lt/scriptgt
  • Visualforce Tab xrl.us/SimpleVisualforcePage
  • ltapexpage standardController"Account"
    recordSetvar"accounts"gt
  • ltapexdataList var"a" value"!accounts"gt
  • !a.name
  • lt/apexdataListgt
  • lt/apexpagegt

50
Session FeedbackLet us know how were doing and
enter to win an iPod nano!
  • Please score the session from 5 to 1
    (5excellent,1needs improvement) in the
    following categories
  • Overall rating of the session
  • Quality of content
  • Strength of presentation delivery
  • Relevance of the session to your organization

Additionally, please fill in the name of each
speaker score them on overall delivery.
We strive to improve, thank you for filling out
our survey.
51
QUESTION ANSWER SESSION
David Schach
President
Ezra Kenigsberg
Data Architect
Write a Comment
User Comments (0)
About PowerShow.com