Hide Left menu
Monday, June 21, 2021 at 04:28pmHello,
I am trying to hide the left menu showing the documents as you can see my attached pic. but can not do it using the OneSpan Dll 11.43.
Can you please help me?
Thanks Nehme
Hello,
I am trying to hide the left menu showing the documents as you can see my attached pic. but can not do it using the OneSpan Dll 11.43.
Can you please help me?
Thanks Nehme
Reply to: Hide Left menu
Monday, June 21, 2021 at 04:48pmHi Nehme,
If you want to hide the let menu entirely, including the hamburger and the document button, which I don't think it's quite possible today. What's the purpose behind it? Do you want to prevent the signer from navigating through other documents, or from downloading the documents?
Duo
Reply to: Hi Nehme, If you want to…
Tuesday, June 22, 2021 at 06:58amHello Duo,
Thanks for your fast reply. I got your point. I have another question, can I hide or not show the attached message?
Thanks,
Nehme
Reply to: Hello Duo, Thanks for your…
Tuesday, June 22, 2021 at 09:20amHi Nehme,
This page is so called "Thank you Summary page" in New Signer Experience. You can modify the UI components in this page, refer to my blog here.
However, you won't be able to hide it via package settings like what you previously did for thank you dialog in classic Signing Experience. Instead, for embedding signing, you will have to monitor the newly introduced event "ESL:MESSAGE:STARTED:SIGNER_COMPLETE_REVIEWED". This is an interruptible event, therefore you can block the subsequent behavior if you don't reply back, see below:
window.addEventListener('message', receiveMessage, false);
function receiveMessage(event){
var origin = event.origin || event.originalEvent.origin;
var data = event.data;
console.log(data, origin);
switch (data) {
case 'ESL:MESSAGE:REGISTER':
event.source.postMessage('ESL:MESSAGE:ACTIVATE_EVENTS', origin);
break;
case 'ESL:MESSAGE:STARTED:SIGNER_COMPLETE_REVIEWED':
break;
default:
event.source.postMessage(data, origin)
break;
}
}
For remote signing, you can choose to automatically redirect the signing ceremony to your handover URL, check my blog here. Or simplify the thank you summary layout, provide some descriptive language and ask the client to click the "Review Documents" button to go back to signing ceremony.
Duo
Reply to: Hide Left menu
Tuesday, June 22, 2021 at 12:04pmHello Duo,
Thanks for the help, it is working as what we want. Another question, the code you give me did not hide the message when you decline the package. So how to hide the decline new message ?
Thanks
Nehme
Reply to: Hello Duo, Thanks for the…
Tuesday, June 22, 2021 at 12:07pmWhich decline message are you referring to? Could you share a screenshot?
Duo
Reply to: Which decline message are…
Tuesday, June 22, 2021 at 12:19pmHello Duo,
Kindly check the attachments.
Thanks,
Nehme
Reply to: Hello Duo, Kindly check the…
Tuesday, June 22, 2021 at 12:33pmI see. If you want to redirect the signer back to the signing ceremony, this is not possible because the signer should lost the access to the transaction immediately after the decline. Instead, you can modify the wording in the decline page:
"oss.components.DeclineToSign.declineMessageTitle"
"oss.components.DeclineToSign.declineMessageDescription"
If your application wants to be notified of the decline event, you can monitor the event "ESL:MESSAGE:SUCCESS:PACKAGE_DECLINE". To note, although this event is interruptible, this won't prevent displaying of decline page, based on the reason above.
Duo
Reply to: Hide Left menu
Tuesday, June 22, 2021 at 12:42pmHello,
I got your points. Our system just when you decline the package, it forward you back to one page in our system . So we do not need the decline message to show. as what we did for the confirmation message, is there any way to do the same and hide the decline message?
Thanks,
Nehme
Reply to: Hello, I got your points…
Tuesday, June 22, 2021 at 12:48pmIn that case, I imagine it will only hold off for a second, it might be sufficient if you simply remove the texts in the decline page.
Duo
Reply to: In that case, I imagine it…
Tuesday, June 22, 2021 at 12:50pmHello,
So how I can do this ? remove the texts or customize it? Do you have a code sample?
Thanks
Nehme
Reply to: Hello, So how I can do this…
Tuesday, June 22, 2021 at 12:53pmYou will need to contact support team ([email protected]) and mention you need to set empty string for above two attributes.
Duo