![](https://cdn.prod.website-files.com/621ffb9987a4890ced10ab9b/64e41ea5242cad74b6972378_Screenshot%202023-08-21%20at%2010.33.38%20PM.png)
^ Sample dynamic layout for a job changer at their new company (right panel)
Background:
Guided video walkthrough (< 5 mins)
These dynamic tiles allow your users to quickly and easily see all relevant information about a job change, directly on the Lead or Contact.
- The great thing about this feature is that we can choose to only display the tiles if there was a job change on the lead/contact being viewed.
For each job change that we recognize, we insert a record under our custom object “UserGems”
- This junction record connects the Past Contact with the New Contact and stores all of the data that we have on the job change and their new company
- To set up these custom tiles, we are reading out of the UserGems record that is linked to both the Past & New Contacts
Level of Effort:The instructions below typically take between 5-10 minutes
Permission Requirement: End users will need EDIT access on the UserGems object to see these dynamic layouts (READ access required for the fields on this object)
Tile for New Lead and/or Contact page:
This tile will only show up for net-new job change leads/contacts, giving reps context that it is a job change and showing them data about your prior relationship with the person.
If you have configured UserGems to create both Leads & Contacts, we recommend adding this component to both the Lead & Contact lightning pages. You can re-use the same Action for both objects.
1) Go to the lightning layout on the Lead/Contact object that is assigned to your reps
- If you have never created one for this object, the easiest way is to go to any lead/contact record and click “Edit Page”
![](https://cdn.prod.website-files.com/621ffb9987a4890ced10ab9b/64d39a0d5ff1b61810a0b9ed_UqrNhRX9FVcCO2gJkyJG9aYeRvDrS3T0KztgeF6UUoKDmRBe3BtKWD4n-WyP1GW9e4pyqpwBupB7ZBmthksZwJnETYWfNNitg4yH494KiT4f5UisjDEWJabRN11nLqjKQY6RNv3Wn80BnGNjgeV6jRA.png)
2) Once in the lightning page editor, search for “Related Record” on the left, and drag the component to where you want it on the page (likely just beneath the other Tile we added above)
Give this component an appropriate label (ex. “UserGems - Job Change Info”)
Lookup Field:
- First Lookup = “UG - Infos”
- Second Lookup = “Use This UserGems__UserGems__c”
![](https://cdn.prod.website-files.com/621ffb9987a4890ced10ab9b/651b24deecf5365cef1847eb_Screenshot%202023-10-02%20at%204.14.58%20PM.png)
Update Action = “UserGems Tile for New Contact”
Create Action = Blank
Lastly, within this side panel, scroll down to see Component Visibility and click ADD FILTER
- Filter Type = “Advanced”
- Field = "Record" -> “UG Infos" -> "Name"
- Operator = “Not Equal”
- Value = Blank
![](https://cdn.prod.website-files.com/621ffb9987a4890ced10ab9b/6557c87b6b878a2ccb5964a3_Screenshot%202023-11-17%20at%203.09.16%20PM.png)
See video walkthrough on adding this Related Record component
3) Customize your layout (optional)
- Navigate to the custom action "UG Tile for New Contact" (on UserGems object) and click "Edit Layout" to customize which UserGems object fields are displayed on the layout
![](https://cdn.prod.website-files.com/621ffb9987a4890ced10ab9b/651edbd6a2b1f8fdd8fb356d_Screenshot%202023-10-05%20at%2011.52.43%20AM.png)
If you want to pull any custom data from past contact or account into this tile, simply create a formula field on the UserGems object to pull it in - then you can add to the layout
Tile for Past Contact page:
![](https://cdn.prod.website-files.com/621ffb9987a4890ced10ab9b/64d40b39688670eea89f2a69_Screenshot%202023-08-09%20at%205.54.41%20PM.png)
Typically UserGems customers only track Contacts for job changes, which is why we only recommend adding this tile to the Contact and not Lead page.
This tile will only show up for someone who UserGems has determined is no longer at their company. Our goal is to make it clear that this contact info is no longer up to date and to link users to the Current Contact which you can see in the screenshot above.
1) First we need to create a new field on your Contact object that will be used in the Component Visibility filtering on Step 3 below
- Label: UG - Left Company
- Type: Formula (Return Type = Checkbox)
- Formula: NOT(ISBLANK( UserGems__HasChangedJob__c ))
- Do not need to add this to any layouts
2) Go to the lightning layout on the Contact object that is assigned to your reps
- If you have never created one for this object, the easiest way is to go to any contact record and click “Edit Page”
![](https://cdn.prod.website-files.com/621ffb9987a4890ced10ab9b/64d39a0d5ff1b61810a0b9ed_UqrNhRX9FVcCO2gJkyJG9aYeRvDrS3T0KztgeF6UUoKDmRBe3BtKWD4n-WyP1GW9e4pyqpwBupB7ZBmthksZwJnETYWfNNitg4yH494KiT4f5UisjDEWJabRN11nLqjKQY6RNv3Wn80BnGNjgeV6jRA.png)
3) Once in the lightning page editor, search for “Related Record” on the left, and drag the component to where you want it on the page (can be a standalone tile or within a tab if you use those)
Give this component an appropriate label (ex. “UserGems - New Job Info)
Lookup Field:
- First Lookup = “UG - Infos (on Past Contact)”
- Second Lookup = “Use This UserGems__UserGems__c”
![](https://cdn.prod.website-files.com/621ffb9987a4890ced10ab9b/651b24a860b02f21e38e4c3e_Screenshot%202023-10-02%20at%204.14.06%20PM.png)
Update Action = “UserGems Tile for Past Contact”
Create Action = Blank
Lastly, within this side panel, scroll down to see Component Visibility and click ADD FILTER (we will be adding 2):
Filter 1:
- Filter Type = “Advanced”
- Field = "Record" -> “UG Infos (on Past Contact)" -> "Name"
- Operator = “Not Equal”
- Value = Blank
Filter 2:
- Filter Type = “Record Field”
- Field = "UG - Left Company" (the field we just created in step 1)
- Operator = “Equals”
- Value = TRUE
4) Customize your layout (optional)
- Navigate to the custom action "UG Tile for Past Contact" (on UserGems object) and click "Edit Layout" to customize which UserGems object fields are displayed on the layout
![](https://cdn.prod.website-files.com/621ffb9987a4890ced10ab9b/651edc19bdd89b9391cab60c_Screenshot%202023-10-05%20at%2011.53.54%20AM.png)
To add a "This contact has left the company" banner to the layout as well, simply drag a “Rich Text” component onto the page with the component visibility of "UG - Left Company" = TRUE.