User Profile
BazVanDenDungen
Copper Contributor
Joined 4 years ago
User Widgets
Recent Discussions
When does the "Get Started" callout display for a Office Taskpane integration
I have an Office Taskpane application using the DeskTopFormFactor and I am having trouble making sure that my changes made to the <GetStarted> aspect of the manifest when I deploy it to my office environment. The integration does appear after a period of time correctly however I have been unable to see the "Get Started" dialogue to show other members of my team for validation on its text and behaviour. Is there a way to show the callout after the add-in has been added? Also under what conditions should this notification show for an average user?540Views0likes0CommentsRe: How do I allow a user to trigger a task module from an adaptive card in the compose area?
Sayali-MSFT I am unable to view the video you linked however when I tried making use of the deeplink method to invoke my task module it worked thanks! As a follow up, is it intended that making use of the OnTeamsTaskModuleFetchAsync is only supported once the card has been posted to a chat/channel? I have been unable to trigger it via the adaptive card action AdaptiveSubmitAction until the card has been posted for other users to see.2.4KViews0likes3CommentsRe: How do I allow a user to trigger a task module from an adaptive card in the compose area?
Sayali-MSFT yes, while the card is in the compose area OR within the similar view from the command bar when you select it after doing the search. I have tried both with a Deeplink button & link as well as an AdaptiveSubmitAction from the C# AdaptiveCards sdk to trigger the action. Neither could be triggered until after the user posted the card in a chat/reply to the channel which does not fit in with our intended use-case.2.5KViews0likes6CommentsHow 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?SolvedIs it possible to calculate a document hash from office.js
My team and I would like to get a hash (MD5/SHA whatever) of a document using Office.js in an Office add-in context. The idea is that if the user has a document on their local computer that matches a hash of a document on a server, the add-in is able to detect this and notify the user. We found Office.context.document.getFileAsync which has a CompresedFile option which seems to be supported by most platforms - if I hashed the bytes returned by this function would it be the same as hashing a file on disk, or is there some other transformation that occurs?497Views0likes0CommentsRe: Is it possible to use a button embedded within a thumbnail card to trigger another search?
Meghana-MSFT 1. I am using Search Extensions to provide the user with a search experience through the command bar and compose areas of teams. 2. I am currently in the exploration phase and am using the C# Microsoft.Bot.Schema library to create my thumbnail cards. Below is the C# that i am currently using to return search results. var previewcard = new ThumbnailCard { Title = result.Title.Raw, Text = result.Description.Raw, Subtitle = result.Source.Raw, Images = new List<CardImage> { new CardImage { Url = "https://<url>.ngrok.io/extensionDOCX_x256.png" } }, Buttons = new List<CardAction> { new CardAction( "openUrl", "WebDav Link", value: "<webdav url for document>") } } }; 3. I don't really have any repro steps as I was doing research and found documentation on the ListCard but noticed that it was unsupported for teams bots. I am vaguely aware that teams has some functionality for having bots trigger popup windows but i cannot find the documentation for that feature again.1.2KViews0likes1CommentIs it possible to use a button embedded within a thumbnail card to trigger another search?
I have a solution which aims to provide a search experience for a user that will also enable them to search for "related" items. I would like this to function where the user is presented a button in their search response to trigger a new search with different query parameter. Something like "relatedto: X". What would be the best method to use for this?1.3KViews0likes4CommentsRe: How do I get my teams bot to authenticate to a web service
Sayali-MSFT We managed to get our integration working by modifying our oath connection setting from api://<guid> to api://<guid>/access_as_user The only thing we are missing now is that our jwt token appears to be missing the email address associated with the user.3.1KViews0likes3CommentsHow do I get my teams bot to authenticate to a web service
I have a teams bot which I want to use as an interface for my service stack webservice however the token I have access to is not being accepted by the web service. I followed the "AAD SSO for tabs and message extension" tutorial to set up my Azure instance and get a basic bot up and running. When I modified the query handler to send a request to a web service with the token provided it is responding with a login page. This is the code that I added to the Simple Graph Client in a new method which passes in what the user types as query HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://<my website>/api/ws/v1/search?query=" + query); request.Headers.Add("Authorization", "Bearer " + _token); request.Method = "GET"; request.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate; using (System.Net.HttpWebResponse response = (HttpWebResponse)request.GetResponse()) using (Stream stream = response.GetResponseStream()) using (StreamReader reader = new StreamReader(stream)) { return reader.ReadToEnd(); } Do I need to make use of a shared certificate? or is there some additional configuration that I have missed which is necessary to make this situation work?3.3KViews0likes7Comments
Recent Blog Articles
No content to show