How to rename pdf?

How to rename pdf?

Hi all,

I have a formula to download an html view as a .pdf file. When it downloads, the filename is beo.pdf (my page is called BEO). Is there anyway I can name the file with some fields from the view (ie mmddyy_title_beo.pdf or similar?)

I'm attaching the function for reference in case it might help somebody else at some point.
  1. void BEO.LoadBEOpdf(Events ThisEvent)
  2. {
  3.     openUrl("https://creatorexport.zoho.com/jeffzearfoss/catering/pdf/BEO1?ID=" + ThisEvent.ID, "new window");
  4. }