I have created a lightning component that opens as a popup which requires some input from the user using based on which he is redirected to an external link. All of this functionality works correctly and the lightning component is a quick action. But the issue is that the quick action gets added to the Chatter feed of that particular record.
Is there any way that this remains as a button. The chatter feed shows the page when we click on the feed. I have added the lightning component as a button but still has no effect. How can I disable it to be shown on chatter feed and instead show up as a button?
The case detail page has the button listed under "Salesforce Mobile and Lightning Experience Actions". The lightning component itself implements the below:
Apart from this, with respect to the UI, I can see that there is a question raised exactly similar to this.
I do not see any solution provided to this question either. But I have a similar problem and the button in my scenario is also added to the case details page layout. It would be great to solve this nagging issue.
If there is an easy alternative to invoke this component through a regular button using a JS, that would also help a lot.
Thanks for any help!