I am trying to create lightning component which should be specific to one custom object record only.
I added the component to Community Builder Custom object detail page. The problem I am facing is this component is coming up for all record detail pages like Account, Contact, Other Custom objects etc.
I tried using force:hasRecordId interface as well but it just for passing the record id. How can I restrict the Lightning component for specific Custom Object detail page only?
Best Answer
You can use Page Manager and build your own page in Napili Template .
You can pull of the Standard Detail Page components and your custom components there and expose that as a Tab .