Get a list of documents for a group
Friday, July 8, 2016 at 05:39amI am trying to accomplish the following. Please let me know which SDK classes to use:
- Get a list of all documents/templates uploaded onto a group's library (From all senders in the group). Both document ids and names
- how do I include a document id(template id) which is in group's library in my package(without actually uploading the document while creating the package. I need to include a pre existing document id)
- Block sender's in one group from seeing inbox/drafts/library of another group in my account.
- Give ability for a sender in a group to be able to upload a document. After upload is complete, connect user to esignlive display page where they can only edit template and add tags and meta data but not be able to send it from there.
Thanks
Reply to: Get a list of documents for a group
Monday, July 11, 2016 at 03:51amReply to: Get a list of documents for a group
Monday, July 11, 2016 at 05:29am// Download the completion report for all senders CompletionReport sdkCompletionReport = eslClient.getReportService().downloadCompletionReport(status, from, to); if (sdkCompletionReport == null) { System.out.println("\nNo packages in " + status.toString() + " folder"); } else { // Display package id and name of packages in DRAFT from sender System.out.println(); for(SenderCompletionReport senderCompletionReport : sdkCompletionReport.getSenders()) { System.out.print("Sender: " + senderCompletionReport.getSender().getEmail()); System.out.println(" has " + senderCompletionReport.getPackages().size() + " packages in " + status.toString()); for (PackageCompletionReport packageCompletionReport : senderCompletionReport.getPackages()) { System.out.println(packageCompletionReport.getId() + " , " + packageCompletionReport.getName() + " , Sender : " + eslClient.getPackage(new PackageId(packageCompletionReport.getId())).getSenderInfo().getEmail()); List documents = packageCompletionReport.getDocuments();
for(DocumentsCompletionReport document : documents) {
System.out.println(document.getName());
}
}
}
} Unfortunately, there is no way to retrieve a list of templates for each sender. - When creating your package, you can store any information you wish in the document attributes. Example below:DocumentPackage test = PackageBuilder.newPackageNamed("test") .withAttributes(DocumentPackageAttributesBuilder.newDocumentPackageAttributes() .withAttribute("key1", "document1")) .build();- I'm not really sure what you mean here. Through the web portal, senders can only see packages created by them and no one elses. This also holds true for the main account holder. Are you experiencing another behavior? - Unfortunately, that is not currently possible. Once you give your user access to the designer view (e.g. edit package, place signatures), he/she will always have the ability to send the package.Reply to: Get a list of documents for a group
Monday, July 11, 2016 at 01:01pmReply to: Get a list of documents for a group
Tuesday, July 12, 2016 at 04:30amDocumentPackage test = PackageBuilder.newPackageNamed("Example package") .withSenderInfo(SenderInfoBuilder.newSenderInfo("[email protected]")) .withVisibility(Visibility.ACCOUNT) .build(); PackageId packageId = eslClient.getTemplateService().createTemplate(test);Finally, as for the ability to block a sender to send a package, you are actually able to do so. You can send a request to support ([email protected]) to remove the send button in the designer view for your senders. This way, when your senders will not be able to send the package from the designer view once your sender has finished editing the package. Here is also a list of the changes you can make to the designer view: http://docs.esignlive.com/content/c_esignlive_integrator_s_guide/rest_api/designer.htm Hope this helps :)Reply to: Get a list of documents for a group
Thursday, July 14, 2016 at 04:47amReply to: Get a list of documents for a group
Wednesday, July 27, 2016 at 06:50amReply to: Get a list of documents for a group
Wednesday, July 27, 2016 at 07:57amReply to: Get a list of documents for a group
Wednesday, July 27, 2016 at 08:10amReply to: Get a list of documents for a group
Wednesday, July 27, 2016 at 08:23amReply to: Get a list of documents for a group
Wednesday, July 27, 2016 at 08:56amReply to: Get a list of documents for a group
Wednesday, July 27, 2016 at 09:42amReply to: Get a list of documents for a group
Thursday, July 28, 2016 at 08:17amReply to: Get a list of documents for a group
Thursday, July 28, 2016 at 08:23amReply to: Get a list of documents for a group
Thursday, July 28, 2016 at 06:01pmReply to: Get a list of documents for a group
Friday, July 29, 2016 at 04:27amReply to: Get a list of documents for a group
Friday, July 29, 2016 at 09:05am