• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Digital Signature Automation

Community Beginner ,
Mar 10, 2023 Mar 10, 2023

Copy link to clipboard

Copied

Hi, 

Good day everybody, I have 500 documents that needs to be digitally signed and I want to automate this process. I wanted to know can I automate this process using javascript? If not, how can I automate it using action wizard without having to select the digital id and entering th password of the id manullay for each file?
Seeking for solutions 🙏🙏

Thank you

TOPICS
How to , JavaScript , Security digital signatures and esignatures

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 10, 2023 Mar 10, 2023

Yes, you can do it using a combination of an Action and a script.

Read the documentation of the signatureSign method of the Field object to learn how to do it.

Votes

Translate

Translate
Community Expert ,
Mar 10, 2023 Mar 10, 2023

Copy link to clipboard

Copied

Yes, you can do it using a combination of an Action and a script.

Read the documentation of the signatureSign method of the Field object to learn how to do it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 10, 2023 Mar 10, 2023

Copy link to clipboard

Copied

Ok thanks, I will give it a try, please help me if get stuck somewhere

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 13, 2023 Mar 13, 2023

Copy link to clipboard

Copied

// Get the signature field object
var signatureField = this.getField("signatureField");

// Get the security handler for digital signatures
var ppklite = security.getHandler("Adobe.PPKLite");

// Configure the digital signature parameters
var signatureParams = {
password: "alvarocuba5456",
location: "San Francisco, CA",
reason: "I approve this document",
contactInfo: "id@gmail.com",
appearance: "Handwritten"
};

// Login to the security handler
ppklite.login({cPassword: "alvarocuba5456"});

// Set the digital ID to use for the signature
var digitalID = {
oPKCS7: util.readFileIntoStream("/D/temp/myid.pfx"), // Path to PFX file
password: "alvarocuba5456"
};

// Add the digital signature to the signature field
signatureField.signatureSign(ppklite, signatureParams, digitalID);

// Logout of the security handler
ppklite.logout();
NotAllowedError: Security settings prevent access to this property or method.
Field.signatureSign:26:Console undefined:Exec

undefined

I tried this code but it is not working, if you don't mind can you please show a code snippet on how to do it properly?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 13, 2023 Mar 13, 2023

Copy link to clipboard

Copied

LATEST

Never mind, I just did it 😅, thanks for the help

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines