Skip to main content
Question

¿How to sign multiple pages (SignHere tab) without using AnchorString to place the tabs?

  • December 19, 2024
  • 4 replies
  • 75 views

Forum|alt.badge.img+2

Hi guys, I want the signers to be able to sign all pages of all documents, i.e. page by page they can click on the (SignHere) tab.


I can also consider the option of them signing only the first page and the signatures being replicated on the others.


Is this possible using Java SDK?

4 replies

Alexandre.Augusto
Docusign Employee
Forum|alt.badge.img+14

Hello, ​@alaxos 

 

You need to add all necessaries Sign Here tab using the Autoplace option where every field will be placed over a string selected by you when configuring the Autoplace.

Anything you can do using the Web Interface can be done using our APIs, on the other hand I don’t have here a code for your use, but you will find many examples in the Github site.

Watch this short video: 

 

If you think this post was useful, I’d appreciate your Like.

Best,

Alexandre


Forum|alt.badge.img+4
  • Conversation Starter
  • 26 replies
  • December 21, 2024
Hello Alaxos,
 
Using our DocuSign Java SDK you have two options to add a signature to every page:

1- Use Autoplace (anchor text hidden in every page):

 

  SignHere signHere = new SignHere();
    signHere.setAnchorString("/sn1");
    signHere.setAnchorUnits("pixels");
    signHere.setAnchorYOffset("10");
    signHere.setAnchorXOffset("20");


2- Add a signature field to every page using PageNumber and X,Y coordinates: 
 


SignHere signHere = new SignHere();
    signHere.setPageNumber("1");
    signHere.setDocumentId("1");
    signHere.setXPosition("210");
    signHere.setYPosition("235");


We hope this helps.
 
 
Best regards,
 
Adrian | Docusign Developer Support

Forum|alt.badge.img+2
  • Author
  • Newcomer
  • 1 reply
  • December 23, 2024

Thanks @Adrian Dev for your answer, I have some more questions.

For solution 1, I understand that in order to use “/sn1” as an anchor string, I need to have that text in my documents previously, but that limits me to all end-user documents having to have that text. I also understand that the text must be the same as the background, and it limits me to no page of the document having a frame or something that goes through the signing area, since a color gradient would be seen making part of the text "/sn1" visible. Or am I missing something?

And for the second solution, I would have to go through the Pages of the drafted envelope, wouldn't that be right?


Forum|alt.badge.img+4
  • Conversation Starter
  • 26 replies
  • December 24, 2024

Hi Alaxon, 

 

You are correct, to use anchor text all your documents will have to contain the special string and it would be difficult to hide the string in multicolor background, that is why we have a second option to use Page Number and X Y coordinates. 

All you have to do is get the number of pages and cycle through a loop to create signature fields. 

 

 We hope this helps.

 

Regards

Adrian

Developer Support