I have a microsoft teams app. I'm working on creating a deeplink in microsoft teams from a tab in the app that goes back to the chat and it doesn't seem to be working.
It seems even if I point it the chat, when using deep links, it hides the chat and defaults it the the "files" tab
https://teams.microsoft.com/l/entity/app-id/app goes to the app tab
https://teams.microsoft.com/l/entity/app-id/contact goes to the contact tab
https://teams.microsoft.com/l/entity/app-id/about goes to the about tab
but
https://teams.microsoft.com/l/entity/app-id/chat goes to the files tab and the chat tab disappears
We are also aware that there is a current issue where using a deeplink hides the chat link so this could be related.
Documentation I'm using: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links
Related
Update
There's a bug in teams-js which is causing getContext to return an empty string for subEntityId, a required field for deeplinking to an app within a channel within a team.
Original Question
I have a requirement to link from a Personal Tab app to a Channel Tab app. Is this possible? If so, how do you do it? I couldn't find any relevant info in the docs.
Detail
We have an app which runs in the Channel Tab and the Personal Tab. If you're viewing our app from your Personal Tab, you'll see a list of items which when clicked should navigate to our app in a Channel Tab associated with the clicked item. The channel could be under a different team, but it will be in the same organization, and you are already a member of that team and channel.
You can accomplish this via Deep Linking. See more at https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-application?tabs=teamsjs-v2#generate-a-deep-link-to-your-tab but specifically here is an example cited in that page:
Link to a configurable tab itself:
https://teams.microsoft.com/l/entity/fe4a8eba-2a31-4737-8e33-e5fae6fee194/tasklist123?webUrl=https://tasklist.example.com/123&label=Task List 123&context={"channelId": "19:cbe3683f25094106b826c9cada3afbe0#thread.skype"}
I'm doing a custom Power App (canvas) that is used inside Teams as a Tab in a channel. This app has some deeplinks to other channels inside teams (the link url is copied from within teams and are verified and works ok). I'm using the Launch() function to do these deeplink redirects. I get the desired behavior in the Desktop and Mobile version of Teams, but in the browser version whatever I try it always open up the link in a new tab. I would like it to open up in the same window and keep the navigation context for a smooth UX.
I've tried booth LaunchTarget.New and LaunchTarget.Replace. Also used booth 'https://' and 'msteams://' in the deeplink urls. I would expect that the LaunchTarget.Replace would have done what I wanted, but it doesn't work.
The only way I've seen links working as expected in all three versions of teams (Desktop, Mobile and Browser). Is if I manually insert a link inside a message in a 'Posts' tab or if I manually insert a link inside a Wiki. If I do the same in for example a OneNote document it doesn't work and open up in a new Tab. Its quite inconsistent behavior.
Any help, info or workaround is appropriated.
I'm working on a web browser app for mac. I was playing with the test app then I saw this option...
When I clicked on that, I saw this...
But there was no plus button. Is there any way I can show the plus button in the tab?
Please don't send me the link to the Apple documentation because it doesn't give the exact code.
BTW, this is not a document based app
This is an app developed by Apple Inc. You can download it. In this app, you can add tabs. So change the name of this app and you're all set
https://developer.apple.com/documentation/appkit/documents_data_and_pasteboard/developing_a_document-based_app
Wish you best of luck on making a web browser
Hi I'm writing a Facebook Messenger bot that has a few nice looking card actions - that end up taking up a large portion of the chat window. The problem is that the soft keyboard on phones such as iPhone and Android still displays, constraining the visible area of the chat to an even smaller window, obscuring the card.
Is there a way I can send some sort of specific JSON down in my bot messages to indicate to FB Messenger that the keyboard should be hidden until the user clicks back into the message entry area?
Thanks.
One option could be is using the Persist Menu feature and set the composer_input_disabled property to true.
From the docs:
Disables the Messenger composer field if set to true. This means your
bot can only be interacted with via the persistent menu, postbacks,
buttons, and webviews.
Some useful links:
Microsoft Bot Framework .NET - Add a persistent menu to your Facebook Messenger chatbot
Adding Menu and Buttons to your messenger bot
Add Persistent Menu and Buttons to your messenger bot
As Ezequiel pointed out. You can use the persistent menu feature for Facebook Messenger. If you are using the .NET SDK check out the sample I created:
https://github.com/FranciscoPonceGomez/Persistent-Menu-Facebook
I am working on a Chatbot using MicroSoft Bot Framework and planning to Embed the same with my website as WebChat.
We have used CardActions as attachment. These were getting displayed properly in Bot Emulator, but not looking proper(please see example buttons below) in WebChat window.
(Button Text 1) Button Value 1
(Button Text 2) Button Value 2
(Button Text 3) Button Value 3
Is this the expected behaviour? How can we have proper buttons in WebChat as in Facebook / Skype Bots
Buttons are not supported by the Web Chat channel at this moment. That is true not for cards only, but for prompts as well. I believe, the Bot Framework team has this feature in their backlog. Meanwhile, if this is critical for your project, please consider to implement your own web chat control using the Direct Line API.