I have a place on my pdf that says, I authorize .....
I would like to dynamicly put in the Company Name here that will be use in the same template
is there a way like how I pass recipientName, I can also pass company Name so that it can display here.
Please research the DocuSign Developer Center, as it answers this question and many more you may have. If you look at the Explore -> Features section you'll see in the Stick-eTabs section an area that describes Tab Positioning. Here it explains the two main ways of placing tabs on your documents.
https://www.docusign.com/developer-center/explore/features/stick-etabs
The Tab Positioning in the above page describes how you can place tags using Absolute positioning (i.e. 100 pixels to the left, 50 pixels down), or you can use Relative (aka Anchor) positioning. With anchor tabs you can place tabs based on document content. For your example of placing a company tab at or near the text "I authorize...", you can use the following (partial) JSON:
"tabs": {
"companyTabs": [
{
"anchorString": "I authorize...",
"anchorXOffset": "1",
"anchorYOffset": "0",
"anchorIgnoreIfNotPresent": "false",
"anchorUnits": "inches"
}
]
}
This would in turn place a companyName tab 1-inch to the right of the text "I authorize..." in your document. You can place any DocuSign tab using the Anchor Tagging method, but one thing to note is that it will place those tags at ANY and EVERY location it finds the anchorString text in the envelope.
Related
We are sending a document through API at a certain point the customer should be able to write a big block of text. Yet when putting a text field in the custom field without limitation you can only write until you get to the end of the page. and it does not continue on the line below.
unlimited
if you put fixed size i do not seem to be able to actually specify the width and hight of the field that a customer can use in de custom field set-up. and i only get a small field where you can place 1 character.
fixed size
Does anyone now how to get around this?
We place the fields on the documents with predefined tags on the document and custom document fields
I tried to go to the other settings to see whether something could help me like the fixed size.
DocuSign doesn't allow you to create a text box with unlimited size or for users to input text that extends off the page. I would recommend using the height and width properties to set the size of the tab to the max area where your user can input text. If you set the height property your tab will be able to include multiple lines of text. The json would look something like the snippet below. You can also enable API request logging which allows you to try setting tabs in the web app and then you can download the logs to see what the json looks like for the tabs you created.
"textTabs": [
{
"pageNumber": "1",
"xPosition": "300",
"yPosition": "400",
"documentId": "1",
"width": "100",
"height": "30"
}
]
Need help with using the attribute ConcealValueOnDocument. Document in the envelope is a html document
Following syntax was tried and it did not work.
<input name="color" data-ds-type="text" data-ds-role="Signer1" style="width:120px;" concealValueOnDocument="true" />");
And in the developer console the option is "Hide text with asterisks". I am looking for examples or directions on how to conceal a value when uploading as HTML.
Also is it possible to hide the text box completely when value is entered?
Edited to show how the document is submitted
Document document = new Document();
document.setHtmlDefinition(documentHtmlDefinition);
document.setName(signatureRequest.getDocumentName());
document.setDocumentId(signatureRequest.getDocumentId());
....
envelopesApi.createEnvelope(accountId, envelopeDefinition);
And the html has appropriate tags for different fields.
You are setting the tab via inline HTML. Inline HTML can be used to set many tab properties, but not all of them. concealValueOnDocument cannot be set via inline HTML. The list is on page Setting tabs in HTML documents in section Configuring HTML tabs.
Solution
Use an Inline JSON marker for the tab. See page Setting tabs in HTML documents.
Example
API request:
"textTabs": [
{
"name": "color",
"tabLabel": "signer1Color",
"width": "120",
"concealValueOnDocument: "true"
}
]
Within the HTML:
{{ "tabLabel": "signer1Color" }}
I followed the Google promotion email code template and drafted one demo.
https://developers.google.com/gmail/promotab/overview
and the code also passed Google makeup test
https://www.google.com/webmasters/markup-tester/
however, when I use my email tools inserting the following code into the HTML editor and send out the EDM, no effect appears, it just shows up like a normal email (no image/banner appears in promotion box).
I saw there is another document from Google but it only address the "one-click" / "go-to-action" email
https://developers.google.com/gmail/markup/apps-script-tutorial
Would highly appreciate it if anyone can help to point out mistakes.
FYI Promotion email markup does not require whitelisting
<!-- Paste your own code here, or change the existing code to experiment with what works -->
<!-- Feel free to paste the entire HTML of your email -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<script type="application/ld+json">
[{
"#context": "http://schema.org/",
"#type": "Organization",
// WARNING: Before sending email, either point the logo
// at your own image or delete the logo annotation.
//
// If showing a logo, we recommend using an https URL.
// It's not a requirement today, but may be in the future.
"logo": "https://www.gobear.com/hk//themes/custom/gobear/apple-touch-icon.png"
},{
"#context": "http://schema.org/",
"#type": "EmailMessage",
// Use this optional alternative subject line to avoid duplicate text
// between the subject, deal badge, and discount code.
"subjectLine": "【後疫情時代】幫你睥實全港理財貼士 🐻"
},{
"#context": "http://schema.org/",
"#type": "DiscountOffer",
// Describe your discount, this will be shown as a badge (eg "25% off" or "free shipping")
"description": "6月理財小貼士",
"availabilityStarts": "2020-07-18T22:51:01-07:00",
"availabilityEnds": "2020-07-31T22:51:01-07:00"
},{
// Promotion card with single image.
// We recommend using an https URL. It's not a requirement today, but may be in the future.
// Any image size will work and will just be cropped automatically.
// GIF & WEBP images are not supported and will be filtered out.
// Sample image is 538x138, 3.9 aspect ratio
"#context": "http://schema.org/",
"#type": "PromotionCard",
"image": "https://newtwb.s3.amazonaws.com/images/gobearhk/GoBear_Edm_banner_20200618.jpg"
}]
</script>
</head>
This appears to be a bug!
After doing some testing, it appears that neither the Promotional Email nor any Email markup seems to be working.
I have taken the liberty of reporting this on Google's Issue Tracker for you, detailing the behaviour:
Following the Apps Script Quickstart for Email Markup does not display the Go-To action
You can hit the ☆ next to the issue number in the top left on the page which lets Google know more people are encountering this and so it is more likely to be seen to faster.
I am having trouble with creating texttabs via the docusign REST API.
The creation succeed, but when I open the DocuSign page to sign the document, the created texttabs have not the defined size.
Interestingly the created notetabs with the same size work properly.
I compare the texttab with a Textbox with the size 100 px * 100 px.
How can I fix this issue?
"textTabs": [
{
"height": 100,
"name": "Test1",
"width": 100,
"disableAutoSize": "true",
"documentId": "1",
"pageNumber": "1",
"xPosition": "291",
"yPosition": "244"
}
]
DocuSign adds some additional offsets based on the Tab Type that is being used.
See this answer for more information.
Troubleshooting Tip:
I suggest, you use the DocuSign Web Sending UI to tag your documents and use the lisEnvelopeRecipients to retrieve the Tab positions. You can then use the Tab positions for your subsequent API calls.
I am trying to modify the web interface of bootstrap theme in OpenWrt's luci web interface and i managed to change colors and some simple things but i cannot find how to change the names of the tabs (for example instead of "status" to write "status11111"). Also i wanted to add a logo picture on the top of the page and i managed to add it for the login page and also it appears on the default main page after the login but then if I swap to any tab the picture appears like crashed or missing (see the image bellow) and the link becomes like this "/cgi-bin/luci/;stok=96c966ea63a7913b6c02fc09c7862d77/admin/status/overview".
My 2 questions are: how can I change the names of the tabs and how can I add a logo picture on the top of the page so it can appear to every tab? What files do I have to modify?
For question #1 "how to change the names of the tabs", you want to look in /usr/lib/lua/luci/controllers/admin
There will be a number of files including "index.lua", "status.lua", "network.lua", etc. If, for example, you wanted to change the name of the status tab from "Status" to "New Status Tab Name", you would go into status.lua and find the line:
entry({"admin", "status"}, alias("admin", "status", "overview"), _("Status"), 20).index = true
and replace it with:
entry({"admin", "status"}, alias("admin", "status", "overview"), _("New Status Tab Name"), 20).index = true
For question #2, what exactly did you edit when you added the image?