Forum Discussion
Adaptive Card, Copy/Paste/Share functionality
- Oct 22, 2021
Paul_By - As per my understanding, we do not have a way to update the adaptive card send through "Messaging Extension/Link Unfurling" but we can update/refresh the normal adaptive card sent through turnContext.SendActivityAsync() via message reference id/conversation id.
Thanks,
Chetan Sharma
----------------------------------------------------------------------------------------------------------
If the response is helpful, please click "Mark as Best Response" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
We are looking into the issue.We will update you.
- ChetanSharma-msftOct 18, 2021
Microsoft
Copy-Paste is not supported for Adaptive Cards. However it is supported for Messaging Extension/Link Unfurling.- Paul_ByOct 18, 2021Brass Contributor
Thank you.
Maybe ... Are there any ways to send adaptive card from outside (Azure function) that will be (look) like "Messaging Extension/Link Unfurling" message?
Link Unfurling - I found that card-link is cached. Can I generate a new one or swith off the cache (or update the cache) ?
And ... Could you answer on question 3) ("BotNotInConversationRoster"), please? What about copied (or sent via MessagingExtension, unfurling for example ) Adaptive Card actions ... If I try to UpdateActivityAsync(...) I'll receive "Operation returned an invalid status code 'Forbidden'" exception. How can I update Card of MessagingExtension by Messaging Extension Card Button Click? Can I update/delete card of "Messaging Extension/Link Unfurling" message?- Nivedipa-MSFTOct 21, 2021
Microsoft
For Question 3 - Can you confirm that you have uploaded bot for organization or for yourself?
For UpdateActivityAsync(...) - Could you share the repro steps?As far as I understand you have sent a card using messaging extension and now you are trying to update it with the same card.