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
Ricardo Coutinho 7Ricardo Coutinho 7 

Combine Lightning Components in VisualForce Pages

Hi :)

I'm developing some Lightning Components and i have a big project in VisualForce Pages.
I want to replace some of the features for Lightning Components, for instance, i have a search system, and the ideia is to replace that search with a lightning component search.
Can i combine a lightning component search with results in VisualForce Pages?
My doubt is: If i search something, the results will appear in the VisualForce Pages like normal? Or i need to create another component to show the results?

Best Answer chosen by Ricardo Coutinho 7
Srinivas SSrinivas S
Hi Ricardo,

1. Create a Lightning component with necessary attributes and the logic to search.
2. Create a Lightning Application using Lightning Out, please see the following documentation to embed lightning application in visualforce page -

- Please mark as solution if your problem is resolved.