Account
Earned badges
Achievement: Latest Unlocked
Replies
Topics Started
Preferences
Topic Started
Topics |
---|
Hi everybody! |
Replies Created
Reply to: how to create a package with document visibility by rest API
Wednesday, September 14, 2022 at 05:07pm
Reply to: Document Visibility on closed transaction
Wednesday, September 14, 2022 at 05:09pmHello Duo_Liang
Thank you very much for your answer but doing more detailed tests I am observing that even when the package is in the process of signing the signers that have specific visibility can see all the documents :(, I share the following code fragment (using Java JDK) where I configure the visibility and some captures where it is observed that a signer who only has permission to see a document can see all the documents:
Code:
EslClient eslClient = eslClientManager.createEslClient(securityData);
List<DocumentVisibilityConfiguration> configurations = new ArrayList<>();
for(com.bbva.seiri.onespan.connector.dto.Document document : documentPackage.getDocuments()) {
if(document.getViewers() != null) {
configurations.add(DocumentVisibilityConfigurationBuilder
.newDocumentVisibilityConfiguration(document.getId())
.withSignerIds(document.getViewers())
.build());
}
}
if(!configurations.isEmpty()) {
eslClient.configureDocumentVisibility(packageId, DocumentVisibilityBuilder
.newDocumentVisibility()
.withConfigurations(configurations).build());
}
eslClient.sendPackage(packageId);
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
Hi everybody! |
3 | 8 months 3 weeks ago | 19 | ![]() |
I'd like to know how to set document visibility when create a package by using REST API? could you please share a sample code? Thanks Wendy |
4 | 8 months 3 weeks ago | 125 | ![]() |