Assistance with Passing "defaultFilename" to SaveAs Dialog Box

Hello PhxBUG,

I’m an avid Bluebeam user and I’m working on a form we use internally. I’ve been optimizing it for efficiency and I’m about 90% complete. My final hurdle is passing a "defaultFilename" variable to the SaveAs dialog box to prevent the user from having to retype information.

Below are the Field Tags I’ve concatenated to build the defaultFilename:

  • PO # - PREFIX: N
  • PO # - SUFFIX: 6789
  • PO # - FULL: JOB #-N-6789
  • JOB #: 12345
  • JOB NAME: New Project Name

The desired result for the defaultFilename should look like this:
12345-N-6789 - New Project Name

Any guidance or assistance you can provide would be greatly appreciated!

Thanks

Comments

  • I am guessing this is a form you are enhancing with JavaScript? It is possible to invoke the save as dialog by doing:

    app.execMenuItem("SaveAs");

    However, it does not take in any parameters to adjust the default file name.

  • I’ve used that syntax, but it doesn’t resolve the issue for the end user. They still have to manually type the file name in the SaveAs dialog box, which is exactly what I’m trying to eliminate.