Appearance
Configure client links β
All clients on a document gets a unique URL to access the document. This URL is shared depending on delivery method (email, sms) or manually by the user.
Retrieving client links β
Client links can be manually put together based on the unique ids for the clients.
As a partner itβs optional to setup a custom subdomain
to use for the document flow. If you use a custom subdomain, it can be used here as well.
Example manually retrieve client/document links
js
const baseDomain = 'https://my-subdomain.cling.se' // default: https://app.cling.se
const publicLinks = document.clients.map(
client => `${baseDomain}/document/${client.publicDocumentId}`
)
Setting custom client links β
Important
This feature is restricted, contact Cling support to gain access.
By setting customDocLink
before document is sent, you can send clients to a custom URL.
js
const myDomain = 'https://my-domain.se'
document.setProperty(
'clients',
clients.map(client => {
return {
...client,
customDocLink: `${myDomain}/publicDocuments/{{publicDocumentId}}`
}
})
)