dlukic

Signing ceremony does not apply settings

0 votes
As specified on this page: http://docs.esignlive.com/content/c_integrator_s_guide/sdk/k_customization/customizing_the_signing_cermony.htm?Highlight=customization#Customiz I have applied settings in the code: ------------------------- code snippet------------------- .WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings() .WithoutWatermark() .WithCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.NewCeremonyLayoutSettings() .WithoutProgressBar() .WithoutSessionBar() .WithoutGlobalNavigation() .WithoutNavigator() .WithoutGlobalSaveAsLayoutButton() .WithoutBreadCrumbs())) ------------------------------------------------------------ but signing ceremony still displays sections despite that i specifically said not to. Is this a bug on your side or I did it wrong?

Reply to: Signing ceremony does not apply settings

0 votes
Hi, I just ran a quick test using the latest .NET SDK (11.0.2) and the settings seems to be applied fine on my end. Would you be able to share your complete DocumentPackage object code and a package id for which this issue is happening?
Haris Haidary OneSpan Technical Consultant

Reply to: Signing ceremony does not apply settings

0 votes
public string[] SaveInitailPackage(PackageModel packageModel) { Logger.LogObjectState(packageModel); string[] retarr = new string[3]; try { Logger.Info("PackageService - SavePackage. packageModel.id = " + packageModel.PackageId); BrokerModel broker = System.Web.HttpContext.Current.Session["User"] as BrokerModel; DocumentPackage package; if(!String.IsNullOrEmpty(packageModel.Signers[0].MobilePhoneNumber)) { package = PackageBuilder.NewPackageNamed(packageModel.Name) .WithEmailMessage(packageModel.Message) .DescribedAs("This is a new package") .WithSenderInfo(SenderInfoBuilder.NewSenderInfo(packageModel.Sender.Email).WithName(packageModel.Sender.FirstName, packageModel.Sender.LastName).WithTitle(packageModel.Sender.Title)) .WithSigner(SignerBuilder.NewSignerWithEmail(packageModel.Sender.Email) .WithCompany(packageModel.Sender.CompanyName) .WithFirstName(packageModel.Sender.FirstName) .WithLastName(packageModel.Sender.LastName).WithTitle(packageModel.Sender.Title) .WithCustomId(packageModel.Sender.UniqueId.ToString()) .SigningOrder(0)) .WithSigner(SignerBuilder.NewSignerWithEmail(packageModel.Signers[0].Email) .WithCompany(packageModel.Signers[0].CompanyName) .WithFirstName(packageModel.Signers[0].FirstName) .WithLastName(packageModel.Signers[0].LastName).WithTitle(packageModel.Signers[0].Title) .WithSMSSentTo(packageModel.Signers[0].MobilePhoneNumber) .SigningOrder(1) .WithCustomId(packageModel.Signers[0].UniqueId.ToString())) .WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings() .WithoutWatermark() .WithCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.NewCeremonyLayoutSettings() .WithoutProgressBar() .WithoutSessionBar() .WithoutGlobalNavigation() .WithoutNavigator() .WithoutGlobalSaveAsLayoutButton() .WithoutBreadCrumbs())) .Build(); } else { package = PackageBuilder.NewPackageNamed(packageModel.Name) .WithEmailMessage(packageModel.Message) .DescribedAs("This is a new package") .WithSenderInfo(SenderInfoBuilder.NewSenderInfo(packageModel.Sender.Email).WithName(packageModel.Sender.FirstName, packageModel.Sender.LastName).WithTitle(packageModel.Sender.Title)) .WithSigner(SignerBuilder.NewSignerWithEmail(packageModel.Sender.Email) .WithCompany(packageModel.Sender.CompanyName) .WithFirstName(packageModel.Sender.FirstName) .WithLastName(packageModel.Sender.LastName).WithTitle(packageModel.Sender.Title) .WithCustomId(packageModel.Sender.UniqueId.ToString()) .SigningOrder(0)) .WithSigner(SignerBuilder.NewSignerWithEmail(packageModel.Signers[0].Email) .WithCompany(packageModel.Signers[0].CompanyName) .WithFirstName(packageModel.Signers[0].FirstName) .WithLastName(packageModel.Signers[0].LastName).WithTitle(packageModel.Signers[0].Title) .SigningOrder(1) .WithCustomId(packageModel.Signers[0].UniqueId.ToString())) .WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings() .WithoutWatermark() .WithCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.NewCeremonyLayoutSettings() .WithoutProgressBar() .WithoutSessionBar() .WithoutGlobalNavigation() .WithoutNavigator() .WithoutGlobalSaveAsLayoutButton() .WithoutBreadCrumbs())) .Build(); } PackageId id = new Silanis.ESL.SDK.PackageId(); try { id = eslClient.CreatePackage(package); } catch(Exception e) { Logger.LogObjectState(packageModel); } Logger.Info("PackageService - SaveInitailPackage - PackageId: " + id.Id); Logger.Info("PackageService - SaveInitailPackage - BrokerCrmGuid: " + broker.BrokerCrmGuid.ToString()); PackageBrokerLog.PackageLog(id.Id, broker.BrokerCrmGuid); Logger.Info("PackageService - SaveInitailPackage - PackageBrokerLog.PackageLog completed: "); string senderAuthenticationToken = eslClient.AuthenticationTokenService.CreateSenderAuthenticationToken(id); AuthenticationClient authenticationClient = new AuthenticationClient(ConfigurationManager.AppSettings.Get("AuthenticationClientURI")); string generatedLinkToPackageViewForSender = authenticationClient.BuildRedirectToPackageViewForSender(senderAuthenticationToken, id); string sessionTokenString = eslClient.AuthenticationTokenService.CreateSenderAuthenticationToken(id); retarr[0] = sessionTokenString; retarr[1] = generatedLinkToPackageViewForSender; retarr[2] = id.Id; } catch (Exception e){ Logger.Error(@"PackageService - SaveInitailPackage. packageid = " + packageId + ". Possibly error is in CustiomId which is created by names. Sender FirstName: " + packageModel.Sender.FirstName + " sender last name" + packageModel.Sender.LastName + " signer firstname: " + packageModel.Signers[0].FirstName + " signer last name: " + packageModel.Signers[0].LastName, e); } return retarr; }

