Date: Fri, 29 Mar 2024 07:22:07 +0100 (CET) Message-ID: <1977589077.185.1711693327522@atlconfluence01.d4.namirialtrusted.it> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_184_92680555.1711693327520" ------=_Part_184_92680555.1711693327520 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This tutorial shows you how to define hyperlinks on your documen= t with the API.
In case you want to send a document with one to many URLs to other websi= tes it could be better for the recipient to just click on the links and ano= ther tab in the browser opens with the correct website instead of continuou= sly copy paste the links to open them.
Please be aware that the hyperlink text will not appear on the PDF it wi= ll just link to the configured target link. Hence, if you want to display s= pecific text or the Uri (target link) itself in the PDF, make sure to inser= t the text already before inserting the hyperlink.
To define hyperlinks on the document you have to do the following steps:=
After uploading the document you now have to configure the hyperlink(s) = in the workstep configuration.
Generally you can define the following settings for links:
You can find a sample configuration of two hyperlinks in the following s= ection:
{ "Documents": [{ "FileId": "2b70d99d-1234-1234-b339-724485b70e05", "DocumentNumber": 1 } ], "Name": "Test", "Activities": [{ "Action": { "Sign": { "RecipientConfiguration": { "ContactInformation": { "Email": "janedoe@sample.com", "GivenName": "Jane", "Surname": "Doe", "LanguageCode": "EN" } }, "Elements": { "LinkConfiguration": { "HyperLinks": [{ "ElementId": "FirstLink", "Uri": "https://www.esignanywhere.net", "DocumentNumber": 1, "FieldDefinition": { "Position": { "PageNumber": 1, "X": 370, "Y": 707 }, "Size": { "Width": 152, "Height": 15 } } }, { "ElementId": "SecondLink", "Uri": "https://demo.esignanywhere.net"= , "DocumentNumber": 1, "FieldDefinition": { "Position": { "PageNumber": 1, "X": 320, "Y": 675 }, "Size": { "Width": 160, "Height": 15 } } } ] } }, "SigningGroup": "firstSigner" } } }, { "Action": { "SendCopy": { "RecipientConfiguration": { "ContactInformation": { "Email": "johndoe@sample.com", "GivenName": "John", "Surname": "Doe", "LanguageCode": "EN" } } } } } ] }
Please see also the next video: