function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Carrlos BoydCarrlos Boyd 

Can I use a Lightning Path in a related list

I have a related list on a custom object that show the status of the records in the related list. The records themselves use the Path feature to show where the record is located in the status timeline. Can I show the Path in the related list rather than text fields?
Raj VakatiRaj Vakati
I belive you can able to do it with the code 


A lightning:picklistPath component displays the progress of a process, which is based on the picklist field specified by the picklistFieldApiName attribute. The path is rendered as a horizontal bar with one chevron for each picklist item. Paths created by this component do not have key fields or guidance and do not display the Mark Complete button.
 
https://developer.salesforce.com/docs/component-library/bundle/lightning:picklistPath/documentation

https://developer.salesforce.com/docs/component-library/bundle/lightning:path/documentation
 
<aura:component implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" >
    <lightning:picklistPath aura:id="picklistPath" recordId="{!v.recordId}"
        variant="non-linear"
        picklistFieldApiName="LeadSource"
        onselect="{!c.handleSelect}">
    </lightning:picklistPath>
</aura:component>

 
Carrlos BoydCarrlos Boyd
Can you give me some guidance on how to implement this?