 Hello, friends. I'm Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, I'm going to demonstrate you how you can show related parent record details on child record in Salesforce. For this, we are going to use two things. First, we need to create protection that will be a data record and then we will be going to edit the lightning pace and we will be placing a component that is related record, right? So before starting, if you want to watch more Salesforce training videos, you can go to description of this video and you can find links of various playlist there. Now I'm starting the demonstration. So first I'm moving to account object creating a quick action here. So I'm choosing a data record name is related account and clicking on save. So now it will provide me a page layout where I can place account related fields. So I'm choosing these fields only. Those are listed here and I'm clicking on save, right? So this way, this quick action is available to use. Now if I move to any contact, so if I open this contact so you can see on contact we can populate account so we can relate a particular contact with account. So here it is available but on contact record we don't have account details available, right? So we need to click on this so that we can have compact layout or we can, sorry, we need to hover this so that we can see compact layout and if we click on this then we can see the account record in new tab. But if I want to show account details in a particular component, right? So for that purpose I need to click on this gear icon, clicking on edit page. So after creating quick action we need to choose a particular component that is related record. So this component we need to drag and drop to contact page. So I'm dragging and dropping it here so here you can see it is being placed and here at right-hand side you can see related record component related information are available. So here we need to choose the lookup field so use this contact. So I am choosing account name, right? Clicking on done and here we need to choose the quick action, right? So update account so we created related account quick action right now so it is by default available here because this is the only one and if we hover this so select the action used to view and edit the related record. If no action is available create the action or select a different lookup. To change the displayed fields customize the action in setup if you don't see the action or can't modify it create a new one, right? So we have only one update action so that's why it is by default selected and if you want to choose the create action so it is also selected and here select the action used to create a related record, right? So this way first you need to choose the lookup field and then related action and from here we place the related record component so now I am clicking on save. So on child component you will be able to see, sorry on child record you will be able to see the details of parent record in a component so we are on contact and if I scroll it down so here you can see account details are available. So account name, type, phone, website industry five fields are available. If you want to place more fields so you can go to account and from here you can search that related account if you click action you can click on edit sorry don't click yeah so if you go to that related account so you need to click on this label so that this layout option will be available you can click on edit layout and here you can see if I want to place one more field let's say active annual revenue, customer priority and I am clicking on save moving to contact and doing a refresh so you will see three more fields will be available there. So if you choose update quick action, update or record quick action so we have two facilities we can view the details as well as we can edit the details so it is not visible so yeah now it is saved so I need to refresh it again so sometime there is a refresh issue so you can do a hard refresh using control shift and R so that cache will be raised and the changes will be reflecting so now you can see one two three four five six seven eight total eight fields are available here and if you want to edit this record from here so you can do that as well so it is modified so view and update option are available and if you have access to contact and on account as well so you can modify both from a single page now so here you can see details of this account sorry contact and at right inside in this component you can see details of account as well which is associated with this right so I hope with this you understood how we can show information of a related parent record details on child record itself so you need to use two things for that first you need to create a correction and then you need to use the component related record on the lightning page so I hope this video will help you to implement this thing and if you want to watch more Salesforce training videos you can go to description of this video and you can have links of various there thank you for watching this video