Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

microsoft teams - Usage of microsoftTeams.shareDeepLink

I try to generate a deep link to a subEntityId in a Microsoft Teams group tab. When I call

microsoftTeams.shareDeepLink({
  subEntityId: "myid",
  subEntityLabel: "123"
}
);

I get this dialog (my tab is called 'Interactive':

enter image description here

As you can see, there is no URL in the text field but the label, which was appended with the tab's name. I don't see out https://docs.microsoft.com/de-de/microsoftteams/platform/concepts/build-and-test/deep-links on how to use shareDeepLink and I don't see how else I could use it to generate a URL. Can anyone help?

question from:https://stackoverflow.com/questions/65889291/usage-of-microsoftteams-sharedeeplink

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

It turns out that the deep link generation works fine, but the texbox contains a rich text link instead of the actual URL. So copying it into a rich text block will work, but not inside into the browser's URL field.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...