Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

Hi,

I am getting following error when I am creating a new package with two documents.

Hi,

I am getting below error while creating the package

Is is possible to add a new signer to a document which is already signed?

I tried with below code

PackageId packageId = new PackageId("orB4GBrQKn33YIF6XJFgDMGdkb4=");

I was trying to add a new document to existing package and got the following error

Cannot edit or delete package.","name":"Access Denied"

Replies Created

Reply to: Add document to existing package

0 votes

Hi Duo,

using ossClient.SendPackage(packageId); worked.

Now I am facing another issue, the second document which I attached later, requires signatrue

document.Signatures.Add(SignatureBuilder.SignatureFor("emailaddress")
                                    .OnPage(0)
                                    .AtPosition(175, 165)
                        .Build());

 

but the system is not asking for any signature on newly added document, I have attached the screen shot.

IS there anything which I am missing?

 

Thanks,

Kamran

 


Attachments
no-sign.png30.81 KB

Reply to: Add document to existing package

0 votes

Hi Duo,

Thanks that issue is resolved now.

Now we are trying to replace an existing document. The issue we are facing is, if the doucment is not signed then the system is replacing the document but if the document has already been signed then the system is not replacing the existing document.

The package is not completed yet as there are more documents to be signed but the existing one which is already signed is not being replaced.

we also tried with two signees on the same document, one signed the document then we replaced the document but the system is still showing the old one.

Do we have to delete the document and add a new one in this scanario?

Second question is, Is there a way to check the status of individual document, if it is completed or not?

 

Thanks,

Kamran

 


Reply to: Add new signer to already signed document

0 votes

Hi Duo,

I can add a new signee through below code

 

   Signer signer = SignerBuilder.NewSignerWithEmail(email).WithFirstName("John1").WithLastName("Smith1").WithCustomId("Signer2").Build();

    PackageId packageId = new PackageId("8xu-O__qGDR_XlA0k9EncFv2mSw=");

    ossClient.ChangePackageStatusToDraft(packageId);

    String signerId = ossClient.PackageService.AddSigner(packageId, signer);

    ossClient.SendPackage(packageId);
    Console.WriteLine("Signer was added");

    CapturedSignature capturedSignature = new CapturedSignature("AQAAAIPGDPtxqL+RsL7/w/7eEX+cAtwAAwADAFAAAAADAAAAnALcACMAAAACq5ZQg105VH9Z/1l+UM9QF3A0v3BEv2BmYYFgSGAYQBZAJkA0QDVAREBmQENAQ0BRUJFQg1CDUFKbQENASUBGQERFUA==");

    ossClient.SignDocuments(packageId, "Signer2", capturedSignature);

    ossClient.PackageService.MarkComplete(packageId);

 

New signer gets the email and can sign the documents.


This code doesn't throw any error but the issue is document doesn't show the signatrure for Singer2 when we sign automatically through SignDocuments api.

CaptureSignature value I got from your sample code.

Can you please check why it is not showing the signatrue for Singer2?

I have attached both versions of document, before signing and after signing.

 

Do you have any webhook which notifies us after a singnee finished signing all the documents? So it about single signee not all the signees,

if there are two singees we want to be notified when each singee finishes signing the documents.

 

What the string represents in CapturedSignature? How can we generate it for our signature?

 

Thanks,

Kamran

 


Attachments

Reply to: Add new signer to already signed document

0 votes

Hi Duo,

 

Thanks for all the answers.

We will be using webhooks to decide when internal user should sign.

Regarding signer role ID, Which field it is mapped to in package?

PackageId packageId = new PackageId("Tu_u7xFf5F3YtgfXym8cdoW7nyA=");
var package = ossClient.GetPackage(packageId);

I checked the Signers collection but did not find any property for signer role ID.

Is there some other api we have to call? or it is mapped to some other field like Id?

 

I have one question regarding Text Tags valiation, can we restict text field to specific data type?

{{esl:Signer1:textfield:size(40,15),Maxlen(3)}}

for eg, we want a text field to only accept integers.

 

Thanks,

Kamran


Attachments

Subscriptions

Topics Replies Freshness Views Users

Hi,

I am getting following error when I am creating a new package with two documents.

1 1 month 1 week ago 19
3 1 month 1 week ago 21

Hi,

I am getting below error while creating the package

2 1 month 2 weeks ago 21

Is is possible to add a new signer to a document which is already signed?

I tried with below code

PackageId packageId = new PackageId("orB4GBrQKn33YIF6XJFgDMGdkb4=");

6 2 months ago 50

I was trying to add a new document to existing package and got the following error

Cannot edit or delete package.","name":"Access Denied"

5 4 months ago 39

Code Share

This user has not submitted any code shares.