jimwooley

Removing download button from signing process

0 votes
We need to remove the ability for users to download the signed PDF through the web interface, both via the emailed signature request and the browser based version (using host/access?sessionToken={mytoken}). We've tried to set the WithoutDocumentToolbarDownloadButton setting flag, but the button is still appearing. Here is the complete set of settings we are configuring on the package:
 .WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings()
                    .WithoutDialogOnComplete()
                    .WithoutDocumentToolbarDownloadButton()
                    .WithHandOverLinkHref($"{HandoverUrl}/Application/New?applicationId={configuration.ApplicationId}&type={configuration.ApplicationType}")
                    .WithHandOverLinkText("Click here when finished")
                    .WithCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.NewCeremonyLayoutSettings()
                        .WithoutGlobalNavigation()
                        .WithoutSessionBar()
                        .WithoutProgressBar()
                        .WithoutNavigator()
                        .WithoutBreadCrumbs()
                        .WithoutGlobalConfirmButton()
                        .WithoutGlobalSaveAsLayoutButton()
                    )
Is there an additional setting we need to configure, or is this something that requires manual configuration at the account level?

Approved Answer

Reply to: Removing download button from signing process

0 votes
Hi Jim, This did the trick for me:
.withSettings(DocumentPackageSettingsBuilder.newDocumentPackageSettings()
						.withoutDocumentToolbarDownloadButton()					
						.withCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.newCeremonyLayoutSettings()
										.withoutGlobalDownloadButton()
										))
Haris Haidary OneSpan Technical Consultant

Reply to: Removing download button from signing process

0 votes
Thanks for the quick response. Adding the .WithoutGlobalDownloadButton to the ceremonylayoutsettings fixed it for me.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off