2016-11-22 3 views
0

XML文書(単語文書)にアンカーを追加しようとしていますが、何らかの理由でそのアンカーが機能しません。私はhttps://www.docusign.com/developer-center/explore/features/stick-etabs、タブ配置方法2:自動配置(アンカータギング)のセクションに従っています。正しい場所にアンカーを置くことができません

enter image description here

私はanchorXOffsetとanchorYOffsetプロパティを調整しようとした:それは私がいる結果です。私は「敬具」テキストの後に記号を入れしようとしている:

request_hash = { 
    'status'  => 'sent', 
    'emailBlurb' => 'eblurb', 
    'emailSubject' => 'Hello, you have a contract file to be signed. Hurry up!', 
    'documents' => [ 
     { 
      'name'  => file_name, 
      'documentId' => '1', 
      'order'  => '1' 
     } 
    ], 
    'recipients' => { 
    'signers' => [ 
     { # Employee 
     'email'  => user_email, 
     'name'  => user_name, 
     'recipientId' => '2', 
     "tabs"  => { 
      "signHereTabs" => [{ 
      #"xPosition" => "120", 
      #"yPosition" => "110", 
      "anchorString": "SIGNED", 
      "anchorXOffset": "1", 
      "anchorYOffset": "0", 
      "anchorIgnoreIfNotPresent": "true", 
      "anchorUnits": "inches", 
      "documentId" => "1", 
      "pageNumber" => "11" 
      }] 
     } 
     }, 
     { # The owner 
     'email'  => ENV['manager_email'], 
     'name'  => ENV['manager_name'], 
     'recipientId' => '1', 
     "tabs"  => { 
      "signHereTabs" => [{ 
      #"xPosition" => "70", 
      #"yPosition" => "500", 
      "anchorString": "Yours sincerely", 
      "anchorXOffset": "0", 
      "anchorYOffset": "0", 
      "anchorIgnoreIfNotPresent": "true", 
      "anchorUnits": "inches", 
      "documentId" => "1", 
      "pageNumber" => "10" 
     }] 
     } 
     } 
    ] 
    } 
} 

答えて

0

私は、単一の単語のアンカー文字列で始まることをお勧め、例えば「誠実」。

また、signHereTabsオブジェクトから「pageNumber」を削除します。アンカーテキストの配置を使用している間は使用しないでください。

さらに詳しい情報と実際の例については、anchor text recipeをご覧ください。

関連する問題