Jul 03 2020 06:45 AM
Hello,
We would like to use deep link to generate Meeting Invitation with hyperlink in the body.
We are you the following documentation : https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links#generati...
We tried [text to lin](link) , <a href=lin>text to link</a> with no luck.
Is it possible to have hyperlink in body ? if yes, could you explains how ?
Thank you
Jul 06 2020 01:51 AM
We have done further tests and we are also looking for advice on line break with deeplink.
Dec 03 2021 03:24 AM
same problem for now, with this code :
let startText = `Rappel du dossier [${dossier}]`+encodeURIComponent(`${iwsUrl}${dossier}`);
return <div style={{textAlign:"center"}}>
<Tooltip title="Créer la conférence d'incident majeur">
<a onClick={e => e.stopPropagation()}
href={`https://teams.microsoft.com/l/chat/0/0?users=${members}&topicName=${topic}&message=${startText}`}
target="_blank">
<Group style={{fill:commColors[7]}}/>
</a>
</Tooltip>
</div>
}
I have to type 2 spaces after the first line to get the markdown recognized.
Note : 2 line breaks result in one real line break in the message created by the deeplink :)
let startText = `Rappel du dossier [${dossier}]`+encodeURIComponent(`${iwsUrl}${dossier}
FIN`);