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
Javier CGJavier CG 

Launch a Lightning Component from OpportunityLineItem layout

I need to replace a javascript button to use it in LEX.
The original button does some validations and, if everything is correct, then calls a VF page.
I have created a Lightning Component to replace the js button, and my intention was to call the LC with an action. The problem is that OpportunityLineItem doesn´t let me create an action. I only can create buttons or links, but not actions.
There is some way to do this?
Javier CGJavier CG
The same occurs in the CampaignMember object.
Any idea?