Skip navigation
bphem3
Currently Being Moderated

Dynamic Stamp JavaScript for Identity Fields

Aug 13, 2012 11:45 AM

Tags: #javascript #custom_stamps #dynamic_stamps

I'm looking for the JavaScrpit code to dynamicly display the information for the various identity fields for use with custom dynamic stamps.  I have identified the javascript for Company Name, Name, and date (picked from the existing dynamic stamps).  I still need the javascript for Login Name, Title, Organizational Unit, and Email Address.  Any and all help would be very much appreciated.  I am using Acrobat Professional Edition 7.1.4.

 

Identity.jpg

 

Thanks!

 
Replies
  • Currently Being Moderated
    Aug 13, 2012 1:18 PM   in reply to bphem3

    Have you looked in the Acrobat JS API Reference?

     

    identity properties

     

    identity.name  is Name

    identity.email is the Email Address

     

    There are no standard properties for Title and Organizational Unit.

     

    You can use the following code in the Acrobat JavaScript console to see all of the properties and values of the identity object.:

     

    for (i in identity) {

    console.println(i + ": " + identity[i]);

    }

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points