SlideShare a Scribd company logo
1 of 39
Sheet1subjectidNumeric80Subject
IDNoneNone8RightNominalInputethnicityNumeric80Ethnicity{
1, middle
eastern}...None8RightNominalInputreligionNumeric80Religion{
1,
none/agnostic}...None8RightNominalInputmajorNumeric80Majo
r{1,
double}...None8RightNominalInputageNumeric80AgeNoneNone
8RightScaleInputgpaNumeric81GPANoneNone8RightScaleInput
sexNumeric80Sex{1,
female}...None8RightNominalInputCollegeYearNumeric80Year
in
CollegeNoneNone8RightOrdinalInputillnessNumeric80Illness{1
, 0-2 times}...None8RightScaleInputroommate#Numeric80Room
mate
#NoneNone8RightScaleInputroommateRelationNumeric80Room
mate Relation{1, Significant
Other}...None8RightNominalInputemployementNumeric80Empl
oyement{1, Yes Full
Time}...None8RightNominalInputstressNumeric80StressNoneN
one8RightScaleInputstressCauseNumeric80Stress
CauseNoneNone8RightNominalInputstressReactionNumeric80St
ress
ReactionNoneNone8RightNominalInputStressR#Numeric80Stres
s Reaction
#NoneNone8RightNominalInputFulfilledNumeric80FulfilledNon
eNone8RightNominalInputmotivationSNumeric80Motivation
ShortTermNoneNone8RightNominalInputmotivationLNumeric8
0Motivation
LongtermNoneNone8RightNominalInputenergyNumeric80Energ
y LevelsNoneNone8RightNominalInputBeckNumeric80Beck
Anxiety{1,
Minimal}...None8RightScaleInputHappyRelationNumeric80Hap
py with
RelationshipsNoneNone8RightNominalInputleisureNumeric80S
uccificent Leisure
TimeNoneNone8RightNominalInputgymNumeric80Go to
GymNoneNone8RightNominalInputgym#Numeric80Hours at
gymNoneNone8RightScaleInputdrinkTimeNumeric80Drink
TimeNoneNone8RightNominalInputdrink#Numeric80Drink
#NoneNone8RightScaleInputdrinkCompanyNumeric80Drink
Company{1,
Friends}...None8RightNominalInputdrinkAloneNumeric80Drink
AloneNoneNone8RightScaleInput
Max's Distinctive, Impressive BizTech Student Blog
F r i d a y , O c t o b e r 7 , 2 0 1 6
No Sh**, Sherlock ‐ The Case of the Lost Integrity
So, I’ve got a story for you. Kind of a mystery, actually. Perfect
for Halloween.
Turned out my awesomely killer app needed a bit of...tuning up.
Jumping ahead–I learned a ton and
now it really IS awesomely awesome. Took some doing, but
nothing a few hours of hair‐twisting and
definitely less than 8 bags of M&Ms couldn’t fix. (Hey, gimme
a break. They were those tiny trick‐
or‐treat bags, ok? the “Fun” size?)
Hah. Now you want some too, eh? Ok, fire up SF and grab your
chocolate. Here’s how the mystery
unfolded…
Seeking Validation
It started out with the smallest thing. Riley was doing her stuff,
pitching investors, using my app. I
was helping her out more & more with all kinds of stuff. Life
was good. Until one day, I went back
into SF, just browsing the database to make sure all was well &
I found a Pitch record with an
Equity Percentage of 125%.
So, I’m not exactly a math wiz but I’m thinking–percentages.
Pretty sure those are not supposed to
run over 100 (despite what my middle school soccer coach used
to tell us to give on the field).
Hmm….
I tracked down Riley & turned out she had just mistyped it.
Supposed to be 12.5 but it had been
embedded there in the data awhile, probably throwing off
reports, dashboards, etc and thereby
throwing off Riley’s strategic moves. Rats! I fixed it but then I
thought…there must be something in
SF that helps keep wrong data from getting in there cuz data
mistakes could really foul things up.
Took some excessive Googling but I finally found it–validation
rules:
1. Click Setup > Create > Objects & then Pitch
Copyright © 2017 The Max Labs Project
2. Scroll down to Validation Rules and click New
3. Set Rule Name = “Equity Percentage has to be 100 or less”
(any name that would make sense
to you later on if you had a bunch of rules piled up there)
4. Look down under Error Condition Formula. That’s where you
tell what condition should
trigger an error message and stop the user from adding the bad
data.
5. Click Insert Field
6. That should bring up a dialog box with two picklists. On the
left one, Pitch > should be
selected/highlighted already. That brings up Pitch fields on the
right so you can choose the
one you want to make the rule about.
7. Pick Equity Percentage and you’ll see a box pop up
confirming your choice
8. Click Insert
9. Now you’re back on the big empty formula text box and SF
should have inserted
http://2.bp.blogspot.com/-ohbNlhyFn58/VO-
Cw7hdcuI/AAAAAAAACFM/NMcZ6rUDvlM/s1600/new%2Bva
lidation%2Brule.png
http://3.bp.blogspot.com/-
GoAl0GZ6k4g/VPk9UL2ScLI/AAAAAAAACNg/5ll6NQQmVT
Y/s1600/insert%2Bfield2.png
https://4.bp.blogspot.com/-
owzJX6ZydqA/WEc8V6_pp1I/AAAAAAAAEqI/HyRO_kiHT9I
GmIEDwYKC7nKeK8edUZajwCLcB/s1600/insert%2Bfield%2B
%2528safari%2529.png
Equity_Percentage_c in there for you. (That’s the way SF refers
to it internally.)
10. Now you can click on Insert Operator to drop down a menu
and select > Greater
Than and SF inserts the symbol into the formula box for you
11. Now you have to type for yourself, sorry. Just the number
“1.00” is needed. That’s what
100% is, mathematically speaking. So now it should read
“Equity_Percentage__c > 1.00”
when you’re done. (Click Check Syntax, just below the text
box, to make sure you got it
right.)
12. Now skip down to the Error Message text box and enter
something cheeky like “Percentages
are 100 or less. So is your IQ, apparently!” (For Riley, I did
NOT enter that.)
http://4.bp.blogspot.com/-8SH9EKwPzcQ/VO-
Jn6mTTKI/AAAAAAAACF4/SF6xvRrSx7s/s1600/vrule%2Bgre
ater%2Bthan.png
http://4.bp.blogspot.com/-VVIOtJ1-Nlw/VO-
KbQFIpZI/AAAAAAAACGA/rhnDvIge-
QQ/s1600/vrule%2Bcheck%2Bsyntax.png
http://1.bp.blogspot.com/-6XRhxsInH7g/VO-
LA_m0GrI/AAAAAAAACGI/UuyNnk2tEk0/s1600/vrule%2Bme
ssage.png
13. Finally, find the Error Location choice buttons at the bottom
and click Field instead of Top
of Page. A drop‐down menu will appear.
14. Pick Equity Percentage so the error message will appear
right there, next to the bad value,
when a user tries to enter it.
15. Click Save
Now try it out to make sure it’s working.
16. Go to your Pitches tab, click New, make up something to fill
in for Business Name, ignore
the other fields but enter a number over 100 for Equity
Percentage and click Save
See the error message? Moderately awesome, eh? At least.
17. You can just click Cancel to skip the edit when you’re done
admiring your work ;‐J
So I figured I had Riley’s data pretty under control—pretty well
protected, safe, until...I noticed she
had two Pitch records with the same Business Name. What
the...?
I went in and looked at all their fields. They had the
same Address too! But the Investment
Amount and the Equity Percentage were different. They had the
same contact info, i.e. First
Name, Last Name, Mobile, etc. but the Pitch Dates and Follow
Up dates were different too! Weird
enough. But then I noticed the Pitch Date for one was the same
as the Follow Up date for the
other! Ultra‐weird. [Twilight Zone soundtrack]
As Richard Dreyfuss would say–“This was no typing accident!”
[switch to Jaws soundtrack]
A bit more sleuthing with Riley revealed the culprit–Killer
Clones...
1
http://1.bp.blogspot.com/-C1yoNtYUG5w/VO-QCU-B-
II/AAAAAAAACGY/SxZXlePTcTs/s1600/vrule%2Bfield%2Beq
uity%2Bpercentage.png
https://4.bp.blogspot.com/-
Mx2x2YnCeSU/WEdBngY_AOI/AAAAAAAAEqY/x8wL7dmbq
Ewu80MmyWVvnlh7zA85W2OFQCLcB/s1600/error%2Bmsg%2
B2.png
Data Redundancy (aka “Evil Twins”)
So, I never got this before somehow but it turns out when you
pitch an angel or VC firm, it takes
awhile for them to warm up to giving you a bunch of their
money (duh!) and so you might have
multiple meetings with them which (unfortunately) I hadn’t
really accounted for when setting up
my app (d’oh!).
When I finally got a clue, I got this queasy feeling. You know
that feeling you get about 20 minutes
into Aliens that you know the monster’s lurking somewhere on
the ship, but there’s no telling
where or when it will appear? This was way worse.
At least I didn't have to wait long. I was staring at those messed
up records, half the same, half
different and it suddenly dawned on me–this was the monster’s
doing! Pretend you’re Riley & I’ll
show you how it happened (making up fake names, etc., of
course).
Today is 10/7/2016. You just had your first meeting to start a
new pitch with a VC firm named
“Spray & Pray Ventures,” located at 2870 Sand Hill Road, Palo
Alto, CA 94304. You met with Julia
Chavez, (510) 403‐8995, [email protected] Your meeting notes
say “She thinks it’s
worth considering at the $600,000 level (yay) for 30% equity
but she wants to see some more work
on the revenue model. Estimated closability: 60%. Meeting
again on the 21st.”
You’re back in your car, you pull out your phone and you’re
creating the new record (but just use
your computer for now, it’s easier):
18. Click on your Pitches tab and then click New to create a
record for this new pitch
that began with that 1st meeting today with Julia
19. Fill in the field values using the info above (“Spray &
Pray”, etc) & for Comments enter the
whole part above about “She thinks...the revenue model.” (you
can resize the Comments
textbox, if you want, by dragging the little diagonal lines on it’s
lower right corner)
20. When all your data is in, click Save and then just stay on
that Pitch Detail screen for now
Now, unsurprisingly, the part of your business plan these
investor‐types like Julia seem to be
obsessed with is a silly detail–where is the revenue going to
come from? (the revenue model). Julia
thought your plan needed work so you had to revise your
business plan for the 2nd meeting.
https://2.bp.blogspot.com/-
Sro_vCkwCBA/WEeS7gXbliI/AAAAAAAAEqk/tWu4o_19ZgMs
imIHW1gIunOV3ISCl4HNACLcB/s1600/P-10%2Badded.png
Now pretend today’s the 21st, three weeks later. You just had
your 2nd meeting with Julia. You
showed her the new revenue model and she liked it but she’s
kinda snarky. She offered to up their
investment to $750,000 but...
...now she says they want a 40% equity stake instead of 30%.
Hey! That’s 10% less for you to bargain
to other investors (or for you to split with your co‐founder).
Doesn’t seem like much now but if your
company gets bought out by Google someday for $500M,
Spray’s extra 10% is $50 million more for
them. That’s $50 million less for you. Less for you to share
with your co‐founder & any other
investors, that is. Nothing to sneeze at. You tell them you’ll
need to discuss it with your co‐founder
and get back to them in about a week. You set a follow up
meeting for 10/31.
Meeting’s over. Back in your car in the parking lot, you get on
your phone to save your 2nd meeting
info. Fast. How? Behold the Clone button(s)–two to choose
from, right there next to Edit & Delete.
Looks perfectly innocent. Let’s give it a try:
21. Click Clone and you’ll see a new Pitch record record
appear–a duplicate that will get a
new Pitch ID but all the other fields are filled with all the same
data you just entered.
Now on this new 2nd copy, you can just change all the fields
that need changing:
22. Change Pitch Date to the pretend today date, 10/21/2016
23. Change Follow Up to the pretend next week meeting date,
10/31/2016
24. Change Investment Amount and Equity Percentage to show
the new current terms of the
deal ($750,000 & 40%)
25. Raise Closability to 70%
26. For Comments enter “She liked the new revenue model but
now she’s driving a hard
bargain!”
27. Click Save
See that’s how she wound up with two Pitch records for one
firm. No problem, right?
Ok, then. Fast forward to 10/31. You’re going to clone another
record for the 3rd meeting today:
28. While you’re viewing the 2nd meeting record you just
created, click Clone again to make a
quick & easy 3rd meeting record
https://4.bp.blogspot.com/-
nVjHJ5OJhl4/WEecEThpjJI/AAAAAAAAEq8/GX8k8tHaWyUs
qlAlyT2hSkPilCC-Kr4PACLcB/s1600/P-
10%2Badded%2Bclone.png
In this 3rd meeting, you proposed another, even better revenue
model fix (3rd version) and
proposed better terms (for you), upping their investment to
$800,000 and lowering their equity to
35%. Julia says they’ll think it over and she wants another
meeting on 11/15. Oh, and BTW,
between now and then they’re moving their offices to 455
Castro Ave, Mountain View, CA 94041.
Now edit your 3rd meeting record accordingly:
29. Update Address to the new Mountain View location above
so you have it for the next
meeting
30. Change Pitch Date to 10/31/2016 (pretend today)
31. Change Follow Up to 11/15/2016 (next month’s meeting
date)
32. Enter the new current terms (Investment Amount =
$800,000; Equity Percentage = 35%)
33. Lower Closability to 65% (because you’re pushing back a
little)
34. Set Comments to “Counter‐offered her. Hah! Hope she
doesn’t call my bluff.”
35. Click Save
Still good? Yeah, not so much.
See, the Pitch record is trying to record things about the pitch,
which is pitched to one firm with
one type and one address, etc. But it’s also trying to record
things about each of the multiple
meetings that make up a single pitch, like the dates of all the
meetings for that pitch, comments
and who you met with at each of those meetings, etc. Mixing
one/pitch things in the same record
structure with some/pitch things is where I made my big
mistake...and took you along for the ride!
Let’s take a look at the records you entered, listed next to each
other:
36. Click your Pitches tab
See your three Spray & Pray records? Let’s see more fields:
37. Click Create New View
38. For View Name, enter “Seeing Triple”
39. Tab to autofill View Unique Name and scroll down to Step
2. Specify Filter Criteria
40. On down, below Filter By Additional Fields (Optional): find
the Field column, and on the
first row, pull the menu down and select Business Name
41. Under Operator, on the same row, pull the menu down and
select contains
42. Under Value, on the same row, enter “Spray”
43. Scroll down to Step 3. Select Fields to Display and under
the Available Fields list, click to
highlight Business Name and click the Add button, with the
right‐pointing arrow, to move it
over to the Selected Fields list
44. Repeat the last step to also move Address, Investment
Amount, Equity Percentage,
Closability, Pitch Date and Comments over to the Selected
Fields list
45. If you got them in a different order somehow, you can
always shift them around by clicking
one to highlight it and then using
the Top, Up, Down and Bottom arrow buttons to move it
the way you want
46. Under Selected Fields, click to highlight Pitch ID and click
the Remove button, with the
left‐pointing arrow, to move it over to the Available Fields list
to save space in the view
47. Click Save to save and display the new view with just the
three Spray & Pray records
48. Click on the Pitch Date header to sort them by date with the
first meeting at the top
49. Click/hold and drag the divider bars between the field
headers to narrow the columns where
you can to squeeze all the fields in so you don’t have to
sideways scroll to see Comments
but you’ll still see just the first few words of each
50. Totally optional but in some browsers (not Chrome), you
can hover the cursor over the
partial contents of any one of the Comments entries to see the
complete contents pop up
See any issues? For one, some records say Spray & Pray is
located in Palo Alto. Others say Mountain
View. At some point, somebody’s going to look it up on the
wrong record and wind up missing a
meeting by going to the wrong location. And they’ll be mad at
my app (and me). Boo.
And Riley’s happy to see the meeting dates, along with the
comments about each–she likes to be
able to review how the history unfolded in the meetings...BUT
(!) she thinks of each pitch as having
ONE current set of terms on the table (one Investment Amount
& one Equity Percentage) and ONE
Closability score. And she reads the reports & dashboards that
way. Heck, she uses those to decide
how to play things, so they need to be showing what she thinks
they are. But this view shows
several different, conflicting terms and closability scores for
Spray & Pray.
Check this out:
51. Click the Reports tab and click the Average Amount &
Equity by Type report you created
last time you followed along (but if you don’t still have the
report, it’s ok–just see below)
Spray & Pray shows up all three times in the VC category. One
record says they’re asking for 30%.
Another says 40%. Another says 35%. It seems to be saying
they want 105% of your company! Unreal
(literally). And it seems to be saying they’re thinking of giving
you $2,150,000 ($750,000 + $800,000
+ $600,000)! All three values are being averaged in with the
other VCs, so the averages shown at
the top of the report definitely don’t mean what they seem to
mean.
You lost “data integrity”. Your data’s fouled up, conflicts with
itself and it’s telling you things that
are just plain...wrong. “Ahhhhhhh...my database is lying to
me!” Who needs that?
2
https://1.bp.blogspot.com/-kDZQIgv-
c2o/WEeZ_SyPQRI/AAAAAAAAEqw/Te1uFvArxLkfjUNuo4Va
Cc62AymtNoV4QCLcB/s1600/seeing%2Btriple.png
http://1.bp.blogspot.com/-Bqp-
AzZXYPg/VgDmRq5bFWI/AAAAAAAAD0I/pDppPrxAq3g/s16
00/bad%2Breport.png
Don’t feel bad–it’s not your fault. :‐) My data model, my one
entity (object) for all Pitch info, just
can’t deal with multiple meetings for one pitch to one business
firm. I realized this was the
problem that Prof told us about before–when you don’t break up
the fields into the right logical
structure of separate entities (objects) connected by
relationships you can get multiple copies of
the same data. (“Redundancy”. Evil Twins. Boo). And when
changes happen, you’ll wind up with
conflicts between records (lost integrity) unless you somehow
manage to keep updating all the
copies of each one–fairly hopeless if there’s tons of data flying
around.
Bottom line? One value of current Investment Amount, Equity
Percentage, Closability and current
Follow Up date all go with the firm being pitched, just
like Business Name, Type and Address. Not
with the meeting. You shouldn’t have to duplicate all these for
each meeting you have with them.
That’s redundancy. That’s trouble.
Solution
? Make it so there’s just one Pitch record for every pitch, no
matter how many meetings
have happened for that pitch. How? Take out all the fields that
really go with each meeting–take
them out of Pitch and make a new object (Meeting) out of them.
Done. But then how do you know
which meeting records go with which firm pitch records, you
ask?
Working on Relationships
Prof told us databases let you break records apart, but also keep
their data linked together, using
relationships. If you link Pitch and Meeting together with a
relationship, every pitched firm record
is connected to all it’s associated meeting records.
I’ll draw you a picture. Prof showed us this E/R
(entity/relationship) diagram format:
The line between the entities, the relationship, is supposed to
have some symbols like “crow’s
feet” to show the “cardinality,” meaning “how many of these
goes with one of these,” etc. I left
them off here to give you a little quiz. Could you add them
yourself? Gopher it! :D
K, nice pic but how do you do this in SF?
First, you’re going to delete the Spray & Pray records you
added for the 1st and 2nd meetings.
You’re going to have just one Pitch record for every firm being
pitched from now on, right? That’s
the whole idea. (Yeah, in a few, you’ll have to re‐enter some of
that data again. Sorry, but...)
52. Click on your Pitches tab
53. For each of the records from the first two meetings,
($600,000 and $750,000), click on
the Pitch ID and click Delete and Ok
https://4.bp.blogspot.com/-
x5PtSKBpWyU/WEeggSxwgpI/AAAAAAAAErQ/whVFG3y0pn
Ex2r2ebyJ59_H8aglNk1BjQCLcB/s1600/pitch%2Band%2Bmeet
ing%2Berd%2B2.png
Now create a new custom object named Meeting:
54. Go to Setup > Create > Object and click on New Custom
Object
55. For Label enter “Meeting”
56. For Plural Label enter “Meetings” (shows up if/when you
make a tab for it)
57. Object Name should have autofilled already
58. For Record Name change it to “Meeting ID”
59. For Data Type select Auto Number
60. For Display Format enter “Mtg‐{00}”
61. For Starting Number enter “1”
62. Check Allow Reports and check Allow Activities
63. Click Save
Now you’re on the Custom Object Meeting page and you can
connect Meeting to Pitch (create the
relationship) by adding a field that tells, for every meeting
record, which Pitch it goes with:
64. Scroll down to Custom Fields and Relationships and
click New
65. For Data Type select Lookup Relationship and click Next
66. In the Related To drop‐down
menu, select Pitch and click Next
67. Field Label should already be showing “Pitch”
68. Below that, in Field Name, type in “Pitch” (or click in Field
Label & tab to autofill)
69. Click the checkbox to Always require a value in this field in
order to save a record
70. Click Next, then Next, then click Next again
71. Click Save & New (you’ll be adding some more fields
momentarily...)
Now, whenever you add a new record directly to
the Meeting object, SF will give you a choice of
the existing Pitch records to connect that meeting record to.
(They’ll appear in a popup window
list for you to choose from.)
Ok, you created Meeting & you connected it to Pitch. Good.
Now you want to move those Pitch
fields that don’t belong there into Meeting. Unfortunately, you
can’t just drag & drop them. Sorry.
You have to create them in Meeting and then delete them out of
Pitch.
Relax. You know how to add fields. For each one, you just
select the data type you want, then
click Next, then fill in field label and whatever, then click Next
> Next > Save & New, right? Now
just do all that to create those five fields from Pitch that will
now be in Meeting instead. For each
of the next five steps, just use the values given and add the new
field:
72. To add the first one, pick data type Date; in Field
Label enter “Meeting Date” and check
Required (only for this first one, though)
then Next > Next > Save & New
Now do the same thing for the rest of the four fields. Just use
the values given in each step and do
the Next > Next > Save & New thing at the end of each:
73. Pick data type Text Area; in Field Label enter “Comments”
and then just finish it & go on
74. For the next one, pick data type Text; Field Label =
“Contact Name” & Length = “30”
75. Next, pick the data type Phone; Field Label = “Mobile”
76. Last one: pick the Email data type; Field Label = “Email”
(but still click Save & New again
at the end!)
Now one new field–Riley said for each meeting, she also likes
to record how enthusiastic the person
is on a scale of 0‐5 (5 being super‐excited and 0 being “meh”).
Guess it helps her bluffing & such.
77. Use the Number data type with Field Label = “Enthusiasm”
and Length = 1 and Decimal
Places = 0 but this time just Save at the end–no more fields to
add
Now, whenever you view details of a Pitch record, at the
bottom, SF will show a “Related List” of
all the Meeting records that go with that pitch! So now, just tell
SF which Meeting fields you want
it to show there:
78. Go to Setup > Create > Objects > Pitch (NOT Meeting)
79. Scroll down to the Page Layouts section and click Edit on
the Pitch Layout row
80. Scroll down to Related Lists at the bottom and click on the
wrench icon to edit Properties
81. From the Available Fields list, find Meeting Date, click to
highlight it and then click
the Add button, with the right‐pointing arrow to move it to the
Selected Fields list
82. Repeat that last step for Comments, Contact
Name and Enthusiasm
83. Click OK and then just scroll up a bit to the Pitch
Detail section on the same page
Ok, one last bit of restructuring left. Those fields that didn’t
really belong in Pitch are now in
Meeting. Cool. But the Pitch object still has them in it too. See?
There they are showing up in the
Pitch record layout. To keep things tidy, we really should delete
the fields from the Pitch object.
But for now, it’s easier to just use this layout editor to hide
them so they don’t show up as part of
the Pitch data when it’s being viewed:
84. Just move the cursor over the first victim, Pitch Date, and
you’ll see it highlight in blue &
the wrench and the minus button will appear on the right
85. Just click (you guessed it) the minus button to remove it
from the Pitch display layout
86. Now repeat the last step for each of the other fields that
shouldn’t show up as part of
the Pitch data anymore (Comments, Contact Name, Mobile, and
Email)
87. When they’re all out of the layout, click Save (upper left of
the layout editor)
All good! That was a pain, I know, but worth it, b/c now your
new structure (“schema”) is super‐
improved and will keep your boss happy. No more lost integrity.
No more mysteries.
http://3.bp.blogspot.com/-
s635qsBaS7A/VPJU7urG58I/AAAAAAAACJ8/qH4zNFHELe4/s
1600/related%2Bwrench.png
https://4.bp.blogspot.com/-
8BvW7yzrVSo/WBaLLz83CLI/AAAAAAAAEh8/-
J3nUe0PH6YoZYBNoGJm7MsJYTJ06uCMACLcB/s1600/layout
%2Bsave.png
Check out the new structure:
88. Go to your Pitches tab and click on the Pitch ID for the one
Spray & Pray record that’s left,
to open up the record details
The Pitch terms should show the current levels, as of the last
(3rd) meeting ($800k, 35%) and
Follow Up should be 11/15. Notice the new section at the
bottom for listing the related meetings
for this Pitch.
Of course, it’s empty at this point but there’s that New Meeting
button just waiting to be clicked:
89. Click the New Meeting button
90. Notice that the new page, for adding in the data, shows
the Pitch field already filled in with
the right ID for Spray & Pray
91. Enter the Meeting Date for the first meeting, 10/7/2016
92. Enter the Comments which were “She thinks it’s worth
considering at the $600,000 level
(yay) for 30% equity but she wants to see some more work on
the revenue model.”
93. Enter the Contact Name as “Julia Chavez”
94. Enter the Mobile as “(510) 403‐8995”
95. Enter the Email as “[email protected]”
96. Enter the Enthusiasm as “2”
97. Click Save
That’ll open up a page showing the details of the new record.
(And places to log tasks, calls &
emails below but ignore those for now.)
To add the other two meetings easily, the Clone button is now
our friend:
98. Click Clone
99. Change the Meeting Date to 10/21/2016
100. Change Comments to “She liked the new revenue model
but now she’s driving a hard
bargain!”
101. Change Enthusiasm to “5”
102. Click Save
https://3.bp.blogspot.com/-
UVv9beFAxvA/WEeqlubeEyI/AAAAAAAAErg/AEqlKjA1ylQR
Et-
Zb53lSSilvyKOB2dNACLcB/s1600/new%2Bmeeting%2Bbutton
.png
Older PostsHome
Now for the last (3rd) meeting:
103. Click Clone
104. Change the Meeting Date to 10/31/2016
105. Change Comments to “Counter‐offered her. Hah! Hope she
doesn’t call my bluff.”
106. Change Enthusiasm to “4”
107. Click Save
Now go admire your work:
108. Click on the Pitches tab
109. Click on the Pitch ID for Spray & Pray to open up it’s
details
Now you see things the way Riley likes them. One Pitch record
with one set of details that go with
the firm being pitched–one business name, one set of the terms
of the current deal, the one
current follow up date, etc. AND all the meeting history, with
one set of those details (contact
name, comments, enthusiasm level) for each meeting.
Case closed, Watson. Integrity found. Mystery solved. All good.
Until the next snag...
Powered by Blogger.
3
https://4.bp.blogspot.com/-
QoMSLNwvVHk/WEhgGFlBOQI/AAAAAAAAErw/9QW8mnb0
0D4kU0c3-
XLBmK2_FJnqb8ccgCLcB/s1600/meeting%2Blist.png
Max's Distinctive, Impressive BizTech Student Blog
T h u r s d a y , N o v e m b e r 3 , 2 0 1 6
Data Fright II: Like Deja Vu All Over Again
So you know in scary movies, how at the end, the monster/bad
guy/whatever finally gets killed in
some heinous fashion and everything’s all good and everyone’s
all relieved but then, magically, he
pops up & starts terrorizing again one last time? And you can
kind of tell, just before it happens b/c
things seem a little too ok? (And the credits didn’t start rolling
yet?)
So yeah, welcome to my reality. After my last post, I knew my
app was way better, more logical,
but I had this sneaking suspicion that something still wasn’t
quite right...something heinous was
still lurking in the shadows. Something...clone‐y. Hate that
thing. Ok. So.
It was a dark & stormy night...(not really, but...)...I was all
alone in the house (ok, my dorm room,
actually) and something made me open up SF. Slowly I typed.
Tap...tap...tap. Follow along if you
dare. Those with heart conditions may wish to refrain.
First, to truly see how the data monster rose again, we need to
fill in the rest of your Meeting
data. Don’t worry. I did all the typing so you don’t have to.
(After making you type stuff in & then
delete it last time, hey, I owed you.)
So I made an import file of data that was sitting in Pitch before
we knew it didn’t belong there
—Contact Name, Email Address, Comments, etc. so you can
just import it straight into that new
Meeting object you added last time. (Oh, and I also added data
values for your Enthusiasm field, to
be super‐complete.)
Now, this import’s a little trickier than the one you did before
back in the Slicer/Dicer post b/c you
have to connect the Meeting records to the Pitch records they go
with, so be safe—don’t text &
type! Just follow closely & no one gets hurt:
Copyright © 2017 The Max Labs Project
1. First, click the link below to download the Meeting data file.
(If you’re using Windows and
certain browsers, you might need to option‐click the link and
select Download. If it opens in
Excel—just save it out as a file with the .csv extension. You
just want to place it on your
desktop or somewhere you can find it a few steps from now to
bring the data into SF.)
http://tiny.cc/MaxsMeetingData
2. Then, in SF, go to Administer > Data Management > Data
Import Wizard
3. Click on the green Launch Wizard button
4. Under “What kind of data are you importing?” click
the Custom Objects tab. That should
show Meetings and Pitches below.
5. Click on Meetings this time. That will open a middle box
labelled What do you want to do?
6. Click on Add new records
7. ***NOW*** the slight twist—near the bottom of the center
panel, where it says Which Pitch
field in your file do you want to match against to set the Pitch
lookup field?, pop open the
menu labelled ‐‐None‐‐ and select Pitch Name
8. Then in the right hand column of the page, you’ll see where
you can drag that .csv file onto
the panel labeled Drag CSV file here to upload so drag and drop
it there now
9. Once you have the file selected properly, the
green Next button that was dimmed before
should be bright, inviting you to click it, so go ahead and
click Next
10. The next page that appears, Edit Field Mapping: Meetings,
should show a perfect match
between the SF Meeting object’s field names and the column
headers in the .csv file and it
even shows you samples of the data that will be going in
11. Click the green Next button
12. The next page that appears should say you have 7 mapped
fields (and 0 unmapped ones) and
then you can just click the green Start Import button
13. A popup window should appear with a congratulations and
you can just click OK
14. You’ll get an email saying your import is complete
15. Then you should see a page of stats you can ignore about
the import
Now, to make sure that all worked, you need to make a
Meetings tab:
16. Go to Setup > Create > Tabs
17. Under Custom Object Tabs click New
18. Pull down the Object menu & select Meeting
19. Click the magnifying glass next to Tab Style & click on the
cute little red Presenter dude
20. Click Next, Next & Save
Now create a view that’ll show everything in the Meeting
records:
21. Click your new Meetings tab, up there next to the Pitches
one & click Create New View
22. For View Name enter “All Meeting Data”
23. Tab to autofill View Unique Name
24. Scroll down to the Step 3. Select Fields to Display section
25. In the Available Fields list, click Meeting Date to highlight
it and then click the right arrow
button under Add to move it into the Selected Fields list
26. Repeat the last step for Contact Name, Email,
Mobile, Enthusiasm & Comments
27. Scroll down and click Save
http://tiny.cc/MaxsMeetingData
Now you should see all the Meeting data with the three records
you created last time for the
meetings with Julia Chavez at the top. Below that—ten new
records of meeting data taken from
fields that weren’t supposed to be in Pitch records, eg. the
contact info, comments, etc. Ok.
They’re all there but are they really each connected to the
right Pitch records? Let’s see:
28. Click on Edit for the 9/15/16 meeting with Maria Valducci
29. The meeting details page shows this meeting is connected to
Pitch P‐007—click the little
magnifying glass just to the right of the Pitch slot so you can
see if that’s the right one
30. In the popup window that appears, you can see that Pitch
P‐007 was made to Valducci
Amalgam—yep, that’s her angel firm, alright. Amazing, eh?
31. In the Search... textbox at the upper left of the popup
window, replace the highlighted “P‐
007” with “P” and click Go! (matches all Pitch IDs that start
with “P”)
32. Now you’ll see a list of all the Pitch records and you could
click one of those Pitch IDs to
reassign this meeting to a new Pitch—go ahead! Pick a wrong
one if you want—it’ll be ok!
33. Now you’re back on the edit page so just click Cancel so
you don’t save your change
Just to be sure, check that Pitch records are connected to the
right Meeting records too:
34. Click on any one of the Meeting ID’s in the list
35. On the Meeting Detail page, click on the Pitch ID for that
meeting to open that Pitch Detail
page and find the related list of Meetings section you added to
that layout last time
Slick, eh? Seems like life is all good. We killed the dupe
monster at the end of the last episode,
right? But wait...the credits aren’t rolling yet <sigh>:
36. Click on your Meetings tab, make sure the View menu says
“All Meeting Data” & click Go!
37. Click on the Contact Name header to sort the records
alphabetically by Contact Name
Now take a closer look at the Julia Chavez records. Notice
anything...uh...dupe‐y looking?
Remember, at the end of last time, you were pretending to be
Riley. You had three meetings with
Julia Chavez so you created the first meeting record and then
cloned it twice to save time, right?
(My bad—I told you to.) But you were duplicating her phone
number and email address each time.
See?
What if I tell you she just changed her phone number to (408)
812‐1223 or has a new email address?
You would have to make sure you change it in all three of her
meeting records or...yup, lost
integrity again. That’s what happened with my app for Riley.
Major :(
rhee...rhee...rhee
https://1.bp.blogspot.com/-
UJ59ZRfXepA/WBwAi9n30dI/AAAAAAAAEis/Cls7pds9OCc0
RzbyjU6OyUDZRA5dLQIpwCLcB/s1600/screampic2%2Bcopy.j
pg
Breaking Up, New Relationships & Becoming Normal(‐ized): A
Database Therapy Session
Last time, getting the meeting fields out of the Pitch object got
rid of duplicated street address
data for the businesses—one address for one pitched firm
record, connected to all its meeting
records—the famed “one to many relationship,” right?
So why was there still duping happening? Finally lightning hit
me (not literally, thank god)—One
contact has one phone number, one email, etc. but can attend
many meetings. The “many
meetings” part is what’s causing the duping, just like
with Pitch before.

More Related Content

Similar to Sheet1subjectidNumeric80Subject IDNoneNone8RightNominalInputethnic.docx

Fraud Engineering, from Merchant Risk Council Annual Meeting 2012
Fraud Engineering, from Merchant Risk Council Annual Meeting 2012Fraud Engineering, from Merchant Risk Council Annual Meeting 2012
Fraud Engineering, from Merchant Risk Council Annual Meeting 2012
Nick Galbreath
 
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docx
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docxTableau Basic ModuleModule 6 CalculationsThis class demonst.docx
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docx
ssuserf9c51d
 
ASAE Tech: Data Data Everywhere
ASAE Tech: Data Data EverywhereASAE Tech: Data Data Everywhere
ASAE Tech: Data Data Everywhere
mjgoldsmith
 
INTRODUCTION TO CaseWare IDEAProvided by Audimation Services, .docx
INTRODUCTION TO CaseWare IDEAProvided by Audimation Services, .docxINTRODUCTION TO CaseWare IDEAProvided by Audimation Services, .docx
INTRODUCTION TO CaseWare IDEAProvided by Audimation Services, .docx
normanibarber20063
 

Similar to Sheet1subjectidNumeric80Subject IDNoneNone8RightNominalInputethnic.docx (20)

Chief Marketing Technologist
Chief Marketing TechnologistChief Marketing Technologist
Chief Marketing Technologist
 
Fraud Engineering, from Merchant Risk Council Annual Meeting 2012
Fraud Engineering, from Merchant Risk Council Annual Meeting 2012Fraud Engineering, from Merchant Risk Council Annual Meeting 2012
Fraud Engineering, from Merchant Risk Council Annual Meeting 2012
 
CATCH User Guide
CATCH User GuideCATCH User Guide
CATCH User Guide
 
FBR Iris help
FBR Iris helpFBR Iris help
FBR Iris help
 
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docx
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docxTableau Basic ModuleModule 6 CalculationsThis class demonst.docx
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docx
 
ASAE Tech: Data Data Everywhere
ASAE Tech: Data Data EverywhereASAE Tech: Data Data Everywhere
ASAE Tech: Data Data Everywhere
 
Custom Links Buttons In Salesforce Com
Custom Links Buttons In Salesforce ComCustom Links Buttons In Salesforce Com
Custom Links Buttons In Salesforce Com
 
Learn awesome hacking tricks
Learn awesome hacking tricksLearn awesome hacking tricks
Learn awesome hacking tricks
 
Georgia Tech Hack Day
Georgia Tech Hack DayGeorgia Tech Hack Day
Georgia Tech Hack Day
 
Qcl 14-v3 pareto-chart_potholes_in_the_city_banasthali-university_rashi
Qcl 14-v3 pareto-chart_potholes_in_the_city_banasthali-university_rashiQcl 14-v3 pareto-chart_potholes_in_the_city_banasthali-university_rashi
Qcl 14-v3 pareto-chart_potholes_in_the_city_banasthali-university_rashi
 
Nerino Petro - Protecting your Digital ASSets: What we can learn from recent ...
Nerino Petro - Protecting your Digital ASSets: What we can learn from recent ...Nerino Petro - Protecting your Digital ASSets: What we can learn from recent ...
Nerino Petro - Protecting your Digital ASSets: What we can learn from recent ...
 
Data Data Everywhere: Drowning in a Sea of Analytics
Data Data Everywhere: Drowning in a Sea of AnalyticsData Data Everywhere: Drowning in a Sea of Analytics
Data Data Everywhere: Drowning in a Sea of Analytics
 
Analytics with Power BI and R
Analytics with Power BI and RAnalytics with Power BI and R
Analytics with Power BI and R
 
INTRODUCTION TO CaseWare IDEAProvided by Audimation Services, .docx
INTRODUCTION TO CaseWare IDEAProvided by Audimation Services, .docxINTRODUCTION TO CaseWare IDEAProvided by Audimation Services, .docx
INTRODUCTION TO CaseWare IDEAProvided by Audimation Services, .docx
 
6 tableau visualization tips to inspire your creative eyes
6 tableau visualization tips to inspire your creative eyes6 tableau visualization tips to inspire your creative eyes
6 tableau visualization tips to inspire your creative eyes
 
Attacks on Smart Contracts
Attacks on Smart ContractsAttacks on Smart Contracts
Attacks on Smart Contracts
 
Communicating Effectively with Data Visualization
Communicating Effectively with Data VisualizationCommunicating Effectively with Data Visualization
Communicating Effectively with Data Visualization
 
Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)
 
