Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to hide back button on Embedded Sending View #251

Open
disist opened this issue Dec 17, 2019 · 10 comments
Open

How to hide back button on Embedded Sending View #251

disist opened this issue Dec 17, 2019 · 10 comments
Labels
EC-1868 Embedded sending: feature controls question responded

Comments

@disist
Copy link

disist commented Dec 17, 2019

Hi all,

Is it possible to somehow hide the back button on 'Embedded Sending View' when using CreateSenderView method?

@LarryKlugerDS
Copy link
Contributor

No, since the back button is controlled by the browser.

Instead of embedding the entire sending view, you can implement the features needed by your sending use case and enable the sender to use your application exclusively.

Unfortunately this isn't practical if your senders need to tag the documents with fields.

What is your use case?

PS. This type of question is best asked on StackOverflow using the docusignapi tag

@disist
Copy link
Author

disist commented Jan 11, 2020

Thank you @LarryKlugerDS for your answer.

I got your idea, but unfortunately, our use case is that the end-user uploads the document and should be able to specify exactly the place where a sign should be. For this, we are using tagging experience in embedded flow.
In detail, our use case is simple: upload a new document, then specify a place for tags and send. Then other users (for whom were sent the document) will be able to sign it. All these operations happen and should be inside our app.

@LarryKlugerDS
Copy link
Contributor

Thank you for the follow-up, @disist ,

We have an enhancement request in our system that would cover your use case. Please ask your DocuSign contact to add your company information to enhancement EC-1868. That will help raise the feature's priority.

@LarryKlugerDS LarryKlugerDS added the EC-1868 Embedded sending: feature controls label Jan 12, 2020
@disist
Copy link
Author

disist commented Jan 13, 2020

Thank you @LarryKlugerDS for the answer and ticket creation.

Let me clarify a bit of what " back button" is, that be on the same page
image

Is it correct on your side and in ticket (EC-1868) description?

So, the case is: we would like somehow hide this back button that end-users won't be able to click on it.

@LarryKlugerDS
Copy link
Contributor

Hi @disist ,
Thank you for the added information.
Yes, the EC-1868 ticket should still cover your use case. The goal is to enable developers to select the specific features of the Send / Edit workflows that they want to enable their users to have access too.

In your use case, you want the user to just be able to "tag" the document with the location of the signing fields, right?

Thanks,
Larry

@disist
Copy link
Author

disist commented Jan 15, 2020

Hi, @LarryKlugerDS,

In your use case, you want the user to just be able to "tag" the document with the location of the signing fields, right?

Correct. And send it to signers.

@skgattani
Copy link

Hi @disist ,
I have similar use case as yours.
I have one question.
I am redirecting to url https://demo.docusign.net/Member/StartInSession.aspx?StartConsole=1&t=8c3c6e18-cba4-4c2e-be54-bf49700d20d5&DocuEnvelope=69508f28-9bcd-4f8e-ba53-9bcaf92c2d25&send=1
then it automatically redirected to https://appdemo.docusign.com/prepare/69508f28-9bcd-4f8e-ba53-9bcaf92c2d25 but I want to one step forward to https://appdemo.docusign.com/prepare/69508f28-9bcd-4f8e-ba53-9bcaf92c2d25/add-fields .

And after user set the sign location and click on send then automatically close this.

Is there anyway to implement this?
If you have any POC code can you please share with me?

Thanks,
Sunil

@LarryKlugerDS
Copy link
Contributor

You want to open the sending view in the tagger? And then return to your application?
Checkout the code examples with workflow 11.
The API call is https://developers.docusign.com/esign-rest-api/reference/Envelopes/EnvelopeViews/createSender

The code example is https://github.com/docusign/code-examples-csharp

@skgattani
Copy link

Hi LarryKlugerDS,
Thanks you very much for quick turnaround.

My use case is exactly same as Disist's.
I want to open sending in an iFrame then as soon as user click on send button, I should close the iFrame with the response.
I followed below process:
await envelopesApi.CreateConsoleViewAsync(accountId,null);
I got URL in response as https://demo.docusign.net/Member/StartInSession.aspx?StartConsole=1&t=f6d342dc-ac96-4195-a3a4-bd9871b4e1ba
Then I called await envelopesApi.CreateEnvelopeAsync(accountId, envelopeDefinition);
Here I got envelopeID then I combined both responses and created new URL as below and added in iFrame https://demo.docusign.net/Member/StartInSession.aspx?StartConsole=1&t=f6d342dc-ac96-4195-a3a4-bd9871b4e1ba&DocuEnvelope=2d168f33-3789-465e-9316-37f9ed0a0345&send=1
Now I got redirected to below page but I want to get to next page which come when you click on next button.

image
image

Then Final page as below where user add fields and click SEND after this I want to close this iFrame and get response.

image

Thanks,

@skgattani
Copy link

Hi LarryKlugerDS,
Thanks you very much I am able to achieve above functionality.

Now just issue to disable back button.

Is this fixed?
or is there any proposed deadline for this?

Thanks,
Sunil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EC-1868 Embedded sending: feature controls question responded
Projects
None yet
Development

No branches or pull requests

4 participants