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
pu 7pu 7 

creating custom approval list llightning component and need to use the standard approve Reject functionality of lightning.

Hi,

I'm working on a project in which I need to customize the Items to approve list(i.e Approval Items) which shows on Home page. I want to create Approve/Reject and Reassign link and want that it whould work as per the standard functionality of lightning view. As per standard functionality I want that in lightning component it will open modal dialog box. Can you please suggest me how we can achiveve it.

Below is the way in which standard functionality behave.

User-added image

User-added image

I have created the component but not getting hot to create approve, reject and Reassign link that behave in same way as standard link.

User-added image
Please suggest me allthe possible way to do it and also guide me how I can Identify using code that we are in lightning mode or classic mode so that I can modify the links and use the lightning component in Classic VF page and in Lightning.

Thanks in advance.
nk 907nk 907
Did you got the functionality...??