Copy link to clipboard
Copied
Does anyone have experienced with dynamic stamps in Acrobat Pro and also Bluebeam application?
Does Acrobat Stamps fully compatible with Bluebeam?
Does BlueBeam stamps fully compatible with Acrobat Pro?
Copy link to clipboard
Copied
I figured it out. The problem is the dialog definition. The Acrobat JS implementation allows a lot of variation in values when it comes to "0", "null", "", and "false". All of them evaluate to the same thing, depending on the target type. The Bluebeam JS model does not. As stated in my article on bluebeam stamps "Bluebeam stamps tend to fail ungraciously when a property is not supported."
In this case the checkbox values are defaulted to null. Change them to false and it'll work.
Ex:
...
bChk1: false,
bChk2: false,
...
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
I have found portions of my answer here:
https://www.pdfscripting.com/public/Bluebeam-Stamps.cfm
But It’s a bit hard to know exactly what is uncompatible in Bluebeam from my Acrobat Stamps.
Copy link to clipboard
Copied
I suppose Document Geek will have the answer to that question.
Copy link to clipboard
Copied
Or @Thom Parker itself! 🙂
Copy link to clipboard
Copied
The answer is Yes and No. A dyanamic stamp can be created that will work in both Acrobat and BlueBeam, but both have thier own structural differences that can make one incompatible in the other.
The Differences section in the article you've linked above covers these issues.
Basically, a Bluebeam stamp is the first, and only the first page in the PDF file. It does not have to be a tempate page, as is required in Acrobat, but it can be a page template. So this is the compatibility overlap. To make a dynamic stamp work in both, the stamp must be the first page in the file and be a template with the Acrobat naming.
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
Thanks Thom... Will check that in Bluebeam.
Copy link to clipboard
Copied
Bluebeam stamps provided sample work prefectly in Acrobat. The one create in Acrobat don’t work inside Bluebeam so far.
I noticed Bluebeam stamps use a calculation script AND also a document level script. That might be why my Acrobat Stamps don’t work.
Copy link to clipboard
Copied
Just having a document script is not a problem.
So what exactly is not working. Is the stamp image correct but the scripts don't work? Or is the image not being displayed?
Are any errors reported in console window in Bluebeam?
Post the stamp file and I'll take a look.
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
The image stamps is placed but no javascript window.
This is what I get from teh Javascript Console when I place it:
Version JavaScript de Bluebeam 21.0.45.3
GeneralError: Unspecified error cause.
Copy link to clipboard
Copied
A PDF have been shared by message.
Copy link to clipboard
Copied
I figured it out. The problem is the dialog definition. The Acrobat JS implementation allows a lot of variation in values when it comes to "0", "null", "", and "false". All of them evaluate to the same thing, depending on the target type. The Bluebeam JS model does not. As stated in my article on bluebeam stamps "Bluebeam stamps tend to fail ungraciously when a property is not supported."
In this case the checkbox values are defaulted to null. Change them to false and it'll work.
Ex:
...
bChk1: false,
bChk2: false,
...
Use the Acrobat JavaScript Reference early and often