Forum Discussion
LoicM
Jul 03, 2020Copper Contributor
Use Markdown in DeepLink
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#generating-a-deep-link-to-the-scheduling-dialog
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
2 Replies
Sort By
- LoicMCopper Contributor
We have done further tests and we are also looking for advice on line break with deeplink.
- gnome444Copper Contributor
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`);