Wade not in unknown waters. Part two.
Wade not in unknown waters. Part two.Wade not in unknown waters. Part two.
Wade not in unknown waters. Part two.
 
Phishing101
Phishing101Phishing101
Phishing101
 

More from maoanderton

InstructionsFor this assignment, select one of the following.docx
InstructionsFor this assignment, select one of the following.docxInstructionsFor this assignment, select one of the following.docx
InstructionsFor this assignment, select one of the following.docx
maoanderton
 
InstructionsFind a NEWS article that addresses a recent t.docx
InstructionsFind a NEWS article that addresses a recent t.docxInstructionsFind a NEWS article that addresses a recent t.docx
InstructionsFind a NEWS article that addresses a recent t.docx
maoanderton
 
InstructionsFind a NEWS article that addresses a current .docx
InstructionsFind a NEWS article that addresses a current .docxInstructionsFind a NEWS article that addresses a current .docx
InstructionsFind a NEWS article that addresses a current .docx
maoanderton
 
InstructionsFinancial challenges associated with changes.docx
InstructionsFinancial challenges associated with changes.docxInstructionsFinancial challenges associated with changes.docx
InstructionsFinancial challenges associated with changes.docx
maoanderton
 
InstructionsEach of your responses will be graded not only for .docx
InstructionsEach of your responses will be graded not only for .docxInstructionsEach of your responses will be graded not only for .docx
InstructionsEach of your responses will be graded not only for .docx
maoanderton
 
