[SalesForce] Pass data from Lightning to Visualforce page

After getting a list of record in my lightning component from an apex controller, I want to pass the data to a visualforce page for printing the data. Please, I'd like to know how can I send the data from component to the VF page for doing the print.

Thanks in advance!

Best Answer

You can pass some of the basic parameters in the URI for your VF page and then use the parameters to get whatever data you need to display in your PDF.

Eg: URI= /apex/Mypage?id='idvalue'&parameter='parametervalue'

Related Topic