Hyperlinks

Hyperlinks can be applied dynamically to elements (texts, images, tables, list) for DOCX, ODT, ODS, and XLSX documents. Right-click the element and select "hyperlinks" to insert the marker.

Compatibility

  • expected behavior: text editor automatically replaces curly braces with special characters: %256B

  • a static URL and a URL coming from a marker, e.g., https://carbone.io{d.url}, cannot be inserted together

    • https://carbone.io is removed automatically and only {d.url} is kept

  • do not write the marker with curly braces in XLSX files

    • example: reduce {d.url} to d.url; if http:// appears before d.url, the hyperlink works

Before injecting hyperlinks dynamically on reports, the URL is verified whether it has a valid format.

The URL should contain:

  • ‼️ required: a root domain of length between 2 and 256

  • ‼️ required: a top level domain like .com, .org, .fr, or other

  • 👍 optional: a protocol, either http:// or https://. If it doesn't exist the protocol https:// is added

If the provided URL is not valid, it is replaced by https://carbone.io/documentation.html#hyperlink-validation.

Last updated