Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics
I would like to create my own "Accept" and "OPT-OUT" buttons with a custom message as popup to be displayed when user click on OPT-OUT or Accept button.
I have a custom consent form as the first document in the esign ceremony with OPT-OUT and ACCEPT buttons.
We are trying to integrate our application to esign live and noticed that opt-out option is not displaying on the esign ceremony.

Replies Created

Reply to: Opt out option is missing on esign ceremony

0 votes
Yes. I did try withOptOut() option. No luck. Also, I would like to add global "Accept" and "Opt Out" option. It looks like it is possible to do it, but I don't see any options. check below video @ 21.18 http://event.on24.com/eventRegistration/console/EventConsoleNG.jsp?uimode=nextgeneration&eventid=1150630&sessionid=1&key=101BB14588B972E5A6731A0089FB8EDD&contenttype=A&eventuserid=305999&playerwidth=1000&playerheight=800&caller=previewLobby&text_language_id=en&format=fhaudio# Thanks, Ram DocumentPackage documentPackage = PackageBuilder.newPackageNamed("esign-poc-rehab" + Instant.now()) .withSettings(DocumentPackageSettingsBuilder.newDocumentPackageSettings() .withoutLanguageDropDown() .withOptOut() .withDialogOnComplete().hideOwnerInPersonDropDown() .withHandOverLinkHref("https://mycompany.com/esign/faces/confirm.jspx") .withHandOverLinkText("Home") .withHandOverLinkTooltip("Home page") .withoutDocumentToolbarDownloadButton() .withCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.newCeremonyLayoutSettings() .withoutTitle() .withoutGlobalConfirmButton() .withoutGlobalSaveAsLayoutButton() .withoutGlobalDownloadButton() .withoutProgressBar() .withGlobalNavigation() .withoutBreadCrumbs() .withoutSessionBar())) .withSigner(SignerBuilder.newSignerWithEmail("[email protected]") .withCustomId(CUSTOM_ID).withFirstName("Ram").withLastName("Immidisetti")) .withDocument(newDocumentWithName("Consent") .atIndex(0) .fromFile("C:\\Temp\\esign-consent.pdf")) .withDocument(DocumentBuilder.newDocumentWithName("Form") .atIndex(1) .fromStream(fs, DocumentType.PDF) .enableExtraction() .withInjectedField(FieldBuilder.textField().withName("BorrowerSSN").withValue("111-11-1111")) .withSignature(signatureFor("[email protected]").onPage(1).withName("Signature1")) ).build(); PackageId packageId = eslClient.createPackage(documentPackage);

Reply to: Opt out option is missing on esign ceremony

0 votes
That worked awesome. Thank you. But, the same logic is not working on a document with signature on a "Signature" field. .withDocument(DocumentBuilder.newDocumentWithName("Form") .atIndex(1) .fromStream(fs, DocumentType.PDF) .enableExtraction() .withInjectedField(FieldBuilder.textField().withName("BorrowerSSN").withValue("111-11-1234")) .withSignature(SignatureBuilder.acceptanceFor("[email protected]").onPage(1).withName("Signature1")) ) Thanks, Ram

Reply to: Is it possible to navigate the user to a different page after opt-out

0 votes
I have already added the "handoverlinkhref" to the DocumentPackage. But, it is not navigating the user for opt-out. It is navigating the user when the package is signed. DocumentPackage documentPackage = PackageBuilder.newPackageNamed(“esign-poc-rehab” + Instant.now()) .withSettings(DocumentPackageSettingsBuilder.newDocumentPackageSettings() .withoutLanguageDropDown() .withOptOut() .withDialogOnComplete().hideOwnerInPersonDropDown() .withHandOverLinkHref(“https://mycompany.com/esign/faces/confirm.jspx”) .withHandOverLinkText(“Home”) .withHandOverLinkTooltip(“Home page”) .withoutDocumentToolbarDownloadButton() .withCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.newCeremonyLayoutSettings() .withoutTitle() .withoutGlobalConfirmButton() .withoutGlobalSaveAsLayoutButton() .withoutGlobalDownloadButton() .withoutProgressBar() .withGlobalNavigation() .withoutBreadCrumbs() .withoutSessionBar())) .withSigner(SignerBuilder.newSignerWithEmail(“[email protected]”) .withCustomId(CUSTOM_ID).withFirstName(“Ram”).withLastName(“xyz”))

Reply to: Is it possible to navigate the user to a different page after opt-out

0 votes
Sorry for the delay. I will be not able to send you a private email for security reasons. I have pasted the java code below for your review, please let me know if it will help you to determine the issue. UI Framework : Oracle ADF package org.example.esign.managed; import javax.faces.event.ActionEvent; import oracle.adf.view.rich.component.rich.output.RichInlineFrame; import com.silanis.esl.sdk.DocumentPackage; import com.silanis.esl.sdk.DocumentType; import com.silanis.esl.sdk.EslClient; import com.silanis.esl.sdk.PackageId; import com.silanis.esl.sdk.builder.CeremonyLayoutSettingsBuilder; import com.silanis.esl.sdk.builder.DocumentBuilder; import static com.silanis.esl.sdk.builder.PackageBuilder.newPackageNamed; import static com.silanis.esl.sdk.builder.DocumentBuilder.newDocumentWithName; import com.silanis.esl.sdk.builder.DocumentPackageSettingsBuilder; import com.silanis.esl.sdk.builder.FieldBuilder; import com.silanis.esl.sdk.builder.PackageBuilder; import static com.silanis.esl.sdk.builder.PackageBuilder.newPackageNamed; import static com.silanis.esl.sdk.builder.SignatureBuilder.signatureFor; import com.silanis.esl.sdk.builder.SignerBuilder; import static com.silanis.esl.sdk.builder.SignerBuilder.newSignerWithEmail; import com.silanis.esl.sdk.Document; import com.silanis.esl.sdk.DocumentId; import com.silanis.esl.sdk.NotificationEvent; import com.silanis.esl.sdk.builder.EventNotificationConfigBuilder; import com.silanis.esl.sdk.builder.SignatureBuilder; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.time.Instant; import java.util.Map; import javax.faces.context.FacesContext; import oracle.adfinternal.view.faces.bi.util.JsfUtils; import org.joda.time.DateTime; public class EsignMB { private String esignDocumentURL; private String packageId; private RichInlineFrame iframe; public static final String API_KEY = ""; public static final String API_URL = "https://sandbox.esignlive.com/api"; private static String CUSTOM_ID = "Signer"; // private static final String URL = "https://it-tgrxi.tgslc.org:7002/esign/faces/confirm.jspx"; // private static final String KEY = "myCallbackKey"; public EsignMB() { super(); } public void initialize() { try { System.out.println("getting esign ceremory started"); this.packageId = createPackage(); EslClient eslClient = new EslClient(API_KEY, API_URL); this.esignDocumentURL = "https://sandbox.esignlive.com/access?sessionToken=" + eslClient.getSessionService().createSessionToken(this.packageId, CUSTOM_ID).getSessionToken(); } catch (Exception e) { e.printStackTrace(); System.out.println(e.getMessage()); } } private String createPackage() throws MalformedURLException { EslClient eslClient = new EslClient(API_KEY, API_URL); InputStream fs = null; try { fs = new FileInputStream("C:\\Users\\rxi\\Documents\\Systems_Support_Docs\\eSignLive\\Rehab_FDF.pdf"); } catch (FileNotFoundException e) { e.printStackTrace(); } DocumentPackage documentPackage = PackageBuilder.newPackageNamed("esign-poc-rehab" + Instant.now()) .withSettings(DocumentPackageSettingsBuilder.newDocumentPackageSettings() .withoutLanguageDropDown() .withOptOut() .withWatermark() .withOptOutReason("You have choosen to discontinue the e-sign process.") .withDialogOnComplete().hideOwnerInPersonDropDown() .withHandOverLinkHref("https://rxi.example.org:7002/esign/faces/confirm.jspx?redirectUrl=https://rxi.example.org:7002/esign/faces/paymentHome.jspx") .withHandOverLinkText("Payment Home") .withHandOverLinkTooltip("Payment Home page") .withoutDocumentToolbarDownloadButton() .withCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.newCeremonyLayoutSettings() .withoutTitle() .withoutGlobalConfirmButton() .withoutGlobalSaveAsLayoutButton() .withoutGlobalDownloadButton() .withoutProgressBar() .withGlobalNavigation() .withoutBreadCrumbs() .withoutSessionBar())) .withSigner(SignerBuilder.newSignerWithEmail("[email protected]") .withCustomId(CUSTOM_ID).withFirstName("Ram").withLastName("abc")) .withDocument(newDocumentWithName("Consent") .atIndex(0) .fromFile("C:\\TGDev\\epmo\\Applications\\BorrowerSegment\\sfb-common\\trunk\\test\\src\\main\\resources\\documents\\esign-consent.pdf") .withSignature(SignatureBuilder.acceptanceFor("[email protected]"))) .withDocument(DocumentBuilder.newDocumentWithName("Form") .atIndex(1) .fromStream(fs, DocumentType.PDF) .enableExtraction() .withInjectedField(FieldBuilder.textField().withName("BorrowerSSN").withValue("111-11-1234")) .withSignature(signatureFor("[email protected]").onPage(1).withName("Signature1")) ) .build(); PackageId packageId = eslClient.createPackage(documentPackage); eslClient.getPackageService().deleteDocument(packageId, "default-consent"); System.out.println("packageId:" + packageId.toString()); EslClient eslClient1 = new EslClient(API_KEY, API_URL); eslClient1.sendPackage(packageId); // eslClient.getEventNotificationService().register(EventNotificationConfigBuilder.newEventNotificationConfig(URL) // .withKey(KEY) // .forEvent(NotificationEvent.PACKAGE_COMPLETE)); System.out.println("packageId sent to esignlive.."); FacesContext ctx = FacesContext.getCurrentInstance(); Map sessionState = ctx.getExternalContext().getSessionMap(); sessionState.put("packageId", packageId); sessionState.put("docId", eslClient.getPackage(packageId).getDocument("Form").getId().getId()); return packageId.toString(); } public void setEsignDocumentURL(String esignDocumentURL) { this.esignDocumentURL = esignDocumentURL; } public String getEsignDocumentURL() { return esignDocumentURL; } public void setIframe(RichInlineFrame iframe) { this.iframe = iframe; } public RichInlineFrame getIframe() { return iframe; } public void load(ActionEvent actionEvent) { // Add event code here... this.getIframe().setSource(esignDocumentURL); } public void setPackageId(String packageId) { this.packageId = packageId; } public String getPackageId() { return packageId; } }

Subscriptions

Topics Replies Freshness Views Users
I would like to create my own "Accept" and "OPT-OUT" buttons with a custom message as popup to be displayed when user click on OPT-OUT or Accept button.
3 7 years 5 months ago 8
Profile picture for user mwilliams
I have a custom consent form as the first document in the esign ceremony with OPT-OUT and ACCEPT buttons.
1 7 years 5 months ago 15
Profile picture for user mwilliams
6 7 years 5 months ago 15
Profile picture for user harishaidary
We are trying to integrate our application to esign live and noticed that opt-out option is not displaying on the esign ceremony.
7 7 years 6 months ago 31
Profile picture for user harishaidary

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.