Closed samschlicht closed 7 months ago
This article was short and readable and gives a simple breakdown of what SF objects are and how to make them.
To summarise, SF comes with standard objects such as leads, contacts and opportunities but sometimes you have a data object that would be useful to present in the same way (SF objects are essentially a graphic interface for rows in a spreadsheet, with the added bonus that they can relate to other objects, ie. parent job opp <-> child candidate opp). The article suggests customer invoices as a typical use case.
This video digs further into the rationale of when to create custom SF objects.
In short, according to the article the Qs to ask yourself are:
With regard to this Trello issue, here are some reasons why we might choose not to create a custom SF object:
The pros would be as follows:
The alternative would be to set up a global picklist value set that reflects the TC's occupation list names exactly. This still offers good reporting and API capabilities but with the disadvantage of needing to maintain carefully the occupations list in both places.
My conclusion would be that this is not a typical candidate for the custom-object option, because an occupation doesn't hold much of its own data at all, and so could adequately be captured by a picklist item.
As an ongoing question of where we spend our limited time, this might exemplify an instance where we take the expedient option instead.
That being said, this approach does hold some salient advantages over a custom field. And we haven't tried it before, so perhaps the knowledge gained would make it worthwhile to give it a go as an expansion of this spike?
Okay, discussed this with the group.
Useful exercise, but we've opted not to go ahead. John made the point that we generally don't want typed objects on both the TC and SF — ideally the TC will hold the object and SF will accept whatever's passed. (i.e. in most cases a free-text field.)
For the time being, this won't work for countries, since country is set on both platforms — we'll have to keep the lists updated in both places until we are handling job creation in the TC instead of SF.
However, occupations is a great candidate for this approach, so I'm going to give that a go.
Noting this rather cool resolution to a concern that I had, which I'll try to explain first:
Well, there's a lovely solution for that:
So, that's how we pass multiple values to SF and maintain its data integrity while keeping the list current in one place.
And noting that the same setting is available for single-select picklists 👍
Argh, sadly SF's reporting on multi-select picklists is useless! And so it replicates the issue you would have with a regular string (counting the phrase rather than the individual items). However, there is this app, which adds a bit of functionality — so this is probably the best solution short of creating custom objects.
But the custom object debate lives on! Noting of course that the drawback of objects is having type on SF and TC and needing to keep the lists aligned. On balance, multi-select probably still the best option.
Background:
As well as wanting to understand better this SF feature the specific question is: do occupations need to be an object in SF? What would be the advantages if any over e.g. defining a global picklist value set for a custom field?