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

Pre-Filled Tabs on a Template #355

Open
zeshan-iqbal opened this issue Nov 15, 2021 · 1 comment
Open

Pre-Filled Tabs on a Template #355

zeshan-iqbal opened this issue Nov 15, 2021 · 1 comment

Comments

@zeshan-iqbal
Copy link

Hi,

I have a sender pre-filled tab inside a template and I'm trying to send this template using C# api. Now I'm using the below code to fill this tab while sending a an envelop using this template

`var env = new EnvelopeDefinition { TemplateId = templateId };

        var prefillTabs = new PrefillTabs()
        {
            TextTabs = new List<Text>()
            {
                new Text()
                {
                    DocumentId = "1",
                    TabLabel = "business-details.BusinessInformation.BusinessName",
                    Value = "PreFill: BusinessName"
                }
            }
        };

        var tabs = new Tabs()
        {
            PrefillTabs = prefillTabs
        };

        var signerRole = new TemplateRole
        {
            Email = signer.Email,
            Name = signer.Email,
            RoleName = templateRoleName,
            Tabs = tabs
        };

       env.TemplateRoles = new List<TemplateRole> { signerRole };
        env.Status = "sent";

       // send this envelop using EnvelopApiClient
      await envelopesApi.CreateEnvelopeAsync(accountId, env);`

Envelop is sent but the problem is prefilled tab is not populated and also SignHere field is not visible in the sent enevlope. I almost spent 4 hours figuring it out but couldn't figure it out. Any help will be much appreciated.

@ivdinkov
Copy link

ivdinkov commented Nov 16, 2021

Hi @zeshan-iqbal, please post here only potential bugs related to the C# client. This looks like a code implementation issue and will require you to provide more information in order to assist you. Please open a case through our support portal and add a case reference 08598427 and we will be happy to help you with your query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants