This topic contains 1 reply, has 2 voices, and was last updated by  Duo_Liang 2 weeks, 2 days ago.

  • Author
    Posts
  • Participant
    OliverH
    Member since: 11.10.2018
    Number of posts: 21

    We have different signing scenarios where we want to use different Signing Page Logos. How do I do that with Java SDK?

    Thanks

    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 828

    Score

    1

    Hey Oliver,

    You can use below Java Code setting Signing Ceremony logos, it’s a package level setting so that you can have different logos for each package:

    		DocumentPackage pkg1 = PackageBuilder.newPackageNamed("Example Package " + System.currentTimeMillis())
    		        .withSigner(SignerBuilder.newSignerWithEmail("signer1@mailinator.com" )
    		               ......
    		                )
    		        .withDocument(DocumentBuilder.newDocumentWithName("document 1")
    		        		......
    		        		)
    		        .withSettings(DocumentPackageSettingsBuilder.newDocumentPackageSettings()
                            .withCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.newCeremonyLayoutSettings()
                                    .withLogoSource("https://sandbox.esignlive.com/a/images/logo.svg")))
    		        .build();

    To note:
    1. You can either store the pictures at OneSpan Sign side (by contacting our support team at support@onespan.com) or you can use a public resource.
    2.If you want to remove the logo, you can use empty string in the code: .withLogoSource("")))

    Hope this could help!
    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist

You must be logged in to reply to this topic.