Feb 24, 2022 02:04 PM
We’ve created an address book of sorts, and I could use your help in creating a dynamic single-select field. Here’s the scenario:
We have two tables: (1) tbl_organizations and (2) tbl_individuals. Any given organization may (and often does) have multiple individuals linked to it. However, we’d also like to designate one of these individuals as the primary contact for the organization.
Here’s it written out as an example:
Is something like this possible? Do folks have other creative solutions for getting similar results?
Solved! Go to Solution.
Feb 24, 2022 03:09 PM
Hey @Alex_Smith! Welcome in!
I’m a little bit confused about what the final product should look like.
Okay…
Organizations have Individuals.
Those individuals are linked to their respective orgs.
Despite every individual being linked to the organization, we need to identify which contact is a primary contact.
For the scenario you wrote out, you just need to designate the contact types in the Individuals table.
In this case, I’ve just used a single select to define common contacts versus primary contacts.
Next, I created a rollup field that displays the names of contacts that are designated as primary contacts.
I went with the rollup field because it allows me to account for organizations that might have multiple contacts that are primary account owners.
If there are multiple primary contacts, then the rollup will just add that name to a new line in the field.
Think of it as future/scale proofing your data model (if it matters to you).
Is this along the lines of what you’re looking for?
Any additional context would be greatly appreciated so I can piece something together for you!
Feb 24, 2022 03:09 PM
Hey @Alex_Smith! Welcome in!
I’m a little bit confused about what the final product should look like.
Okay…
Organizations have Individuals.
Those individuals are linked to their respective orgs.
Despite every individual being linked to the organization, we need to identify which contact is a primary contact.
For the scenario you wrote out, you just need to designate the contact types in the Individuals table.
In this case, I’ve just used a single select to define common contacts versus primary contacts.
Next, I created a rollup field that displays the names of contacts that are designated as primary contacts.
I went with the rollup field because it allows me to account for organizations that might have multiple contacts that are primary account owners.
If there are multiple primary contacts, then the rollup will just add that name to a new line in the field.
Think of it as future/scale proofing your data model (if it matters to you).
Is this along the lines of what you’re looking for?
Any additional context would be greatly appreciated so I can piece something together for you!
Mar 11, 2022 08:50 AM
Ben, this is super helpful and exactly along the lines of what I was thinking. I really appreciate your thorough response!