InstructionsDevelop an iconographic essay. Select a work fro.docx
InstructionsDevelop an iconographic essay. Select a work fro.docxInstructionsDevelop an iconographic essay. Select a work fro.docx
InstructionsDevelop an iconographic essay. Select a work fro.docx
maoanderton
 
InstructionsCookie Creations (Continued)Part INatalie is.docx
InstructionsCookie Creations (Continued)Part INatalie is.docxInstructionsCookie Creations (Continued)Part INatalie is.docx
InstructionsCookie Creations (Continued)Part INatalie is.docx
maoanderton
 
InstructionsCommunities do not exist in a bubble. Often changes .docx
InstructionsCommunities do not exist in a bubble. Often changes .docxInstructionsCommunities do not exist in a bubble. Often changes .docx
InstructionsCommunities do not exist in a bubble. Often changes .docx
maoanderton
 
InstructionsBeginning in the 1770s, an Age of Revolution swep.docx
InstructionsBeginning in the 1770s, an Age of Revolution  swep.docxInstructionsBeginning in the 1770s, an Age of Revolution  swep.docx
InstructionsBeginning in the 1770s, an Age of Revolution swep.docx
maoanderton
 

More from maoanderton (20)

InstructionsFor this assignment, select one of the following.docx
InstructionsFor this assignment, select one of the following.docxInstructionsFor this assignment, select one of the following.docx
InstructionsFor this assignment, select one of the following.docx
 
