PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, August 26, 2022

[FIXED] How to get the real envelope ID after offline signing

 August 26, 2022     docusignapi     No comments   

Issue

We're creating a iOS app and integrate with Docusign. We are using offline-signing to create an envelope and sign it. It returns a temporary envelope ID. After the offline signed envelope is synced to Docusign, it has a new envelope ID in Docusign. How can we retrieve that new ID from the app?

        mDSMEnvelopesManager?.composeEnvelope(with: envelope, signingMode: .offline, completion: { envelopeId, error in
            
            if let id = envelopeId {
                // offline
                self.mDSMEnvelopesManager?.resumeSigningEnvelope(withPresenting: presentingController, envelopeId: id, completion: { _, _ in })
            } else {
                // online
                self.showAlert(presentingController: presentingController, message: error.localizedDescription)
            }
        })

Solution

My suggestion is that you store a unique value as envelope meta data using the envelope custom field feature.

Later, you can search on that field to find the right envelope.



Answered By - Larry K
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing