Skip to main content

Hello,

I'm currently using the DocuSign Java SDK (docusign-esign-java) version 6.0.0 to call the createEditView method from the TemplatesApi class, as shown below:

templateViewRequest.setReturnUrl(returnUrl);
templateViewRequest.setViewAccess("template");
ViewUrl view = templatesApi.createEditView(accountId, templateId, templateViewRequest);

I would like to hide the “Back” button on the Template Edit View screen.

According to the API documentation, it's possible to customize the embedded view using the settings object (e.g., showBackButton, startingScreen, etc.), but the TemplateViewRequest class in the SDK doesn't seem to support setting this settings field.

I would like to ask:

  1. Is there a way to set the settings parameter when using createEditView with the Java SDK?

  2. If not, is there a workaround or should we call the REST API directly using a custom HTTP request?

  3. Do we need to have a specific feature flag enabled on our account to use settings in view requests?

Any guidance would be greatly appreciated.

Thank you so much.

Hi,

The API documentation for TemplateViews:createEdit specifies that it doesn’t support the “settings” object, that object is specific for other sender views, not the specific Template edit view you are trying to render.

https://developers.docusign.com/docs/esign-rest-api/reference/templates/templateviews/createedit/

This isn’t possible for TemplateViews:createEdit.

You can add this on the Ideas portal: https://community.docusign.com/ideas