title: Tags are appearing in left of the document in embedded Signing using template
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>``code`       DocuSignTK.Recipient recipient = new DocuSignTK.Recipient();
          recipient.Email = signer_email; // This person will use embedded signing. If you have his
              // email, supply it. If you don't, use a fake email that includes your
              // ClientUserID. Eg embedded_signer_{ClientUserID}@your_company.com
          recipient.UserName = signer_name;
          recipient.ID = 1;
          recipient.Type_x = 'Signer';
          recipient.RoutingOrder = 1;
          recipient.RoleName = 'Signer1';        
          // We want this signer to be "captive" so we can use embedded signing with him
          recipient.CaptiveInfo = new DocuSignTK.RecipientCaptiveInfo();
          recipient.CaptiveInfo.ClientUserID = signer_user_id; // Must uniquely identify the             
  
          // Create the recipient information        
          DocuSignTK.ArrayOfRecipient1 recipients = new DocuSignTK.ArrayOfRecipient1();
          recipients.Recipient = new DocuSignTK.Recipient[1];
          recipients.Recipient[0] = recipient;
          
          DocuSignTK.ArrayOfTemplateReferenceRoleAssignment Roles = new DocuSignTK.ArrayOfTemplateReferenceRoleAssignment();
          Roles.RoleAssignment = new DocuSignTK.TemplateReferenceRoleAssignment[1];
          DocuSignTK.TemplateReferenceRoleAssignment role = new DocuSignTK.TemplateReferenceRoleAssignment();
          role.RoleName = 'Signer1';
          role.RecipientID = 1;
          Roles.RoleAssignment[0] = role;        
          
          // Create the template reference from a server-side template ID
          DocuSignTK.TemplateReference templateReference = new DocuSignTK.TemplateReference();
          templateReference.Template = 'd0d80082-612b-4a04-b2a1-0672eb720491';
          templateReference.TemplateLocation = 'Server';
          
          
          templateReference.RoleAssignments = Roles; 
          
          // Construct the envelope information
          DocuSignTK.EnvelopeInformation envelopeInfo = new DocuSignTK.EnvelopeInformation();
          envelopeInfo.AccountId = account_Id;
          envelopeInfo.Subject = 'Subject';
          envelopeInfo.EmailBlurb = 'Email content';         
  
          // Make the call
          try {
              //DocuSignTK.EnvelopeStatus result = api_sender.CreateAndSendEnvelope(envelope);
              // Create draft with all the template information
              DocuSignTK.ArrayOfTemplateReference TemplateReferenceArray = new DocuSignTK.ArrayOfTemplateReference();
              TemplateReferenceArray.TemplateReference = new DocuSignTK.TemplateReference[1];
              TemplateReferenceArray.TemplateReference[0] = templateReference;
              DocuSignTK.EnvelopeStatus result = api_sender.CreateEnvelopeFromTemplates( TemplateReferenceArray, recipients, envelopeInfo, true);
              envelope_id = result.EnvelopeID;
              System.debug('Returned successfully, envelope_id = ' + envelope_id );
          } catch ( CalloutException e) {
              System.debug('Exception - ' + e );
              error_code = 'Problem: ' + e;
              error_message = error_code;
          }  `code``</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am integrating Docusign for embedded signing. I am using SOAP API and used method <em>CreateEnvelopeFromTemplates</em> . Template I created is having some fields/Tabs. But once I open signing url these fields are located on side of the document instead of the location which I sent in template.</p>
  
  <p>I have also assigned Role name for recipient but it is not working. Please help.</p>
  
  <p><a href="https://i.stack.imgur.com/beirg.png" rel="nofollow noreferrer">Click here to see screenshot</a></p>