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
Haider NaseemHaider Naseem 

Issue with Lightning Component Tab

Hi All,

I am working in a classic to lightning migration scenario.

In classic, we have a detail page button (Content Source: URL) that opens up a visualforce page.

In lightning, I created a lightning component similar to the visualforce page. Then I created a detail page button (Content Source: URL) to launch the standard lightning component tab. This Lightning component tab does open my lightning component but does not run Init(). 

Could you please suggest me the best approach to go about this type of migration? Also, how to fix the problem where init() is not called on opening the Lightning Component Tab?

Your suggestions are much appreciated.

Regards,
Haider