无法再添加/删除通过 DocuSignApi 创建的信封的文档

问题描述 投票:0回答:1

对于我们的应用程序,我们使用 DocuSign Api 创建包含用于签署 DocuSign 电子签名应用程序的文档的信封。在 2024 年第一季度/第二季度之前一切都很好。现在,客户报告说他们无法再按照此处所述编辑/删除文档 https://support.docusign.com/s/document-item?language=en_US&rsc_301&bundleId=gbo1643332197980&topicId=fjx1578456267870.html&_LANG=enus

此时信封处于创建状态。

手动上传文档时,我仍然可以使用上述功能。 DocuSign 支持无能为力。你知道这里可能有什么问题吗?

docusignapi
1个回答
0
投票

您需要在

ShowEditDocuments = "true"
DocumentSettings
对象中设置
EnvelopeViewSettings
,用于确定各种设置或嵌入发送。是的,这是最近推出的一项新功能。

不确定您使用的是哪种语言,我假设是 C#,这是您需要的代码:

    private static EnvelopeViewRequest PrepareViewRequest(string startingView, string returnUrl)
    {
        EnvelopeViewSettings viewSettings = new EnvelopeViewSettings
        {
            StartingScreen = startingView,
            SendButtonAction = "send",
            ShowBackButton = "false",
            BackButtonAction = "previousPage",
            ShowHeaderActions = "false",
            ShowDiscardAction = "false",
            LockToken = string.Empty,
            RecipientSettings = new EnvelopeViewRecipientSettings
            {
                ShowEditRecipients = "false",
                ShowContactsList = "false",
            },
            DocumentSettings = new EnvelopeViewDocumentSettings
            {
                ShowEditDocuments = "true",
                ShowEditDocumentVisibility = "false",
                ShowEditPages = "false",
            },
            TaggerSettings = new EnvelopeViewTaggerSettings
            {
                PaletteSections = "default",
                PaletteDefault = "custom",
            },
            TemplateSettings = new EnvelopeViewTemplateSettings
            {
                ShowMatchingTemplatesPrompt = "true",
            },
        };

        EnvelopeViewRequest viewRequest = new EnvelopeViewRequest
        {
            ReturnUrl = returnUrl,
            ViewAccess = "envelope",
            Settings = viewSettings,
        };
        return viewRequest;
    }
© www.soinside.com 2019 - 2024. All rights reserved.