InstructionsFor this assignment, analyze the space race..docx
InstructionsFor this assignment, analyze the space race..docxInstructionsFor this assignment, analyze the space race..docx
InstructionsFor this assignment, analyze the space race..docx
 
InstructionsFor the initial post, address one of the fol.docx
InstructionsFor the initial post, address one of the fol.docxInstructionsFor the initial post, address one of the fol.docx
InstructionsFor the initial post, address one of the fol.docx
 
InstructionsFollow paper format and Chicago Style to complete t.docx
InstructionsFollow paper format and Chicago Style to complete t.docxInstructionsFollow paper format and Chicago Style to complete t.docx
InstructionsFollow paper format and Chicago Style to complete t.docx
 
InstructionsFind a NEWS article that addresses a recent t.docx
InstructionsFind a NEWS article that addresses a recent t.docxInstructionsFind a NEWS article that addresses a recent t.docx
InstructionsFind a NEWS article that addresses a recent t.docx
 
InstructionsFind a NEWS article that addresses a current .docx
InstructionsFind a NEWS article that addresses a current .docxInstructionsFind a NEWS article that addresses a current .docx
InstructionsFind a NEWS article that addresses a current .docx
 
InstructionsFinancial challenges associated with changes.docx
InstructionsFinancial challenges associated with changes.docxInstructionsFinancial challenges associated with changes.docx
InstructionsFinancial challenges associated with changes.docx
 
