Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

Is it possible to modify the text on the initial "Go to Uploads" button that appears during a ceremony requiring a file upload?  Or is it possible to modify the text that says "There are pending up

We are grouping multiple forms into a package that will often have multiple signers.  Are there some considerations for handling when a signer declines to sign one of the forms?

We allow users to click a sign button on a page that expires rather quickly (2 minutes) and it opens OneSpan in an external browser tab. Does OneSpan have a feature to ping an endpoint during the s

We are embedding the designer in an iframe.  After the user clicks "Send to Sign" the package moves to in-progress status.

Good afternoon, we are beginning to become familiar with and use the designer.  In our pattern, we are adding the signer recipients prior to rendering the designer.  Is it possible to remove the OS

Replies Created

Reply to:

0 votes

Thank you for the very fast response. I am new to OneSpan and learning rapidly. 

I tried changing the status to sent and I get the following error:

"messageKey":"error.validation.sendPackage.noApprovals","message":"Cannot send package without approvals.","code":400,"name":"Validation Error"}

Do I need to contact support to enable Text Extraction in my org? I saw you mentioned that in another post.

Here is what I am testing:

         OneSpanSDK sdk = new OneSpanSDK();
         
        //Create package
        OneSpanAPIObjects.Package_x pkg = new OneSpanAPIObjects.Package_x();
        pkg.name = 'Test Text Tags - ' + Datetime.now().format();
        pkg.autocomplete = true;
        pkg.due = System.now().addDays(7);
        pkg.status = OneSpanAPIObjects.PackageStatus.SENT;
        
        //Create Roles
        String roleId1 = 'signer1';
        OneSpanAPIObjects.Role role1 = new OneSpanAPIObjects.Role();
        role1.signers = sdk.createRolesSigner('sigenr1_firstname', 'signer1_lastname', '[email protected]', 'CEO', 'ABC Bank');
        role1.id = roleId1;
        role1.name = roleId1;
        pkg.roles = new List<OneSpanAPIObjects.Role>{role1};    //add role

        
        //Prepare Documents Blob
        String document1Name = 'Sample_Text_Tag';
        StaticResource sr = [SELECT Id, Body FROM StaticResource WHERE Name = 'sample_contract' LIMIT 1];
        Map<String,Blob> documentBlobMap = new Map<String,Blob>();
        documentBlobMap.put(document1Name, sr.Body);
         
        //Create Document Metadata
        OneSpanAPIObjects.Document document1 = new OneSpanAPIObjects.Document();
        document1.name = document1Name;
        document1.id = document1Name;
        document1.extract = true;
        OneSpanAPIObjects.Data data_x = new OneSpanAPIObjects.Data();
        data_x.ese_document_texttag_extract_needed = '1';
        data_x.esl_doc_extract_type = '1';
        document1.data = data_x;
        pkg.documents = new List<OneSpanAPIObjects.Document>{document1};    //add document
        
        
        //Send package One Step
        String packageId = sdk.createPackage(pkg,documentBlobMap);
        System.debug('PackageId: ' + packageId);

 


Reply to:

0 votes

Thank you. This is helpful.  I might ping the support team about enabling that feature.

I have been working with Word docs up to this point.  It seems like PDFs may be better for field placement given that fields are a native feature.  I am experimenting and looking for the easiest / most scalable method to tag signatures, input fields and text placement.


Reply to:

0 votes

Field injection is working great! Thank you for sending the guide.  I was able to merge several values into the document and send for signature via the APEX SDK. Very, very powerful!

We are evaluating the APEX integration path versus SFDC connector. In theory, the convention/field mapping feature should also be able to merge Salesforce data onto a document right? I am not having success with that.  I have set up a convention with a field mapping record that I want to merge the account name into the same e-sign field on my PDF. 

On my PDF I have a field named CompanyName (same field that the field injection pattern is using)

My field mapping looks like this:

fieldmappingexample

 

My transaction looks like this:

fieldmapping2


Reply to:

0 votes

Thanks for the quick start! Regarding the APEX SDK approach, I'd am trying to make a dynamic framework via a custom object/record that represents each form for us.

1) CALL: Create DRAFT Package

2) CALL (4x): Create 4 roles via 4 separate calls (dynamic)

3) CALL: Query for document, assign 4 approval to the 4 roles respectively, link fields to approval, approvals to document and document to package

4) CALL: Send Document

If that makes sense (I would not be surprised if I am not making sense), is that possible?  Or do I need to do a position transaction in a single call?

Peter


Subscriptions

Topics Replies Freshness Views Users

For attachments that are uploaded, how can I get the file extension (PDF, jpg, tif, etc...)? I only see these attributes on OneSpanAPIOjbects.AttachmentRequirement:

1 7 months 3 weeks ago 32
Profile picture for user Duo_Liang

Is it possible to modify the text on the initial "Go to Uploads" button that appears during a ceremony requiring a file upload?  Or is it possible to modify the text that says "There are pending up

6 7 months 2 weeks ago 50
Profile picture for user Duo_Liang

We are grouping multiple forms into a package that will often have multiple signers.  Are there some considerations for handling when a signer declines to sign one of the forms?

1 9 months 1 week ago 23
Profile picture for user Duo_Liang

We allow users to click a sign button on a page that expires rather quickly (2 minutes) and it opens OneSpan in an external browser tab. Does OneSpan have a feature to ping an endpoint during the s

3 8 months 2 weeks ago 38
Profile picture for user Duo_Liang

We are embedding the designer in an iframe.  After the user clicks "Send to Sign" the package moves to in-progress status.

10 9 months 3 weeks ago 78
Profile picture for user Duo_Liang

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.