2017-10-20 5 views
0

나는 다음과 같은 코드를 사용하여 체크 박스 앵커 탭을 추가하려고했지만 그냥 일반 텍스트 필드에있는 끝 :문서에 확인란 앵커 탭을 추가하려면 어떻게합니까?

  var inputTab = new Tab 
      { 
       Type = TabTypeCode.Custom, 
       CustomTabType = CustomTabType.Checkbox, 
       CustomTabRequired = false, 
       CustomTabRequiredSpecified = true, 
       AnchorTabItem = 
        new AnchorTab 
        { 
         AnchorTabString = "Input41-1", 
         IgnoreIfNotPresent = true, 
         IgnoreIfNotPresentSpecified = true 
        }, 
       TabLabel = "Label" + i, 
       DocumentID = "1", 
       RecipientID = recipientNum 
      }; 

      this.tabList.Add(inputTab); 
+0

SOAP 또는 REST DocuSign API를 사용하고 있으며 어떤 언어로 코드를 개발하고 있습니까? –

+0

SOAP DocuSign API를 사용하고 있으며 C#을 사용하여 문서를 보냈습니다. – mgw22

+0

사용자 정의 "라디오"탭을 추가 할 때도 마찬가지입니다. 적절한 라디오 버튼으로 표시되지 않습니다. 어떤 이유로 든 작고 조정 가능한 입력 필드로 표시됩니다. 기본적으로 선호하는 체크 박스 인 라디오 버튼 일 수있는 사용자 정의 탭의 간단한 예제를 찾고 있습니다. 내가 뭘 잘못하고 있는지 모르겠다. – mgw22

답변

0

내가 SOAP API를 예를 아래에 있고 그것을 체크 박스와 라디오 버튼을 만드는 잘 작동 ,

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.docusign.net/API/3.0"> 
     <soapenv:Header/> 
     <soapenv:Body> 
      <ns:CreateAndSendEnvelope> 
      <ns:Envelope> 
       <ns:AccountId>{accountId}</ns:AccountId> 
       <ns:Documents> 
        <ns:Document> 
        <ns:ID>32093411</ns:ID> 
        <ns:Name>DocName</ns:Name> 
        <ns:PDFBytes>{pdfBytes}</ns:PDFBytes> 
        <ns:FileExtension>pdf</ns:FileExtension> 
       </ns:Document> 
       </ns:Documents> 
       <ns:Recipients> 
        <ns:Recipient> 
         <ns:ID>45399085</ns:ID> 
         <ns:UserName>Test Radio Name</ns:UserName> 
         <ns:Email>[email protected]</ns:Email> 
         <ns:Type>Signer</ns:Type> 
         <ns:RoutingOrder>1</ns:RoutingOrder> 
        </ns:Recipient> 
       </ns:Recipients> 
       <ns:Tabs> 
       <ns:Tab> 
        <ns:RecipientID>45399085</ns:RecipientID> 
        <ns:AnchorTabItem> 
         <ns:AnchorTabString>/TextHereClient/</ns:AnchorTabString> 
        </ns:AnchorTabItem> 
        <ns:Type>Custom</ns:Type> 
        <ns:TabLabel>Checkbox1</ns:TabLabel> 
        <ns:CustomTabType>Checkbox</ns:CustomTabType> 
       </ns:Tab> 
       <ns:Tab> 
        <ns:RecipientID>45399085</ns:RecipientID> 
        <ns:AnchorTabItem> 
         <ns:AnchorTabString>/SignHereAdvisor/</ns:AnchorTabString> 
        </ns:AnchorTabItem> 
        <ns:Type>Custom</ns:Type> 
        <ns:TabLabel>Checkbox2</ns:TabLabel> 
        <ns:CustomTabType>Checkbox</ns:CustomTabType> 
       </ns:Tab> 
       <ns:Tab> 
        <ns:RecipientID>45399085</ns:RecipientID> 
        <ns:AnchorTabItem> 
         <ns:AnchorTabString>Test Anchor</ns:AnchorTabString> 
        </ns:AnchorTabItem> 
        <ns:Type>Custom</ns:Type> 
        <ns:Name>Radio</ns:Name> 
        <ns:TabLabel>Radio Group1</ns:TabLabel> 
        <ns:CustomTabType>Radio</ns:CustomTabType> 
       </ns:Tab> 
       <ns:Tab> 
        <ns:RecipientID>45399085</ns:RecipientID> 
        <ns:AnchorTabItem> 
         <ns:AnchorTabString>/SignHereClient/</ns:AnchorTabString> 
        </ns:AnchorTabItem> 
        <ns:Type>Custom</ns:Type> 
        <ns:Name>Radio</ns:Name> 
        <ns:TabLabel>Radio Group1</ns:TabLabel> 
        <ns:CustomTabType>Radio</ns:CustomTabType> 
       </ns:Tab> 
      </ns:Tabs> 
       <ns:Subject>Email Subject Radio</ns:Subject> 
       <ns:EmailBlurb>Email Blurb Radio</ns:EmailBlurb> 
      </ns:Envelope> 
      </ns:CreateAndSendEnvelope> 
     </soapenv:Body> 
    </soapenv:Envelope> 
+0

SOAP을보고 나서 내가 누락 된 부분을 찾아 냈습니다. 감사합니다 Amit! CustomTabTypeSpecified = true, – mgw22

+0

그런 다음 대답으로 받아 들일 수 있습니까? –

+0

예. 미안하지만 어떻게해야할지 모르겠다. – mgw22