Revu Specifics => Revu Forms => Topic started by: Chromagon on May 14, 2019, 09:36:08 AM

Title: Javascript stamp works in Acrobat but not Bluebeam?
Post by: Chromagon on May 14, 2019, 09:36:08 AM
I made this stamp in Acrobat and it works perfectly, but when I try to use it in Bluebeam it doesn't open the dialogue box.  I've been playing around with the code in Bluebeam with no success, and I don't understand why it would work in Acrobat and not Revu. Attached is the stamp if anyone more knowledgeable in Javascript can see where the issue is. Thanks!


https://drive.google.com/file/d/17F4CvysN9mOt9NjTtKT7GDPzuO6ayTW8/view?usp=sharing (https://drive.google.com/file/d/17F4CvysN9mOt9NjTtKT7GDPzuO6ayTW8/view?usp=sharing)
Title: Re: Javascript stamp works in Acrobat but not Bluebeam?
Post by: Steve on May 14, 2019, 09:44:07 AM
From some research I did a while back on a similar question.  It seems like Bluebeam and Acrobat don't support the exact same JS libraries.

https://stackoverflow.com/questions/51818834/javascript-library-with-bluebeam (https://stackoverflow.com/questions/51818834/javascript-library-with-bluebeam)
Title: Re: Javascript stamp works in Acrobat but not Bluebeam?
Post by: Chromagon on May 14, 2019, 10:05:40 AM
That's unfortunate. I'm needing this stamp to function for both as my department uses both programs. Would be an annoyance to have two versions of the same stamp, not to mention it was kind of a miracle that I pieced this stamp together in the first place because I know nothing about JavaScript lol. A lot of trial and error pulling code from other examples.
Title: Re: Javascript stamp works in Acrobat but not Bluebeam?
Post by: Thom Parker on December 03, 2020, 08:27:58 PM
Here is an article on exactly this topic:
https://www.pdfscripting.com/public/Bluebeam-Stamps.cfm