Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Access to document filename or path in custom dynamic stamp  (Read 1834 times)

mpfammatter

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 1
Access to document filename or path in custom dynamic stamp
« on: March 28, 2022, 10:15:49 AM »

I'm trying to get the filename of the host document with placing a custom dynamic stamp in Bluebeam Revu CAD 20. I have attempted to use the "Doc.documentFileName" and "Doc.path" properties as detailed in the "Javascript for Acrobat API Reference" (https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/pdfs/acrobatsdk_jsapiref.pdf?msclkid=c008ca5dae9611ec866f32441364c818) and in the unoffical list of API commands I found in a stackoverflow question (https://stackoverflow.com/questions/51818834/javascript-library-with-bluebeam). Unfortunately when these properties are included, Revu does not run the calculated field when they are included.

Please let me know if it is possible to access the host document filename and if there is better documentation of the Bluebeam javascript API. I have reviewed the Bluebeam Revu Script Reference and was unable to find any mention of how to access document properties.
Logged