InstructionsExplain the role of the U.S. Office of Personnel.docx
InstructionsExplain the role of the U.S. Office of Personnel.docxInstructionsExplain the role of the U.S. Office of Personnel.docx
InstructionsExplain the role of the U.S. Office of Personnel.docx
 
InstructionsEvaluate Personality TestsEvaluation Title.docx
InstructionsEvaluate Personality TestsEvaluation Title.docxInstructionsEvaluate Personality TestsEvaluation Title.docx
InstructionsEvaluate Personality TestsEvaluation Title.docx
 
InstructionsEach of your responses will be graded not only for .docx
InstructionsEach of your responses will be graded not only for .docxInstructionsEach of your responses will be graded not only for .docx
InstructionsEach of your responses will be graded not only for .docx
 
InstructionsEffective communication skills can prevent many si.docx
InstructionsEffective communication skills can prevent many si.docxInstructionsEffective communication skills can prevent many si.docx
InstructionsEffective communication skills can prevent many si.docx
 
InstructionsEcologyTo complete this assignment, complete the.docx
InstructionsEcologyTo complete this assignment, complete the.docxInstructionsEcologyTo complete this assignment, complete the.docx
InstructionsEcologyTo complete this assignment, complete the.docx
 
InstructionsDevelop an iconographic essay. Select a work fro.docx
InstructionsDevelop an iconographic essay. Select a work fro.docxInstructionsDevelop an iconographic essay. Select a work fro.docx
InstructionsDevelop an iconographic essay. Select a work fro.docx
 
InstructionsDEFINITION a brief definition of the key term fo.docx
InstructionsDEFINITION a brief definition of the key term fo.docxInstructionsDEFINITION a brief definition of the key term fo.docx
InstructionsDEFINITION a brief definition of the key term fo.docx
 
