Command Bar
2 TopicsHow do I allow a user to trigger a task module from an adaptive card in the compose area?
I have a teams bot which responds to search queries via a messaging extensions and allows the user to embed card responses in messages and teams. I have reworked it from making use of thumbnail cards to make use of adaptive cards to leverage the ability to trigger Task modules from them so that I can make a popup web view appear when the user clicks the button. This all works fine while the user is clicking the button on the card after it has been posted as a chat or channel reply. The issue is that while the card is still in either the command bar or the compose window, prior to the user copying it or posting their message, the button which triggers the task module does not work. It is also worth noting that the other buttons present on the card which are AdaptiveOpenUrlActions work as expected in both the compose window and the posted message. This is the C# code I am using to add the button to my Adaptive Card: actions.Add(new AdaptiveSubmitAction() { Title = "View", Data = new PreviewTaskModel() { DocumentId = result.Metadata.Id, ContentSourceId = result.Metadata.ContentSourceId } }); My question is: Is this intended functionality? If so does making use of DeepLinking work around this issue?Solved2.6KViews0likes11CommentsCommand Bar disappears when editing in List / SP Modern
hi everyone, Since weeks, we've encountered a problem when the Command bar in List disappears while editing. It looks fine when I start editing, but when the texts is long than one page, the Command bar just disappears, that mean I won't be able to save whatever I've been editing. Any idea how to fix this problem please? 1st screenshot: when start editing 2nd screenshot: after filling in the page with text, the command bar disappears Thank you so much Jacqueline721Views0likes2Comments