I have a custom tab in opportunity object in that tab the fields are added through action layout editor, user wants to attach files in that custom component , how can i add the files in custom tab? Reference for example in opportunity chatter is my custom component i need to add files section where user can attach files in that tab.
Based on comments, You can achieve it using lightning app builder:-
- Go to your opportunity lightning record page
- click on edit page by clicking on setup icon on right top of the screen
It will open lightning app builder where you can configure the opportunity lightning record page.
- Now, click on tab component where your details , related and activity tab exist. Add a new tab there and give a custom name
Now, save and activate the page. You can see your record page like:-