• Uditi_Verma
  • NEWBIE
  • 10 Points
  • Member since 2018
  • Software Engineer
  • AppShark Softwares

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hi,

I have created a VF page and its controller extension to generate and save a PDF report in related Files on a button click. Now on button click, I just want a PDF should get saved in related Files to the record and the page should get redirected to its record detail page without displaying the PDF. This is to be done in Lightning and not Classic. So, I can't even pass record link and a record ID anywhere.

Please do suggest ways to do this. Any help would be highly appreciated.