Validate PackageDocument before Package Create or Create&Send
Sunday, January 8, 2017 at 09:03pmHello Team,
I have a scenario where I create and send a PackageDocument from a dynamically provided PDF document and I add a number of signatures based on a text-anchor.
In case when the provided PDF does not have all required text-anchors I get an EslException: Document Cannot be Flattened and result with a Package in DRAFT state.
Instead of having above scenario and having to clean up unsuccessful DRAFT packages, would it be possible if we get some kind of EslClient validation which we can trigger before we send the Create&Send request?
For example:
try { eslClient.validatePackageDocument(); } catch (EslException e) { //ECHO there was problem with Package set up!!! System.out.println(e.getMessage()); }Thus we will be able to catch any kind of returned error: Missing text-anchor(s); wrong document character(s); missing Package specific entries etc., before we actually call the code to Create or Create&Send corresponding package. Thank you in advance.
Reply to: Validate PackageDocument before Package Create or Create&Send
Thursday, March 2, 2017 at 10:44am