InstructionsCreate a PowerPoint presentation of 15 slides (not c.docx
InstructionsCreate a PowerPoint presentation of 15 slides (not c.docxInstructionsCreate a PowerPoint presentation of 15 slides (not c.docx
InstructionsCreate a PowerPoint presentation of 15 slides (not c.docx
 
InstructionsCookie Creations (Continued)Part INatalie is.docx
InstructionsCookie Creations (Continued)Part INatalie is.docxInstructionsCookie Creations (Continued)Part INatalie is.docx
InstructionsCookie Creations (Continued)Part INatalie is.docx
 
InstructionsCommunities do not exist in a bubble. Often changes .docx
InstructionsCommunities do not exist in a bubble. Often changes .docxInstructionsCommunities do not exist in a bubble. Often changes .docx
InstructionsCommunities do not exist in a bubble. Often changes .docx
 
InstructionsChoose only ONE of the following options and wri.docx
InstructionsChoose only ONE of the following options and wri.docxInstructionsChoose only ONE of the following options and wri.docx
InstructionsChoose only ONE of the following options and wri.docx
 
InstructionsChoose only ONE of the following options and.docx
InstructionsChoose only ONE of the following options and.docxInstructionsChoose only ONE of the following options and.docx
InstructionsChoose only ONE of the following options and.docx
 
InstructionsBeginning in the 1770s, an Age of Revolution swep.docx
InstructionsBeginning in the 1770s, an Age of Revolution  swep.docxInstructionsBeginning in the 1770s, an Age of Revolution  swep.docx
InstructionsBeginning in the 1770s, an Age of Revolution swep.docx
 

Recently uploaded

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
cupulin
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdf
Elizabeth Walsh
 

Recently uploaded (20)

OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
PUBLIC FINANCE AND TAXATION COURSE-1-4.pdf
PUBLIC FINANCE AND TAXATION COURSE-1-4.pdfPUBLIC FINANCE AND TAXATION COURSE-1-4.pdf
PUBLIC FINANCE AND TAXATION COURSE-1-4.pdf
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdf
 

Sheet1subjectidNumeric80Subject IDNoneNone8RightNominalInputethnic.docx

  • 1. Sheet1subjectidNumeric80Subject IDNoneNone8RightNominalInputethnicityNumeric80Ethnicity{ 1, middle eastern}...None8RightNominalInputreligionNumeric80Religion{ 1, none/agnostic}...None8RightNominalInputmajorNumeric80Majo r{1, double}...None8RightNominalInputageNumeric80AgeNoneNone 8RightScaleInputgpaNumeric81GPANoneNone8RightScaleInput sexNumeric80Sex{1, female}...None8RightNominalInputCollegeYearNumeric80Year in CollegeNoneNone8RightOrdinalInputillnessNumeric80Illness{1 , 0-2 times}...None8RightScaleInputroommate#Numeric80Room mate #NoneNone8RightScaleInputroommateRelationNumeric80Room mate Relation{1, Significant Other}...None8RightNominalInputemployementNumeric80Empl oyement{1, Yes Full Time}...None8RightNominalInputstressNumeric80StressNoneN one8RightScaleInputstressCauseNumeric80Stress CauseNoneNone8RightNominalInputstressReactionNumeric80St ress ReactionNoneNone8RightNominalInputStressR#Numeric80Stres s Reaction #NoneNone8RightNominalInputFulfilledNumeric80FulfilledNon eNone8RightNominalInputmotivationSNumeric80Motivation ShortTermNoneNone8RightNominalInputmotivationLNumeric8 0Motivation LongtermNoneNone8RightNominalInputenergyNumeric80Energ y LevelsNoneNone8RightNominalInputBeckNumeric80Beck Anxiety{1, Minimal}...None8RightScaleInputHappyRelationNumeric80Hap py with
  • 2. RelationshipsNoneNone8RightNominalInputleisureNumeric80S uccificent Leisure TimeNoneNone8RightNominalInputgymNumeric80Go to GymNoneNone8RightNominalInputgym#Numeric80Hours at gymNoneNone8RightScaleInputdrinkTimeNumeric80Drink TimeNoneNone8RightNominalInputdrink#Numeric80Drink #NoneNone8RightScaleInputdrinkCompanyNumeric80Drink Company{1, Friends}...None8RightNominalInputdrinkAloneNumeric80Drink AloneNoneNone8RightScaleInput Max's Distinctive, Impressive BizTech Student Blog F r i d a y , O c t o b e r 7 , 2 0 1 6 No Sh**, Sherlock ‐ The Case of the Lost Integrity So, I’ve got a story for you. Kind of a mystery, actually. Perfect for Halloween. Turned out my awesomely killer app needed a bit of...tuning up. Jumping ahead–I learned a ton and now it really IS awesomely awesome. Took some doing, but nothing a few hours of hair‐twisting and definitely less than 8 bags of M&Ms couldn’t fix. (Hey, gimme a break. They were those tiny trick‐ or‐treat bags, ok? the “Fun” size?) Hah. Now you want some too, eh? Ok, fire up SF and grab your chocolate. Here’s how the mystery unfolded… Seeking Validation
  • 3. It started out with the smallest thing. Riley was doing her stuff, pitching investors, using my app. I was helping her out more & more with all kinds of stuff. Life was good. Until one day, I went back into SF, just browsing the database to make sure all was well & I found a Pitch record with an Equity Percentage of 125%. So, I’m not exactly a math wiz but I’m thinking–percentages. Pretty sure those are not supposed to run over 100 (despite what my middle school soccer coach used to tell us to give on the field). Hmm…. I tracked down Riley & turned out she had just mistyped it. Supposed to be 12.5 but it had been embedded there in the data awhile, probably throwing off reports, dashboards, etc and thereby throwing off Riley’s strategic moves. Rats! I fixed it but then I thought…there must be something in SF that helps keep wrong data from getting in there cuz data mistakes could really foul things up. Took some excessive Googling but I finally found it–validation rules: 1. Click Setup > Create > Objects & then Pitch Copyright © 2017 The Max Labs Project 2. Scroll down to Validation Rules and click New 3. Set Rule Name = “Equity Percentage has to be 100 or less” (any name that would make sense
  • 4. to you later on if you had a bunch of rules piled up there) 4. Look down under Error Condition Formula. That’s where you tell what condition should trigger an error message and stop the user from adding the bad data. 5. Click Insert Field 6. That should bring up a dialog box with two picklists. On the left one, Pitch > should be selected/highlighted already. That brings up Pitch fields on the right so you can choose the one you want to make the rule about. 7. Pick Equity Percentage and you’ll see a box pop up confirming your choice 8. Click Insert 9. Now you’re back on the big empty formula text box and SF should have inserted http://2.bp.blogspot.com/-ohbNlhyFn58/VO- Cw7hdcuI/AAAAAAAACFM/NMcZ6rUDvlM/s1600/new%2Bva lidation%2Brule.png http://3.bp.blogspot.com/- GoAl0GZ6k4g/VPk9UL2ScLI/AAAAAAAACNg/5ll6NQQmVT Y/s1600/insert%2Bfield2.png https://4.bp.blogspot.com/- owzJX6ZydqA/WEc8V6_pp1I/AAAAAAAAEqI/HyRO_kiHT9I GmIEDwYKC7nKeK8edUZajwCLcB/s1600/insert%2Bfield%2B %2528safari%2529.png Equity_Percentage_c in there for you. (That’s the way SF refers
  • 5. to it internally.) 10. Now you can click on Insert Operator to drop down a menu and select > Greater Than and SF inserts the symbol into the formula box for you 11. Now you have to type for yourself, sorry. Just the number “1.00” is needed. That’s what 100% is, mathematically speaking. So now it should read “Equity_Percentage__c > 1.00” when you’re done. (Click Check Syntax, just below the text box, to make sure you got it right.) 12. Now skip down to the Error Message text box and enter something cheeky like “Percentages are 100 or less. So is your IQ, apparently!” (For Riley, I did NOT enter that.) http://4.bp.blogspot.com/-8SH9EKwPzcQ/VO- Jn6mTTKI/AAAAAAAACF4/SF6xvRrSx7s/s1600/vrule%2Bgre ater%2Bthan.png http://4.bp.blogspot.com/-VVIOtJ1-Nlw/VO- KbQFIpZI/AAAAAAAACGA/rhnDvIge- QQ/s1600/vrule%2Bcheck%2Bsyntax.png http://1.bp.blogspot.com/-6XRhxsInH7g/VO- LA_m0GrI/AAAAAAAACGI/UuyNnk2tEk0/s1600/vrule%2Bme ssage.png 13. Finally, find the Error Location choice buttons at the bottom and click Field instead of Top of Page. A drop‐down menu will appear. 14. Pick Equity Percentage so the error message will appear right there, next to the bad value,
  • 6. when a user tries to enter it. 15. Click Save Now try it out to make sure it’s working. 16. Go to your Pitches tab, click New, make up something to fill in for Business Name, ignore the other fields but enter a number over 100 for Equity Percentage and click Save See the error message? Moderately awesome, eh? At least. 17. You can just click Cancel to skip the edit when you’re done admiring your work ;‐J So I figured I had Riley’s data pretty under control—pretty well protected, safe, until...I noticed she had two Pitch records with the same Business Name. What the...? I went in and looked at all their fields. They had the same Address too! But the Investment Amount and the Equity Percentage were different. They had the same contact info, i.e. First Name, Last Name, Mobile, etc. but the Pitch Dates and Follow Up dates were different too! Weird enough. But then I noticed the Pitch Date for one was the same as the Follow Up date for the other! Ultra‐weird. [Twilight Zone soundtrack] As Richard Dreyfuss would say–“This was no typing accident!” [switch to Jaws soundtrack] A bit more sleuthing with Riley revealed the culprit–Killer Clones...
  • 7. 1 http://1.bp.blogspot.com/-C1yoNtYUG5w/VO-QCU-B- II/AAAAAAAACGY/SxZXlePTcTs/s1600/vrule%2Bfield%2Beq uity%2Bpercentage.png https://4.bp.blogspot.com/- Mx2x2YnCeSU/WEdBngY_AOI/AAAAAAAAEqY/x8wL7dmbq Ewu80MmyWVvnlh7zA85W2OFQCLcB/s1600/error%2Bmsg%2 B2.png Data Redundancy (aka “Evil Twins”) So, I never got this before somehow but it turns out when you pitch an angel or VC firm, it takes awhile for them to warm up to giving you a bunch of their money (duh!) and so you might have multiple meetings with them which (unfortunately) I hadn’t really accounted for when setting up my app (d’oh!). When I finally got a clue, I got this queasy feeling. You know that feeling you get about 20 minutes into Aliens that you know the monster’s lurking somewhere on the ship, but there’s no telling where or when it will appear? This was way worse. At least I didn't have to wait long. I was staring at those messed up records, half the same, half different and it suddenly dawned on me–this was the monster’s doing! Pretend you’re Riley & I’ll show you how it happened (making up fake names, etc., of course). Today is 10/7/2016. You just had your first meeting to start a
  • 8. new pitch with a VC firm named “Spray & Pray Ventures,” located at 2870 Sand Hill Road, Palo Alto, CA 94304. You met with Julia Chavez, (510) 403‐8995, [email protected] Your meeting notes say “She thinks it’s worth considering at the $600,000 level (yay) for 30% equity but she wants to see some more work on the revenue model. Estimated closability: 60%. Meeting again on the 21st.” You’re back in your car, you pull out your phone and you’re creating the new record (but just use your computer for now, it’s easier): 18. Click on your Pitches tab and then click New to create a record for this new pitch that began with that 1st meeting today with Julia 19. Fill in the field values using the info above (“Spray & Pray”, etc) & for Comments enter the whole part above about “She thinks...the revenue model.” (you can resize the Comments textbox, if you want, by dragging the little diagonal lines on it’s lower right corner) 20. When all your data is in, click Save and then just stay on that Pitch Detail screen for now Now, unsurprisingly, the part of your business plan these investor‐types like Julia seem to be obsessed with is a silly detail–where is the revenue going to come from? (the revenue model). Julia thought your plan needed work so you had to revise your business plan for the 2nd meeting. https://2.bp.blogspot.com/-
  • 9. Sro_vCkwCBA/WEeS7gXbliI/AAAAAAAAEqk/tWu4o_19ZgMs imIHW1gIunOV3ISCl4HNACLcB/s1600/P-10%2Badded.png Now pretend today’s the 21st, three weeks later. You just had your 2nd meeting with Julia. You showed her the new revenue model and she liked it but she’s kinda snarky. She offered to up their investment to $750,000 but... ...now she says they want a 40% equity stake instead of 30%. Hey! That’s 10% less for you to bargain to other investors (or for you to split with your co‐founder). Doesn’t seem like much now but if your company gets bought out by Google someday for $500M, Spray’s extra 10% is $50 million more for them. That’s $50 million less for you. Less for you to share with your co‐founder & any other investors, that is. Nothing to sneeze at. You tell them you’ll need to discuss it with your co‐founder and get back to them in about a week. You set a follow up meeting for 10/31. Meeting’s over. Back in your car in the parking lot, you get on your phone to save your 2nd meeting info. Fast. How? Behold the Clone button(s)–two to choose from, right there next to Edit & Delete. Looks perfectly innocent. Let’s give it a try: 21. Click Clone and you’ll see a new Pitch record record appear–a duplicate that will get a new Pitch ID but all the other fields are filled with all the same data you just entered. Now on this new 2nd copy, you can just change all the fields
  • 10. that need changing: 22. Change Pitch Date to the pretend today date, 10/21/2016 23. Change Follow Up to the pretend next week meeting date, 10/31/2016 24. Change Investment Amount and Equity Percentage to show the new current terms of the deal ($750,000 & 40%) 25. Raise Closability to 70% 26. For Comments enter “She liked the new revenue model but now she’s driving a hard bargain!” 27. Click Save See that’s how she wound up with two Pitch records for one firm. No problem, right? Ok, then. Fast forward to 10/31. You’re going to clone another record for the 3rd meeting today: 28. While you’re viewing the 2nd meeting record you just created, click Clone again to make a quick & easy 3rd meeting record https://4.bp.blogspot.com/- nVjHJ5OJhl4/WEecEThpjJI/AAAAAAAAEq8/GX8k8tHaWyUs qlAlyT2hSkPilCC-Kr4PACLcB/s1600/P- 10%2Badded%2Bclone.png In this 3rd meeting, you proposed another, even better revenue
  • 11. model fix (3rd version) and proposed better terms (for you), upping their investment to $800,000 and lowering their equity to 35%. Julia says they’ll think it over and she wants another meeting on 11/15. Oh, and BTW, between now and then they’re moving their offices to 455 Castro Ave, Mountain View, CA 94041. Now edit your 3rd meeting record accordingly: 29. Update Address to the new Mountain View location above so you have it for the next meeting 30. Change Pitch Date to 10/31/2016 (pretend today) 31. Change Follow Up to 11/15/2016 (next month’s meeting date) 32. Enter the new current terms (Investment Amount = $800,000; Equity Percentage = 35%) 33. Lower Closability to 65% (because you’re pushing back a little) 34. Set Comments to “Counter‐offered her. Hah! Hope she doesn’t call my bluff.” 35. Click Save Still good? Yeah, not so much. See, the Pitch record is trying to record things about the pitch, which is pitched to one firm with one type and one address, etc. But it’s also trying to record things about each of the multiple
  • 12. meetings that make up a single pitch, like the dates of all the meetings for that pitch, comments and who you met with at each of those meetings, etc. Mixing one/pitch things in the same record structure with some/pitch things is where I made my big mistake...and took you along for the ride! Let’s take a look at the records you entered, listed next to each other: 36. Click your Pitches tab See your three Spray & Pray records? Let’s see more fields: 37. Click Create New View 38. For View Name, enter “Seeing Triple” 39. Tab to autofill View Unique Name and scroll down to Step 2. Specify Filter Criteria 40. On down, below Filter By Additional Fields (Optional): find the Field column, and on the first row, pull the menu down and select Business Name 41. Under Operator, on the same row, pull the menu down and select contains 42. Under Value, on the same row, enter “Spray” 43. Scroll down to Step 3. Select Fields to Display and under the Available Fields list, click to highlight Business Name and click the Add button, with the right‐pointing arrow, to move it over to the Selected Fields list
  • 13. 44. Repeat the last step to also move Address, Investment Amount, Equity Percentage, Closability, Pitch Date and Comments over to the Selected Fields list 45. If you got them in a different order somehow, you can always shift them around by clicking one to highlight it and then using the Top, Up, Down and Bottom arrow buttons to move it the way you want 46. Under Selected Fields, click to highlight Pitch ID and click the Remove button, with the left‐pointing arrow, to move it over to the Available Fields list to save space in the view 47. Click Save to save and display the new view with just the three Spray & Pray records 48. Click on the Pitch Date header to sort them by date with the first meeting at the top 49. Click/hold and drag the divider bars between the field headers to narrow the columns where you can to squeeze all the fields in so you don’t have to sideways scroll to see Comments but you’ll still see just the first few words of each 50. Totally optional but in some browsers (not Chrome), you can hover the cursor over the partial contents of any one of the Comments entries to see the complete contents pop up See any issues? For one, some records say Spray & Pray is
  • 14. located in Palo Alto. Others say Mountain View. At some point, somebody’s going to look it up on the wrong record and wind up missing a meeting by going to the wrong location. And they’ll be mad at my app (and me). Boo. And Riley’s happy to see the meeting dates, along with the comments about each–she likes to be able to review how the history unfolded in the meetings...BUT (!) she thinks of each pitch as having ONE current set of terms on the table (one Investment Amount & one Equity Percentage) and ONE Closability score. And she reads the reports & dashboards that way. Heck, she uses those to decide how to play things, so they need to be showing what she thinks they are. But this view shows several different, conflicting terms and closability scores for Spray & Pray. Check this out: 51. Click the Reports tab and click the Average Amount & Equity by Type report you created last time you followed along (but if you don’t still have the report, it’s ok–just see below) Spray & Pray shows up all three times in the VC category. One record says they’re asking for 30%. Another says 40%. Another says 35%. It seems to be saying they want 105% of your company! Unreal (literally). And it seems to be saying they’re thinking of giving you $2,150,000 ($750,000 + $800,000 + $600,000)! All three values are being averaged in with the other VCs, so the averages shown at the top of the report definitely don’t mean what they seem to mean.
  • 15. You lost “data integrity”. Your data’s fouled up, conflicts with itself and it’s telling you things that are just plain...wrong. “Ahhhhhhh...my database is lying to me!” Who needs that? 2 https://1.bp.blogspot.com/-kDZQIgv- c2o/WEeZ_SyPQRI/AAAAAAAAEqw/Te1uFvArxLkfjUNuo4Va Cc62AymtNoV4QCLcB/s1600/seeing%2Btriple.png http://1.bp.blogspot.com/-Bqp- AzZXYPg/VgDmRq5bFWI/AAAAAAAAD0I/pDppPrxAq3g/s16 00/bad%2Breport.png Don’t feel bad–it’s not your fault. :‐) My data model, my one entity (object) for all Pitch info, just can’t deal with multiple meetings for one pitch to one business firm. I realized this was the problem that Prof told us about before–when you don’t break up the fields into the right logical structure of separate entities (objects) connected by relationships you can get multiple copies of the same data. (“Redundancy”. Evil Twins. Boo). And when changes happen, you’ll wind up with conflicts between records (lost integrity) unless you somehow manage to keep updating all the copies of each one–fairly hopeless if there’s tons of data flying around. Bottom line? One value of current Investment Amount, Equity Percentage, Closability and current Follow Up date all go with the firm being pitched, just like Business Name, Type and Address. Not with the meeting. You shouldn’t have to duplicate all these for
  • 16. each meeting you have with them. That’s redundancy. That’s trouble. Solution ? Make it so there’s just one Pitch record for every pitch, no matter how many meetings have happened for that pitch. How? Take out all the fields that really go with each meeting–take them out of Pitch and make a new object (Meeting) out of them. Done. But then how do you know which meeting records go with which firm pitch records, you ask? Working on Relationships Prof told us databases let you break records apart, but also keep their data linked together, using relationships. If you link Pitch and Meeting together with a relationship, every pitched firm record is connected to all it’s associated meeting records. I’ll draw you a picture. Prof showed us this E/R (entity/relationship) diagram format:
  • 17. The line between the entities, the relationship, is supposed to have some symbols like “crow’s feet” to show the “cardinality,” meaning “how many of these goes with one of these,” etc. I left them off here to give you a little quiz. Could you add them yourself? Gopher it! :D K, nice pic but how do you do this in SF? First, you’re going to delete the Spray & Pray records you added for the 1st and 2nd meetings. You’re going to have just one Pitch record for every firm being pitched from now on, right? That’s the whole idea. (Yeah, in a few, you’ll have to re‐enter some of that data again. Sorry, but...) 52. Click on your Pitches tab 53. For each of the records from the first two meetings, ($600,000 and $750,000), click on the Pitch ID and click Delete and Ok https://4.bp.blogspot.com/- x5PtSKBpWyU/WEeggSxwgpI/AAAAAAAAErQ/whVFG3y0pn
  • 18. Ex2r2ebyJ59_H8aglNk1BjQCLcB/s1600/pitch%2Band%2Bmeet ing%2Berd%2B2.png Now create a new custom object named Meeting: 54. Go to Setup > Create > Object and click on New Custom Object 55. For Label enter “Meeting” 56. For Plural Label enter “Meetings” (shows up if/when you make a tab for it) 57. Object Name should have autofilled already 58. For Record Name change it to “Meeting ID” 59. For Data Type select Auto Number 60. For Display Format enter “Mtg‐{00}” 61. For Starting Number enter “1” 62. Check Allow Reports and check Allow Activities
  • 19. 63. Click Save Now you’re on the Custom Object Meeting page and you can connect Meeting to Pitch (create the relationship) by adding a field that tells, for every meeting record, which Pitch it goes with: 64. Scroll down to Custom Fields and Relationships and click New 65. For Data Type select Lookup Relationship and click Next 66. In the Related To drop‐down menu, select Pitch and click Next 67. Field Label should already be showing “Pitch” 68. Below that, in Field Name, type in “Pitch” (or click in Field Label & tab to autofill) 69. Click the checkbox to Always require a value in this field in order to save a record
  • 20. 70. Click Next, then Next, then click Next again 71. Click Save & New (you’ll be adding some more fields momentarily...) Now, whenever you add a new record directly to the Meeting object, SF will give you a choice of the existing Pitch records to connect that meeting record to. (They’ll appear in a popup window list for you to choose from.) Ok, you created Meeting & you connected it to Pitch. Good. Now you want to move those Pitch fields that don’t belong there into Meeting. Unfortunately, you can’t just drag & drop them. Sorry. You have to create them in Meeting and then delete them out of Pitch. Relax. You know how to add fields. For each one, you just select the data type you want, then
  • 21. click Next, then fill in field label and whatever, then click Next > Next > Save & New, right? Now just do all that to create those five fields from Pitch that will now be in Meeting instead. For each of the next five steps, just use the values given and add the new field: 72. To add the first one, pick data type Date; in Field Label enter “Meeting Date” and check Required (only for this first one, though) then Next > Next > Save & New Now do the same thing for the rest of the four fields. Just use the values given in each step and do the Next > Next > Save & New thing at the end of each: 73. Pick data type Text Area; in Field Label enter “Comments” and then just finish it & go on 74. For the next one, pick data type Text; Field Label = “Contact Name” & Length = “30”
  • 22. 75. Next, pick the data type Phone; Field Label = “Mobile” 76. Last one: pick the Email data type; Field Label = “Email” (but still click Save & New again at the end!) Now one new field–Riley said for each meeting, she also likes to record how enthusiastic the person is on a scale of 0‐5 (5 being super‐excited and 0 being “meh”). Guess it helps her bluffing & such. 77. Use the Number data type with Field Label = “Enthusiasm” and Length = 1 and Decimal Places = 0 but this time just Save at the end–no more fields to add Now, whenever you view details of a Pitch record, at the bottom, SF will show a “Related List” of all the Meeting records that go with that pitch! So now, just tell SF which Meeting fields you want it to show there:
  • 23. 78. Go to Setup > Create > Objects > Pitch (NOT Meeting) 79. Scroll down to the Page Layouts section and click Edit on the Pitch Layout row 80. Scroll down to Related Lists at the bottom and click on the wrench icon to edit Properties 81. From the Available Fields list, find Meeting Date, click to highlight it and then click the Add button, with the right‐pointing arrow to move it to the Selected Fields list 82. Repeat that last step for Comments, Contact Name and Enthusiasm 83. Click OK and then just scroll up a bit to the Pitch Detail section on the same page Ok, one last bit of restructuring left. Those fields that didn’t really belong in Pitch are now in Meeting. Cool. But the Pitch object still has them in it too. See? There they are showing up in the Pitch record layout. To keep things tidy, we really should delete
  • 24. the fields from the Pitch object. But for now, it’s easier to just use this layout editor to hide them so they don’t show up as part of the Pitch data when it’s being viewed: 84. Just move the cursor over the first victim, Pitch Date, and you’ll see it highlight in blue & the wrench and the minus button will appear on the right 85. Just click (you guessed it) the minus button to remove it from the Pitch display layout 86. Now repeat the last step for each of the other fields that shouldn’t show up as part of the Pitch data anymore (Comments, Contact Name, Mobile, and Email) 87. When they’re all out of the layout, click Save (upper left of the layout editor) All good! That was a pain, I know, but worth it, b/c now your new structure (“schema”) is super‐ improved and will keep your boss happy. No more lost integrity. No more mysteries.
  • 25. http://3.bp.blogspot.com/- s635qsBaS7A/VPJU7urG58I/AAAAAAAACJ8/qH4zNFHELe4/s 1600/related%2Bwrench.png https://4.bp.blogspot.com/- 8BvW7yzrVSo/WBaLLz83CLI/AAAAAAAAEh8/- J3nUe0PH6YoZYBNoGJm7MsJYTJ06uCMACLcB/s1600/layout %2Bsave.png Check out the new structure: 88. Go to your Pitches tab and click on the Pitch ID for the one Spray & Pray record that’s left, to open up the record details The Pitch terms should show the current levels, as of the last (3rd) meeting ($800k, 35%) and Follow Up should be 11/15. Notice the new section at the bottom for listing the related meetings for this Pitch. Of course, it’s empty at this point but there’s that New Meeting button just waiting to be clicked: 89. Click the New Meeting button
  • 26. 90. Notice that the new page, for adding in the data, shows the Pitch field already filled in with the right ID for Spray & Pray 91. Enter the Meeting Date for the first meeting, 10/7/2016 92. Enter the Comments which were “She thinks it’s worth considering at the $600,000 level (yay) for 30% equity but she wants to see some more work on the revenue model.” 93. Enter the Contact Name as “Julia Chavez” 94. Enter the Mobile as “(510) 403‐8995” 95. Enter the Email as “[email protected]” 96. Enter the Enthusiasm as “2” 97. Click Save That’ll open up a page showing the details of the new record. (And places to log tasks, calls & emails below but ignore those for now.)
  • 27. To add the other two meetings easily, the Clone button is now our friend: 98. Click Clone 99. Change the Meeting Date to 10/21/2016 100. Change Comments to “She liked the new revenue model but now she’s driving a hard bargain!” 101. Change Enthusiasm to “5” 102. Click Save https://3.bp.blogspot.com/- UVv9beFAxvA/WEeqlubeEyI/AAAAAAAAErg/AEqlKjA1ylQR Et- Zb53lSSilvyKOB2dNACLcB/s1600/new%2Bmeeting%2Bbutton .png Older PostsHome
  • 28. Now for the last (3rd) meeting: 103. Click Clone 104. Change the Meeting Date to 10/31/2016 105. Change Comments to “Counter‐offered her. Hah! Hope she doesn’t call my bluff.” 106. Change Enthusiasm to “4” 107. Click Save Now go admire your work: 108. Click on the Pitches tab 109. Click on the Pitch ID for Spray & Pray to open up it’s details Now you see things the way Riley likes them. One Pitch record with one set of details that go with the firm being pitched–one business name, one set of the terms of the current deal, the one current follow up date, etc. AND all the meeting history, with
  • 29. one set of those details (contact name, comments, enthusiasm level) for each meeting. Case closed, Watson. Integrity found. Mystery solved. All good. Until the next snag... Powered by Blogger. 3 https://4.bp.blogspot.com/- QoMSLNwvVHk/WEhgGFlBOQI/AAAAAAAAErw/9QW8mnb0 0D4kU0c3- XLBmK2_FJnqb8ccgCLcB/s1600/meeting%2Blist.png Max's Distinctive, Impressive BizTech Student Blog T h u r s d a y , N o v e m b e r 3 , 2 0 1 6 Data Fright II: Like Deja Vu All Over Again So you know in scary movies, how at the end, the monster/bad guy/whatever finally gets killed in
  • 30. some heinous fashion and everything’s all good and everyone’s all relieved but then, magically, he pops up & starts terrorizing again one last time? And you can kind of tell, just before it happens b/c things seem a little too ok? (And the credits didn’t start rolling yet?) So yeah, welcome to my reality. After my last post, I knew my app was way better, more logical, but I had this sneaking suspicion that something still wasn’t quite right...something heinous was still lurking in the shadows. Something...clone‐y. Hate that thing. Ok. So. It was a dark & stormy night...(not really, but...)...I was all alone in the house (ok, my dorm room, actually) and something made me open up SF. Slowly I typed. Tap...tap...tap. Follow along if you dare. Those with heart conditions may wish to refrain. First, to truly see how the data monster rose again, we need to fill in the rest of your Meeting data. Don’t worry. I did all the typing so you don’t have to. (After making you type stuff in & then delete it last time, hey, I owed you.)
  • 31. So I made an import file of data that was sitting in Pitch before we knew it didn’t belong there —Contact Name, Email Address, Comments, etc. so you can just import it straight into that new Meeting object you added last time. (Oh, and I also added data values for your Enthusiasm field, to be super‐complete.) Now, this import’s a little trickier than the one you did before back in the Slicer/Dicer post b/c you have to connect the Meeting records to the Pitch records they go with, so be safe—don’t text & type! Just follow closely & no one gets hurt: Copyright © 2017 The Max Labs Project 1. First, click the link below to download the Meeting data file. (If you’re using Windows and certain browsers, you might need to option‐click the link and select Download. If it opens in Excel—just save it out as a file with the .csv extension. You just want to place it on your
  • 32. desktop or somewhere you can find it a few steps from now to bring the data into SF.) http://tiny.cc/MaxsMeetingData 2. Then, in SF, go to Administer > Data Management > Data Import Wizard 3. Click on the green Launch Wizard button 4. Under “What kind of data are you importing?” click the Custom Objects tab. That should show Meetings and Pitches below. 5. Click on Meetings this time. That will open a middle box labelled What do you want to do? 6. Click on Add new records 7. ***NOW*** the slight twist—near the bottom of the center panel, where it says Which Pitch field in your file do you want to match against to set the Pitch lookup field?, pop open the menu labelled ‐‐None‐‐ and select Pitch Name
  • 33. 8. Then in the right hand column of the page, you’ll see where you can drag that .csv file onto the panel labeled Drag CSV file here to upload so drag and drop it there now 9. Once you have the file selected properly, the green Next button that was dimmed before should be bright, inviting you to click it, so go ahead and click Next 10. The next page that appears, Edit Field Mapping: Meetings, should show a perfect match between the SF Meeting object’s field names and the column headers in the .csv file and it even shows you samples of the data that will be going in 11. Click the green Next button 12. The next page that appears should say you have 7 mapped fields (and 0 unmapped ones) and then you can just click the green Start Import button 13. A popup window should appear with a congratulations and you can just click OK
  • 34. 14. You’ll get an email saying your import is complete 15. Then you should see a page of stats you can ignore about the import Now, to make sure that all worked, you need to make a Meetings tab: 16. Go to Setup > Create > Tabs 17. Under Custom Object Tabs click New 18. Pull down the Object menu & select Meeting 19. Click the magnifying glass next to Tab Style & click on the cute little red Presenter dude 20. Click Next, Next & Save Now create a view that’ll show everything in the Meeting records: 21. Click your new Meetings tab, up there next to the Pitches one & click Create New View
  • 35. 22. For View Name enter “All Meeting Data” 23. Tab to autofill View Unique Name 24. Scroll down to the Step 3. Select Fields to Display section 25. In the Available Fields list, click Meeting Date to highlight it and then click the right arrow button under Add to move it into the Selected Fields list 26. Repeat the last step for Contact Name, Email, Mobile, Enthusiasm & Comments 27. Scroll down and click Save http://tiny.cc/MaxsMeetingData Now you should see all the Meeting data with the three records you created last time for the meetings with Julia Chavez at the top. Below that—ten new records of meeting data taken from fields that weren’t supposed to be in Pitch records, eg. the contact info, comments, etc. Ok. They’re all there but are they really each connected to the
  • 36. right Pitch records? Let’s see: 28. Click on Edit for the 9/15/16 meeting with Maria Valducci 29. The meeting details page shows this meeting is connected to Pitch P‐007—click the little magnifying glass just to the right of the Pitch slot so you can see if that’s the right one 30. In the popup window that appears, you can see that Pitch P‐007 was made to Valducci Amalgam—yep, that’s her angel firm, alright. Amazing, eh? 31. In the Search... textbox at the upper left of the popup window, replace the highlighted “P‐ 007” with “P” and click Go! (matches all Pitch IDs that start with “P”) 32. Now you’ll see a list of all the Pitch records and you could click one of those Pitch IDs to reassign this meeting to a new Pitch—go ahead! Pick a wrong one if you want—it’ll be ok! 33. Now you’re back on the edit page so just click Cancel so you don’t save your change
  • 37. Just to be sure, check that Pitch records are connected to the right Meeting records too: 34. Click on any one of the Meeting ID’s in the list 35. On the Meeting Detail page, click on the Pitch ID for that meeting to open that Pitch Detail page and find the related list of Meetings section you added to that layout last time Slick, eh? Seems like life is all good. We killed the dupe monster at the end of the last episode, right? But wait...the credits aren’t rolling yet <sigh>: 36. Click on your Meetings tab, make sure the View menu says “All Meeting Data” & click Go! 37. Click on the Contact Name header to sort the records alphabetically by Contact Name Now take a closer look at the Julia Chavez records. Notice anything...uh...dupe‐y looking? Remember, at the end of last time, you were pretending to be
  • 38. Riley. You had three meetings with Julia Chavez so you created the first meeting record and then cloned it twice to save time, right? (My bad—I told you to.) But you were duplicating her phone number and email address each time. See? What if I tell you she just changed her phone number to (408) 812‐1223 or has a new email address? You would have to make sure you change it in all three of her meeting records or...yup, lost integrity again. That’s what happened with my app for Riley. Major :( rhee...rhee...rhee https://1.bp.blogspot.com/- UJ59ZRfXepA/WBwAi9n30dI/AAAAAAAAEis/Cls7pds9OCc0 RzbyjU6OyUDZRA5dLQIpwCLcB/s1600/screampic2%2Bcopy.j pg Breaking Up, New Relationships & Becoming Normal(‐ized): A Database Therapy Session
  • 39. Last time, getting the meeting fields out of the Pitch object got rid of duplicated street address data for the businesses—one address for one pitched firm record, connected to all its meeting records—the famed “one to many relationship,” right? So why was there still duping happening? Finally lightning hit me (not literally, thank god)—One contact has one phone number, one email, etc. but can attend many meetings. The “many meetings” part is what’s causing the duping, just like with Pitch before.