Reply to: Signing ceremony does not apply settings

0 votes
Please not i still user old version 10 sdk. We are very close to production so I can't change it now

Reply to: Signing ceremony does not apply settings

0 votes
Can you also share a package id for which you experience this issue? Also what is the exact version of the SDK that you are using?
Haris Haidary OneSpan Technical Consultant

Reply to: Signing ceremony does not apply settings

0 votes
packageId=zgkeoh3q4-12OgQdDXI0JxKBNUw=&documentId=b8872d0c-fc21-4295-bdf0-c50867857223

Reply to: Signing ceremony does not apply settings

0 votes
Okay I downloaded SDK 10.10.1 and ran the following sample code on the same instance as you (i.e. sandbox.e-signlive.ca):
DocumentPackage pkg = PackageBuilder.NewPackageNamed("Testing Signing Ceremony")
                .WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
                        .WithFirstName("John")
                        .WithLastName("Smith")
                        .WithCustomId("Signer1"))
                .WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings()
                        .WithoutWatermark()
                        .WithCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.NewCeremonyLayoutSettings()
                                .WithoutProgressBar()
                                .WithoutSessionBar()
                                .WithoutGlobalNavigation()
                                .WithoutNavigator()
                                .WithoutGlobalSaveAsLayoutButton()
                                .WithoutBreadCrumbs()))
                .WithDocument(DocumentBuilder.NewDocumentNamed("test doc")
                        .FromFile(@"C:/Users/hhaidary/Desktop/PDFs/doc1.pdf")
                        .WithSignature(SignatureBuilder.SignatureFor("[email protected]")
                                .AtPosition(100, 100)
                                .OnPage(0)))
                .Build();

PackageId packageId = eslClient.CreateAndSendPackage(package); 
And I was able to remove the session bar, progress bar, etc... Did you try sending the package to a dummy email you have access and see if the signing ceremony is actually being customized? I am only asking because the package id you shared is currently sitting in draft.
Haris Haidary OneSpan Technical Consultant

Reply to: Signing ceremony does not apply settings

0 votes
Our process is a little different. We create package using your API than on the next screen user adds files and after user adds all the files we go to signing ceremony which is embedded in our application as iFrame. But this shouldn't affect singing ceremony since package is created with settings i have provided above.

Reply to: Signing ceremony does not apply settings

0 votes
It technically shouldn't, you are correct. I will have to investigate this with support and get back to you. Maybe some configuration in your account is overwriting those values as it doesn't seem like there is a typo the code you provided.
Haris Haidary OneSpan Technical Consultant

Reply to: Signing ceremony does not apply settings

0 votes
Any updates on this? I also create a DocumentPackage using the .NET API and the NewDocumentPackageSettings that I am applying to this are not being reflected.

Reply to: Signing ceremony does not apply settings

0 votes
Can you share your package creation code that includes the settings and a screenshot of what you are seeing in the signing ceremony? Thanks
Haris Haidary OneSpan Technical Consultant

Reply to: Signing ceremony does not apply settings

0 votes
Hey Haris. Noticed something very interesting. No matter what settings I changed, nothing would be reflected in the signing ceremony. However, as soon as I changed the PDF file, all of the settings worked for the new PDF. Hopefully this is enough for you to look into the matter, but let me know if you'd still like my code.

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